Is there a way to avoid iisexpress startup errors when loading a DLL every time I create an assembly?

I am using VS2010 and IIS Express. When I do the assembly, there are big delays while all the DLLs are loading. On my rather slow car, this is usually 3-4 minutes.

'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'Anonymously Hosted DynamicMethods Assembly' Microsoft.WindowsAzure.ServiceRuntime Verbose: 500 : Role instance status check starting Microsoft.WindowsAzure.ServiceRuntime Verbose: 502 : Role instance status check succeeded: Ready The thread '<No Name>' (0x1100) has exited with code 0 (0x0). Microsoft.WindowsAzure.ServiceRuntime Verbose: 500 : Role instance status check starting Microsoft.WindowsAzure.ServiceRuntime Verbose: 502 : Role instance status check succeeded: Ready The thread '<No Name>' (0xc18) has exited with code 0 (0x0). Microsoft.WindowsAzure.ServiceRuntime Verbose: 500 : Role instance status check starting Microsoft.WindowsAzure.ServiceRuntime Verbose: 502 : Role instance status check succeeded: Ready 'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration.Install\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.Install.dll' The thread '<No Name>' (0xdf0) has exited with code 0 (0x0). 'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Design\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Design.dll' 'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Build.Tasks.v4.0\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.Build.Tasks.v4.0.dll' 'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll' Microsoft.WindowsAzure.ServiceRuntime Verbose: 500 : Role instance status check starting Microsoft.WindowsAzure.ServiceRuntime Verbose: 502 : Role instance status check succeeded: Ready 'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing.Design\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.Design.dll' 'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Mobile\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll' Microsoft.WindowsAzure.ServiceRuntime Verbose: 500 : Role instance status check starting Microsoft.WindowsAzure.ServiceRuntime Verbose: 502 : Role instance status check succeeded: Ready 'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\977c2a31\7c0f0d28\App_Web_aohydr2s.dll', Symbols loaded. The thread '<No Name>' (0xe38) has exited with code 0 (0x0). 

Is there a way that I could preload them or leave IIS. Microsoft does not change from one week to another, but I need to monitor them for several minutes in the output window every time I make a small change to the MVC C # code and want to check the changes using build and deployment.

+6
source share
2 answers

There is a way to configure debugging on local IIS: Web project configuration

Just make sure you have the same radio buttons selected in your configuration. And you need to create a website in your IIS: IIS configuration

And add another line to the Hosts file:

 127.0.0.1 amv.local 

This way, every time you start debugging, you will not need to start a new page. And you won’t need to remember which port you assigned to your debugging site.

+1
source

You can try running IIS Express yourself and make it act like IIS. Therefore, configure it to run, and then in your web project, say that you are using IIS, but configure the settings that you configure IIS Express.

Now just keep in mind that you will have to run IIS express in the same directory in which you are developing so that you do not have to deploy each time to see your changes.

Check out this post: Configure IIS Express for External Access to VS2010 Project

0
source

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


All Articles