Web Application Hosting in Local Environment

Run Visual Studio in Administrator mode.



Here go to the Solution Explorer, right click on the Project and then Select Properties; here we can see the web list by default;  select IIS express.



Change IIS Express (Store in Project File) to local IIS then click create virtual directory then click save button



Now go to IIS Manager check ModelFirstExp web application.



Then go to Windows firewall setting click turn off Windows firewall then click ok.





Now we can access ModelFirstExp web application on mobile device and other devices but we are connected in the same network like (Wi-Fi).

Here url is http://192.168.2.4/ModelFirestExp/depts/Create 192.168.2.4 It is the hosted system IP address, and here we can put the hosted system name also,  but a better one is the IP address.



Then check PC browser.