cassini

ASP.NET MVC on Cassini: How can I force the “content” directory to return 304s instead of 200s?

China☆狼群 提交于 2019-11-27 13:07:25
问题 Scenario : I have an ASP.NET MVC application developed in Visual Studio 2008. There is a root folder named "Content" that stores images and stylesheets. When I run locally (using Cassini) and browse my application, every resource from the "Content" directory is always downloaded. Using Firebug, I can verify that the web server returns an HTTP 200 ("ok"). Desired : I would like for Cassini to return HTTP 304 ("not modified") instead of 200. This is the behavior when running the site under IIS7

Which build of Cassini should I choose for production? There are 8 public builds from 5 different authors

ぐ巨炮叔叔 提交于 2019-11-27 07:03:59
问题 I found several versions of an IIS-free Cassini webserver built by Microsoft. I'd use it but I'm unsure of which one is best, since there are many forks/builds: the original dmitryr's v3 (with corresponding bug), v3.5, and v3.5.1, A VB-based fork by MPosseth Cassini++ Based on one of dmitryr's builds Cassini Dev by Sky Another version by zippy1981 UtiDev Cassini (not a direct Cassini port/fork but close enough) Hostable Web Core What web server do you recommend of the forks above; is Hostable

ASP.NET Development Server or Localhost IIS?

狂风中的少年 提交于 2019-11-27 04:20:46
问题 Currently our dev team set up all the websites they're working on in IIS on their local machine. We're thinking of switching to using the built in ASP.NET development server instead. Is this a good idea? What are the pros / cons of using the ASP.NET dev Server? Are there any gotchas we should be aware of? Thanks. NB: Running on Win XP / IIS 5 / VS2005 Edit: Didn't realise it was called Cassini.. More answers for Cassini v IIS here. 回答1: There is nothing that the ASP.NET Dev WebService can do

Visual Studio Development Server not updating css and javascript?

怎甘沉沦 提交于 2019-11-27 02:34:53
问题 I've recently returned to a web site project that has been on the backburner. Since recommencing work I've noticed css and javascript changes aren't being recognised by the application when it's running in Visual Studio Development Server. This previously worked fine. I could change stylesheets and javascript and run the app and test. Now the only way I can test the application is to publish it to my local IIS server (though I believe restarting my pc also fixes the problem). Using Visual

Is Visual Studio 2010 WebDev WebServer (Cassini) 64-bit compatible?

倖福魔咒の 提交于 2019-11-27 02:08:54
问题 I'm now developing on Visual Studio 2008 on a 64-bit OS (Windows Server 2008 64-bit). While the apps I write are 64-bit capable, as is IIS7, the built-in ASP.NET Development Server (aka Cassini aka WebDev.Webserver.exe) runs as 32-bit. This brings up a plethora of issues, such as: 32-bit and 64-bit applications have separate HKLM\Software registry homes There are 32-bit and 64-bit versions of the SQL Server Client Network Utility Other fun surprises I haven't discovered but I'm sure will

Android Emulator loopback to IIS Express does not work, but does work with Cassini

ぐ巨炮叔叔 提交于 2019-11-26 22:18:15
问题 I am attempting to post data from an Android application running in the Android Emulator on my local machine to a web application running under IIS Express also running on my local machine. Unfortunately, when I post to 10.0.2.2 from the emulator I receive a Host Not Found error message. If I configure the web application to run under ASP.NET Dev Server (Cassini) instead of IIS Express the Android application is able to post with no problems. What configuration am I missing for IIS Express

Automatically stop/restart ASP.NET Development Server on Build

牧云@^-^@ 提交于 2019-11-26 19:29:28
问题 Is there a way to automatically stop the ASP.NET Development Server (Cassini) whenever I do a build/rebuild in VS2008 (and then obviously have it start again when required)? Maybe there's some hidden configuration setting somewhere? Or at least some way to do it as a post-build event maybe? For some background, the issue is that I'm using Spring.NET for dependency injection, etc, but it loads its singletons on Application Start, meaning that if I change any spring related code/configuration I

What are the (dis)advantages of using Cassini instead of IIS?

陌路散爱 提交于 2019-11-26 16:13:34
I've found that on some occasions I can edit the source while debugging, are there any other advantages of using the Visual Studio built-in webserver instead of a virtual directory in IIS? I'm using windows XP on my development environment, and a local instance of IIS 5. I work on several projects, so I use multiple virtual directories to manage all the different sites. Are there any disadvantages? The built in web server for Visual Studio is called Cassini and here are a few of its limitations... It can host only one ASP.NET application per port. It does not support HTTPS. It does not support

What are the (dis)advantages of using Cassini instead of IIS?

不打扰是莪最后的温柔 提交于 2019-11-26 06:02:40
问题 I\'ve found that on some occasions I can edit the source while debugging, are there any other advantages of using the Visual Studio built-in webserver instead of a virtual directory in IIS? I\'m using windows XP on my development environment, and a local instance of IIS 5. I work on several projects, so I use multiple virtual directories to manage all the different sites. Are there any disadvantages? 回答1: The built in web server for Visual Studio is called Cassini and here are a few of its

Visual Studio debugging/loading very slow

試著忘記壹切 提交于 2019-11-26 02:26:41
I'm at wits end. Visual Studio is typically painfully slow to debug or just plain load ("start without debugging") my ASP.NET MVC sites. Not always: at first, the projects will load nice and fast, but once they load slow, they'll always load slow after that. I could be waiting 1-2 minutes or more. My setup: I'm using Visual Studio 2012 Express , currently, but I've had the same problem in Visual Studio 2010 Express as well. My solution is stored on a network drive; specifically, it's My Documents redirected to a network drive, if it matters. (It shouldn't. There are times where my site loads