When you create a new web application project (WAP) by going to File --> New --> Project --> Web Application Project then the default Web server used is "Visual Studio Development Server" (fondly named as 'Cassini')...
Cassini does not require you to run as a local administrator on the dev box and hence is something which is preferred by a lot of enterprises. At the same time Cassini is not an exact representation of how your production web server will look like. As your production web server is typically an IIS Web Server, Visual Studio also allows you to use IIS as your development web server...
Although many operations related to IIS require you to be a local administrator of your box... If you would like to use IIS as your development web server than you need to make sure you are running Visual Studio in an administrator mode.
After you do so, you can right click on your WAP --> Click Properties and open the Property pages of the project. Now you can navigate to the "Web" tab of the property page and select "IIS Web Server" as shown below...
You can then click the "Create Virtual Directory" button and your IIS application + VDir will be created... Going forward when you debug or run the Web Application from Visual Studio then your application should use all of the IIS Settings that you configure using IIS Management Console (Start --> Run --> Inetmgr)...
Note: Do note that Visual Studio uses IIS Metabase Compatibility mode to actually access IIS functions so you need to go to Start --> Control Panel --> Programs & Features --> Add or Remove Windows Components / Turn Windows features on or off and make sure below features are enabled:
Hope this helps...
Update Contact :
No Wa/Telepon (puat) : 085267792168
No Wa/Telepon (fajar) : 085369237896
Email : Fajarudinsidik@gmail.com
No Wa/Telepon (puat) : 085267792168
No Wa/Telepon (fajar) : 085369237896
Email: Fajarudinsidik@gmail.com
atau Kirimkan Private messanger melalui email dengan klik tombol order dibawah ini :