Virtual server for displaying an ASP.NET MVC web application

In a few weeks, I have to demonstrate the project I was working on, and for now, I have just used Visual Studio Express 2012 debugging with IIS Expess. A project is just an ASP.NET MVC web application that I get through an Android device through a web interface.

I'm just wondering if my laptop can be configured as a virtual server? At the demonstration, I will not have the Internet with which both laptop and android can connect.

Is there any other way to do this? Perhaps by pairing devices?

+4
source share
2 answers

You can configure your Windows 7 laptop as a WIFI access point.

right-click the Cmd.exe link and select Run as Administrator.

Now enter the following command:

netsh wlan set hostednetwork mode=allow ssid=MyNet key=MyPassword 

and press [Enter]. Replace “MyNet” with the name you want to use for your network, and “MyPassword” with a password that is a little more difficult to guess.

Still at the command prompt, type

 netsh wlan start hostednetwork 

and press [Enter] to start the virtual adapter.

Now click on "Control Panel"> "Network and Internet"> "Network and Sharing Center"> "Change adapter settings", right-click your Internet connection and select "Properties". Go to the "Sharing" tab, check the box "Allow other network users to connect ...", select your virtual Wi-Fi adapter - and this.

+1
source

You should be able to configure your Android device as a Wi-Fi hotspot and connect a laptop to it. There is built-in functionality in different places depending on the version of Android, or just go through the Play Store looking for a “Wi-Fi access point” and you should get out of there.

Pay attention to the IP address that your laptop receives, and you can connect to it through your Android browser as intended.

+1
source

Source: https://habr.com/ru/post/1482276/


All Articles