Is there a way to speed up the editing-compiling-debugging cycle in asp.net?

I have been programming in php for a while, and recently I started a new job when I am currently programming C # / asp.net.

Despite the fact that Asp has decent deployment performance, there is one thing that has been listening to me for the past few months. After any code change, it takes about 30 seconds to reload the page for testing.

I think he is doing a JIT compilation or something like that. But it can be REALLY frustrating, especially if I concentrate and want to test several incremental changes as quickly as possible, only to look at a blank page for 30 seconds.

Does anyone have any tips on speeding up this process?

+5
source share
6 answers

In Visual Studio 2005, each link added adds a .refresh file , which ensures that the link has not changed the last time, and if it brings a new version - if your links remain unchanged, you can simply delete it!
also see here for more tips for VS 2005

+2
source

I feel your pain.

Personnaly I like ASP.NET website projectbetter for development speed. I don’t know if you have such an opportunity, though ..

In visual studio, make a file-> new website.

, , . ( /)

+1

, , PHP. . , ..

. 1. . - VS IIS, , . , VS . , . 2. aspx . , .

- , , , VS . , , . . VS , . . , .

.

+1

, :

  • "User Visual Studio Development Server" "Local IIS Server" " /". .
  • , SQL- CLR, SQL-. , , , F5.

"F5 " 20 4.

+1

, , , , .. app_code .

? VS , - , 2GB, , .

0

Our website has a very long loading time due to actions that occur only at the application launch stage (when the ASP workflow begins). In particular, loading commonly used objects from the database into memory caused a significant delay. We found that using compilation characters to disable some features during debugging, such as the security role and user, helped a lot.

-1
source

All Articles