ASP.net development server must be restarted every time

I have a problem with my ASP.NET development server. I need to stop before I launch the application from VS Express, otherwise it will use the previously displayed version.

I searched for solutions all over, for 3-4 months, but nothing, maybe I'm using the wrong words?

+1
source share
4 answers

Do you save your changes in Visual Studio? (just editing is not enough)

Perhaps your browser caches the page? Most browsers CTRL-F5will update to the browser cache.

+1
source

MSDN Microsoft KB http://support.microsoft.com/kb/911272

, HKLM\Software\Microsoft\ASP.NET\FCNMode , ASP.NET , "0", , :)

,

+1

, Cassini (- , Visual Studio) , , . , HttpModule App_Code, , Cassini . , web.config, . , .

Microsoft Connect; , "".

, IIS Cassini - IIS, , URL- http://localhost/ Cassini (, ), . , .

, .aspx, - ...

0

I had similar problems when I switched cars. Visual Studio 2012 was installed on both machines (the first had Windows 7 Ultimate 64, the second had Windows 7 Enterprise N 64). On the second, I always had to restart the Asp.Net development server, because the shadow assemblies in the Asp.Net temporary files folder were never updated after starting this page.

I solved the problem by explicitly setting the "fcnMode" parameter to the default value in Web.config:

<httpRuntime targetFramework="4.5" fcnMode="Default"/>
0
source

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


All Articles