cassini

stop development server when i stop debugging

how can i stop (automatically) development server when i stop debugging in visual studio? ...

MVC App Works in Visual Studio, but not IIS7

Working on a an ASP.NET MVC Project, and I'm having some difficulties deploying to a shared dev server. Locally, when debugging using the local Visual Studio 2008 server, everything works peachy. However, once deployed, I receive the following error: Parser Error Description: An error occurred during the parsing of a resource requi...

Visual Studio Development Server not updating css and javascript?

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....

Visual Studio Debugging is not attaching to WebDev.WebServer.EXE

I have a solution with many projects. On Debug, I have three web projects that I want to start up on their own Cassini ASP.NET Web Development servers. In the Solution Properties - Common Properties - Startup Project, I have Multiple startup projects chosen with the three web applications' Action set to Start. All three web development s...

Development web server fires Application_Error on 404, why doesn't IIS7?

I'm using Application_Error to catch some legacy URLs and URL shortcuts. In Global.vb I have this code: Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs) Dim serverError = TryCast(Server.GetLastError(), HttpException) If serverError IsNot Nothing Then Dim errorCode As Integer = serverErr...

page is not served because it has been explicitly forbidden - extension .asp may be incorrect

I'm trying to run a test version of a web using the File System (i.e. the "Cassini" web server built-in to Visual Studio 2005) rather than HTTP://localhost (IIS 5.1 on my Win XP dev PC). This web is a hodge-podge of classic ASP files written years ago and some new development in ASP.NET (VB.NET). How can I get past this error message a...

Outside connections to asp.net development webserver

Is there any way to access my asp.net dev server (launched from visual studio) from an outside connection? It seems to be filtered to only allow localhost ...

How can a page in IE render differently between Cassini and IIS7?

I am completely confused - I have a website that renders perfectly in IE8 when run through Cassini (in Visual Studio) but has several messed up elements (style/look) when deployed to localhost and viewed through the same browser (IE8). I have run Beyond Compare 3 on the html and CSS files and they are exactly the same. Are there any cir...

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

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: [ArgumentOutOfR...

Why is performance is slow when 2010 Cassini serves static files?

When running a site in debug mode on 2010 I get incredible slow performance when cassini serves static files. According to Firebug it takes about 1 seconds for each request to resolve on 20 2kb images. I haven't changed any settings, just have done a straight up install followed by converting a couple of projects. Rebooted the comp...

Cassini with Windows 7 XP Mode

Is there a way to access the Cassini local web server from Windows 7's XP mode? I'm developing on the Windows 7 host machine using Cassini, but would like to test in IE6 running inside the Windows XP guest. ...

ASP.NET web application working incorrectly in IIS 7 (Windows Server 2008)

I have an ASP.NET web application that is not working correctly once deployed to IIS 7 on a Windows server 2008 box. The particular page is using an update panel and hides/shows drop down lists based off of a selection in a drop down list. The page is working perfectly locally using Cassini (the local webserver used by Visual Studio 20...

Using Elmah with Cassini

Does anyone know if I can use Elmah with Visual Studio build-in web server(aka Cassini)? I get it working easily on IIS, but using same configuration, it doesn't work with Cassini. When I requested the log page via http://localhost:62364/elmah.axd, I had "The resource cannot be found." ...

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

Hello, 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...

How can I use integrated Windows Authentication when debugging locally with Visual Studio

I'm using RESTful WCF services to serve data to a client. The application hosting the services requires integrated Windows Authentication on the server, making testing locally in Cassini quite difficult. I use the following behavior configuration for my service, which works great when deployed to IIS with Integrated Security turned on. ...

How can I get Visual Studio Web Development Server (Cassini) to send the domain name of the request to the web application?

We're developing an application that is sensitive to the domain name of the request. The problem we're running into is that we have to use IIS in order to test the application because Cassini will only send "localhost" as the requested domain despite using a different domain in the address bar. While IIS does give us better performance t...

How to host my webpage in the LAN Network

Using ASP.Net Am New to website development Currently am developing a web pages, when i run the program, the output was displaying in this address "http://localhost:1127/WebSite1/" I want to host this site in my server (LAN Network), For Example, My web page address is webpage1.com In the LAN Network, In another computer when i g...

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

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\Sof...

Cassini much slower than IIS for MVC RenderPartial

I have an MVC view with a partial view recursive call that displays hierarchical data. The complete tree typically includes in the order of 500 or so items. The data is all included in the model, and the model's a trivial record class - nothing in it except auto-properties. In IIS this works fine. However in Cassini/WebDev (Visual S...

How do I use Fiddler to listen to the asp.net development server (i.e. cassini)?

I am attempting to debug a (RESTful) WCF app using Fiddler. I run my project via VS IDE - which launches my app in the ASP.NET Development Server aka Cassini. I then launch Fiddler and in the Request Builder tab enter the following: "http://localhost:1066/GeneralService/sections/summary" with GET as the http method. Fiddler respon...