Using IIS Express 7.5 in VS.NET

A Visual Studio 2010 Service Pack (which at the time of writing this beta version of its proposed), a new option to right click menu on project name in the name of VS.NET Use IIS Express, has added up could be easily This new option can be used (or in other words is integrated with IIS Express and requires no special regulation).
In other states (and copies, and that there will be no integration) can be acted as follows:
First method:
Following command on the command line Enter:
“C:\Program Files\IIS Express\iisexpress.exe” /path:D:\Projects\Test\MySiteTest\ /port:4986 /clr:v4.0

The case for providing accessible web server path mentioned site on port 4986(http://localhost:4986/) based on NET 4 will be established (for example for three and a half NET v3.5 Enter amount .)
Second method:
which in fact provide the first method behind the scenes it is temporary.
A) The first path My Documents \ IISExpress \ config file referred applicationhost.config open. Then tie the findings related to the site (about 153 rows) and select delete serverAutoStart:
<site name="WebSite1" id="1">
              <application path="/">
                  <virtualDirectory path="/" physicalPath="%IIS_SITES_HOME%\WebSite1" />
                  <binding protocol="http" bindingInformation=":8080:localhost" />

B) setting the desired site to manually add the file. For example:

<site name="WebSite2" id="2">
              <application path="/" applicationPool="Clr4IntegratedAppPool">
                  <virtualDirectory path="/" physicalPath="D:\Projects\Test\MySiteTest" />
                  <binding protocol="http" bindingInformation=":Test:localhost" />

Leave a Reply

Your email address will not be published. Required fields are marked *