Configuring IIS in localhost as a web development server

How to configure IIS 5.1 in Visual Studio 2008 as a web development server? I use Win XP and I used Cassini, but I want to provide a tray for IIS instead.

+6
asp.net-mvc iis
source share
4 answers
  • Go to Control Panel β†’ add uninstall programs β†’ enable / disable Windows functions, find IIS and install it.

  • Go to Start β†’ Accessories β†’ Administrative tools β†’ IIS Manager

  • Right-click websites, add a new website, point the home directory to the root of your website.

  • Open localhost

  • ????

  • Profit!

You may need to connect Visual Studio to the ASP.NET workflow for debugging.

+12
source share

This is on the web project properties pages in the section Web-> Servers β†’ "Use local IIS web server"

+8
source share

To connect Visual Studio to the ASP.NET workflow for debugging, go to the Tools \ Attach to Proccess menu or press CTRL + ALT + P and select aspnet_wp.exe or w3wp.exe.

More info here .

+1
source share

Design a website using Visual Developer 2008 using IIS instead of the ASP.NET Development Server. In a new website window, under Location, click Browse to see various server options, including IIS Server. The user can select the server as the IIS server instead of β€œFile System”, then the β€œLocation” option will be β€œHTTP” instead of β€œFile System”.

In Visual Developer 2008, under Properties-> Start Option-> Server β†’ "Use Local IIS Server" is not displayed, even though the IIS server was installed and configured successfully. the only options shown are "use default server" and "use custom server with base URL".

So, in Visual Developer 2008, to run on the IIS server (if IIS is installed), you must do the following:

New website β†’ In the list of locations Click Browse β†’ Click Local IIS, and then select IIS Virtual Directory (ITI vitual Directory, which is the directory that the user created when configuring the IIS server) β†’ Open

When starting / debugging the server that you selected when creating the website, the same server will be used to open the website, that is, when creating the website, if you selected "IIS Server", then the website will open, although IIS server.

One more thing when installing Visual Developer 2008 and the IIS server. If you installed the IIS server after installing Visual Studio, you need to do the following before creating a new website:

Run β†’ cmd press enter (then type the following command) β†’ C: \ WINDOWS \ Microsoft.NET \ Framework \ Version # aspnet_regiis -i press Enter, after which you will receive a message after 3 seconds. "ASP.net has been successfully installed." (* Version # will be in most cases v2.0.50727)

Before anything, make sure you install and configure the IIS server. To learn how to install and configure the IIS server, check the following link: http://chalaki.com/install-iis6-windows-xp-professional-sp3-setup-run-csharp-cgi/425/

Hope this helps.

+1
source share

All Articles