Saturday, 7 November 2009

Speed up ASP.Net Development Server on Firefox

I have been doing a lot of work on ASP.Net development recently and one thing that annoyed me was how slow the ASP.Net Development Server was. I use Visual Studio 2008 and Firefox.

I always thought that the delay was due to the server itself, as I had no problems when the site is deployed to IIS, however I needed to test a CSS style in Internet Explorer and I noticed that it was just as fast as when deployed.

So, it was time to try and figure out what caused the delay! Long story short (and after a few hours of looking), I found the following.

In Firefox, type about:config into the title bar and then ipv6 in the filter. I was then left with just one option - network.dns.disableIPv6

By changing network.dns.disableIPv6 to true, it suddenly makes a world of difference - instead of a 3-5 second delay after any request, it (usually, script dependently) appears instantly!

I still don't think anyone is reading my Blog - don't blame you, one post every 15days-2 months at random, but hopefully this comes up on Google just in case anyone else has the same problem!

7 comments:

  1. Well, I read it, for one. Thanks for the tip, helped a lot. Keep up the good work!

    ReplyDelete
  2. I guess this did pop up in google and it helped.

    Thanks :)

    ReplyDelete
  3. Thanks for sharing your info. I really appreciate your efforts and I will be waiting for your further write ups thanks once again

    ReplyDelete
  4. A huge number of understudies all through the USA today have used government financing in some shape and not given it an apprehension. A hefty portion of these credits offer stipulation in regards to the installments and when you are required to begin paying your advances back. Payday Loans

    ReplyDelete