Iis site loading is too slow when debugging with visual studio 2008

I am debugging an asp.net site in visual studio 2008. When I visit a website through a browser (with normal http: // localhost: 56789 ), the pages load too slowly. It almost looks like there is one socket / connection, loading all the necessary pages / scripts, etc. Sequentially.

If I publish the same site in a local folder and access it through regular IIS (Windows 7 / IIS 7.5), the pages load very quickly (as expected).

Is there a way to speed up page loading during debugging. Is there any parameter I need to change in visual studio?

0
source share
2 answers

Not sure if this is the problem, but open your HOST file ( C:\Windows\System32\drivers\etc ) in a text editor. Then add # before ::1 localhost . Save it and see if it speeds it up.

+1
source

I would debug regular IIS if Cassini is slow.

Just go to tools-> attach to process and join the IIS process.

+1
source

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


All Articles