Questions tagged [cassini]

The Cassini Web Server is an open-source lightweight web server distributed with ASP.NET as an example of an ASP.NET web server written in C#.

The Cassini Web Server is an open-source lightweight web server distributed with ASP.NET as an example of an ASP.NET web server written in C#.

Cassini is used in various ASP.NET projects such as ScrewTurn Wiki.

229 questions
13
votes
5 answers

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…
Jedidja
  • 15,384
  • 16
  • 71
  • 109
12
votes
6 answers

Where does the ASP.NET development server keep its logs?

I am trying to sort out a problem where some relative urls are not resolving properly in an ASP.NET website. I want to see the HTTP logs to determine which URLs are being requested from the web server. I am using the ASP.NET Development Server, not…
David
  • 1,840
  • 3
  • 17
  • 30
10
votes
1 answer

Difference between ClientCredentialType=Windows and =Ntlm

Can anyone give a clear explanation of the difference between using clientCredentialType=Windows, and clientCredentialType=Ntlm in a server-side Web.config when hosting a WCF service? I have a SOAP 1.1 (basicHttpBinding) service for interop…
Joe
  • 114,633
  • 27
  • 187
  • 321
10
votes
4 answers

Disabling Visual Studio Development Server - Any way to do this per project?

When debugging my website project I usually go to start options in the web project's properties and select 'Don't open a page' and 'Use custom server' with a url that's in my host file pointing to my local IIS. Even when I do this though visual…
BrooklynDev
  • 830
  • 2
  • 11
  • 25
10
votes
4 answers

Why does Visual Studio launch multiple WebDevs when I debug?

I have a Visual Studio 2008 solution with several projects in it - some of which are web applications / sites. Whenever I go "Debug > Start new instance" for a specific web application and VS launches the ASP.net Development Server…
urig
  • 13,659
  • 20
  • 88
  • 156
9
votes
1 answer

Cassini/WebServer.WebDev, NUnit and AppDomainUnloadedException

I am using Cassini/WebServer.WebDev to run some automated tests of a WebService using NUnit. I am not doing anything fancy, just public class WebService{ Microsoft.VisualStudio.WebHost.Server _server; public void Start(){ _server = new…
Rasmus Faber
  • 45,972
  • 20
  • 136
  • 184
9
votes
2 answers

How can I launch Cassini Web Server from a command line or batch file?

Is there anyways to launch Cassini web server from a command line? The exe appears to be in this path, C:\Program Files (x86)\Common Files\microsoft shared\DevServer\10.0 I try to use the suggested parameters but it doesn't seem to work. Does…
Hcabnettek
  • 11,896
  • 36
  • 120
  • 185
8
votes
2 answers

How to stop all cassini instances?

When I am running my application, It opens many instance of cassini. How can i stop all or some of the cassini instances quickly. I know to kill all the processes from task manager. Can it be done in some better and faster way?
Deviprasad Das
  • 3,868
  • 7
  • 31
  • 50
8
votes
2 answers

run Cassini from console

I debug my project from console with MsBuild.exe. After i compile project i want to start and test it, but i have problem that i can not start Cassini for testing project. Can i run Cassini from console?
senzacionale
  • 19,380
  • 63
  • 193
  • 304
7
votes
2 answers

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

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…
Slavo
  • 14,445
  • 10
  • 42
  • 59
7
votes
2 answers

Membership.ValidateUser always return false on IIS

Membership.ValidateUser methods works on development server both(iis express and cassini). But on my IIS (its publishing as an application on my development machine) It always return false. Even user is approved,not locked and username and password…
Davut Gürbüz
  • 4,462
  • 4
  • 38
  • 73
7
votes
2 answers

Starting .Net web service on the same port as the ASP.Net application

We have a simple Visual Studio solution containing 2 projects: A.) Simple ASP.Net website B.) RESTful web service hosted in another ASP.Net application We want to simply start the projects in Debug mode (F5) and have A consume data from B…
Germstorm
  • 9,269
  • 14
  • 61
  • 83
6
votes
3 answers

Is it possible to run classic asp on Cassini Webserver?

Is it possible to run classic asp on Cassini Webserver? I have a mixed website (classic asp and dotnet)...
andrecarlucci
  • 5,541
  • 4
  • 49
  • 56
6
votes
3 answers

IIS Express or Cassini

I'm a little confused about something. I am using Visual Studio 2010 and am a little unsure whether VS 2010 uses IIS Express or Cassini when running web applications. What is the difference? Thanks, Sachin
Sachin Kainth
  • 41,237
  • 78
  • 185
  • 289
6
votes
1 answer

RegEx.Match is much slower in IIS compared to Development Server (Cassini)?

While looking at the performance of an asp.net (webservice) application, we noticed that on IIS it is much slower (38 seconds) than on the Dev Server (18 seconds). Running the Performance profiler (in sampling mode) of Visual studio we noticed the…
Tjipke
  • 408
  • 3
  • 12
1
2
3
15 16