Search code examples
asp.netasp.net-mvcvisual-studiocassini

How to speed up Visual Studio Webserver (Cassini)?


for my webapp the integrated Visual Studio Server (Cassini) ist much slower than IIS. How can I speed up Cassini so that i dont have to wait for 3s for every small page?


Solution

  • Are you seeing this on a Web Application Project or a Website Project?

    If it's a Website, then the issue just may be that the Development Server needs to compile each page the first time it's executed. Are subsequent requests of the same page faster?

    If it's a Web Application Project then Visual Studio compiles it all before the Development Server runs it. In this case, are you sure it's the Development Server? Is there the same delay for EVERY page in the application?

    Also, Are you sure it isn't disk or database latency?