4170

loading of iis website too slow while debugging from visual studio 2008

Question:

I'm debugging a asp.net website in visual studio 2008. When I visit the website through browser (at the usual <a href="http://localhost:56789" rel="nofollow">http://localhost:56789</a>), the pages load too slow. It looks almost as if there is a single socket/connection loading all the required pages/scripts etc sequentially.

If I publish the same website to a local folder and access it through the regular IIS (Windows 7/IIS 7.5), pages load really fast (as expected).

Is there a way to make the pages load faster during debugging. Is there any setting I need to modify in visual studio ?

Answer1:

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

Answer2:

I would debug through normal IIS if Cassini is slow.

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

Recommend

  • How to send an std::vector of unsigned char over an UDP socket using boost asio?
  • How to read data from socket connection - android
  • Cannot send user message with Spring Websocket
  • How to lookup value with multiple criteria in excel 2007 and newer
  • Reloading table causes flickering
  • Raphael.js function getBBox give back NAN/NAN/NAN in IE8
  • matching similar elements in between two lists
  • Is looping through all style sheets and classes a good idea in JavaScript?
  • Error in making a socket connection
  • python: forcing relative imports to search from script file
  • IE10 strips out hashtag from the URL
  • Create a link to a web page that runs a Javascript function on the page
  • Python 3.2.2, error(scripts to exe)
  • Find group of records that match multiple values
  • Best way to dynamically load an xml configuration file into a Flex4/Flash movie at runtime?
  • Check for zero lines output from command over SSH
  • nonblocking BIO_do_connect blocked when there is no internet connected
  • Does Mobilefirst provide a provision to access web services directly?
  • JQuery Internet Explorer and ajaxstop
  • Test if a set exists before trying to drop it
  • MailKit: The IMAP server replied to the 'EXAMINE' command with a 'BAD' response
  • Change Inet root folder for iis 7
  • Asynchronous UI Testing in Xcode With Swift
  • How to delay loading a property with linq to sql external mapping?
  • Paperclip, set path outside of rails root folder
  • Cannot connect to cassandra from Spark
  • Sails.js/waterline: Executing waterline queries in toJSON function of a model?
  • java.lang.NoClassDefFoundError: com.parse.Parse$Configuration$Builder on below Lollipop versions
  • Redux, normalised entities and lodash merge
  • Display Images one by one with next and previous functionality
  • Do create extension work in single-user mode in postgres?
  • Apache 2.4 - remove | delete | uninstall
  • Windows forms listbox.selecteditem displaying “System.Data.DataRowView” instead of actual value
  • Unit Testing MVC Web Application in Visual Studio and Problem with QTAgent
  • Proper folder structure for lots of source files
  • Codeigniter doesn't let me update entry, because some fields must be unique
  • Benchmarking RAM performance - UWP and C#
  • Load html files in TinyMce
  • Append folder name and increment by 1 using batch script
  • Does armcc optimizes non-volatile variables with -O0?