ASP.NET Development Server restart EVERY time

If I made changes to my ASP.NET project using VS2008 or VS2010, I must stop the ASP.NET development server and restart it (usually using "View in browser") to see the reflection of the changes.

I have the same problem as this guy: ASP.net server needs to restart every time

Except for me, his solution does not work: adding / changing the registry value HKLM\Software\Microsoft\ASP.NET\FCNModeto 0 or 2 does nothing that I can see.

Now for the crazy part - I just upgraded to VS2010, assuming all my problems are resolved. I migrated my project to .NET 4.0 and made my browser view just for the same behavior! 4.0 launches a completely different version of WebDev.WebServer, I thought this would solve my problem! No.

Then I read about IIS Developer Express , just released using WebMatrix, and I find how to load my website (command line) only for, you guessed it, the same problem, I have to kill the server and restart so that my changes are visible.

And the changes I'm talking about do not have to be code updates, they can be just a modification of HTML. The server does not recognize the changes and therefore does not serve me on a new page. CSS or JS files can be updated and viewed without rebooting.

I'm just looking for some ideas on what might be the problem. Thoughts, please !?

Workstation: Win7 64-bit, VS2008 and VS2010.

+3
source share
2 answers

So, the answer was with FCNMode, but on Windows 7 the 64-bit registry location is different, HKLM/Software/Wow6432Node/Microsoft/ASP.Net

I changed the setting FCNModefrom 1to 2and without rebooting I downloaded everything to the end.

ASP.NET ! http://forums.asp.net/p/1516728/4017980.aspx#4017980

+2

Cassini IIS 7. , IIS?

0

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


All Articles