cassini

How to Download Cassini Webserver Source code?

∥☆過路亽.° 提交于 2020-02-03 11:10:30
问题 How to Download Cassini Webserver Source code? The MSDN says that it's available here: http://www.asp.net/Projects/Cassini/Download But this Link just redirects me to an useless Archive Website. There was also an similar question on stackoverflow, but it seem's that all answers are obsolete now because not a single link is working. 回答1: The latest public version available I know of was available here: Cassini for Framework 3.5 but the link is dead (all link pointing to Dmitry Robsman's blog

How to Download Cassini Webserver Source code?

拥有回忆 提交于 2020-02-03 11:10:07
问题 How to Download Cassini Webserver Source code? The MSDN says that it's available here: http://www.asp.net/Projects/Cassini/Download But this Link just redirects me to an useless Archive Website. There was also an similar question on stackoverflow, but it seem's that all answers are obsolete now because not a single link is working. 回答1: The latest public version available I know of was available here: Cassini for Framework 3.5 but the link is dead (all link pointing to Dmitry Robsman's blog

UltiDev Cassini and <system.webServer> web.config settings

南楼画角 提交于 2020-01-25 10:45:07
问题 MS Cassini Development Web Server is a nice product that executes web requests in a similar way that IIS7 does. Every request (event for static content) goes through the same .Net pipeline without exception. All custom HttpModule can handle any request. But sometimes you don't want these modules to execute for certain content (most often static content). In this regard, MS Cassini doesn't read/obey <system.webServer> web.config settings like IIS7 does. I'm particularly interested in these

When exactly does Application_End get called and how can I manually cause this?

馋奶兔 提交于 2019-12-30 18:47:09
问题 I know that the event handler for this event is called when the application pool is recycled by IIS, but when does that happen? What about if using the built-in Visual Studio server (Cassini)? If I kill the server process, would Application_End be fired? UPDATE: I know about web.config and BIN folder changes. I'm interested in the case of shutting down the pool after the application has been idle for a period of time without touching anything. 回答1: Like Nick said, "An application pool will

Exception when VS 2010 ASP.NET Development Server Serves Static Files

送分小仙女□ 提交于 2019-12-25 16:51:49
问题 I'm building an ASP.NET MVC 2 site with Visual Studio 2010 Beta 2. Out of nowhere none of my images or css started showing up. If I navigate directly to the resources in the browser I see this exception message: Specified argument was out of the range of valid values. Parameter name: utcDate Stack Trace: [ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: utcDate] System.Web.HttpCachePolicy.UtcSetLastModified(DateTime utcDate) +3038942 System

In which circumstances are suitable for Web Application or Web Site in Visual Studio?

这一生的挚爱 提交于 2019-12-24 09:53:53
问题 I have one project which has APP_CODE folder and runs with Windows Authentication . 1) I created Web Site and added the files of project but I couldn't run with windows authentication 2) Then I created web application project and check "Use Visual Studio Development Server". But now, I couldn't get access to the classes which are in App_Code folder. There is no choice to select Visual Studio Development Server when I use Web Site project! Questions: Why can't I add APP_CODE folder to the Web

Is there a way to read from Response Headers without getting a PlatformNotSupportedException?

别来无恙 提交于 2019-12-24 03:27:35
问题 I am working on an Filter Attribute for ASP.Net MVC that will return a 304 response when the content has not been modified. It would be handy to be able to read the Last-Modified header value set in the Controller in order to accomplish this... there just seems to be one problem. I can't seem to find a way to read the headers when executing code like the following on Cassini [Visual Studio 2008 Dev Web Server]... Response.AddHeader("Last-Modified", lastModified); string getLastModified =

Debugging ASP.NET on a built-in web server suddenly stops

送分小仙女□ 提交于 2019-12-24 00:49:47
问题 I have Windows Server 2008 (64-bit), VS 2008 with its built-in webserver and an ASP.NET MVC 1.0 webapp. All I'm trying to do is to debug said app. I have a bunch of breakpoints, but they behave in a very strange way. When I fist start a debugging session with F5 and hit a breakpoint, the debugger stops just fine. However, after several F10s/F11s debugging suddenly "stops" (no exceptions at that time), but neither VS detaches from browsers' process, nor webapp execution stops: Visual Studio