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
4
votes
2 answers

Link to download Cassini source code?

Does any one know from where can I download source code for Cassini. I tried the link http://www.asp.net/Projects/Cassini/Download but this page does not exist now.
Kapil
  • 9,469
  • 10
  • 40
  • 53
4
votes
2 answers

Problems targeting a .NET 4 WCF service to be 64 bit

I’m having problems targeting a .NET 4 WCF service to be 64 bit. I take the following steps on a 64bit Vista OS: Create a new WCF Service project in Visual Studio 2010. Change the Platform target to x64. After doing this my WCF service will no…
Rob Henry
  • 43
  • 1
  • 4
4
votes
1 answer

Why would Application_Init fire twice when starting debugging in VS2008/Casini?

Why would Application_Init fire twice when starting debugging in VS2008/Casini? Yeah, It's happening in global.asax. Seems fairly random though, only happens once in a while.
UpTheCreek
  • 31,444
  • 34
  • 152
  • 221
4
votes
1 answer

Debugging: How to debug "Type is not marked as serializable" exception when the type IS marked as serializable

I'm trying to: ((Request.Params["crmid"] != null)) in a web page. But it keeps throwing a serialization exception: Type 'QC.Security.SL.SiteUser' in assembly 'QC.Security, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null' is not marked…
rism
  • 11,932
  • 16
  • 76
  • 116
4
votes
2 answers

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) …
Herb Caudill
  • 50,043
  • 39
  • 124
  • 173
4
votes
5 answers

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…
Aaron Daniels
  • 9,563
  • 6
  • 45
  • 58
4
votes
3 answers

Why do VS2008 spawn one Cassini for each web-site/application when going into debug mode?

I have quite a big solution here with a lot of different web applications and sites, around 10-15 of them. When I attach VS2008 to any process (most likely Nunit.exe or something similar) I get one Cassini process per website/application in the…
kitofr
4
votes
2 answers

Is ultidev cassini good for hosting ASP .NET 2.0 (Ajax 1.0) based web app (intranet)

The server needs to be installed on Windows XP and has to host an ASP .NET 2.0 + ASP .NET AJAX 1.0 based web application. What is the simultaneous connection limit? (as opposed to 40 in IIS on XP) Are there any other limitations/short-comings that I…
Sameet
  • 2,191
  • 7
  • 28
  • 55
3
votes
1 answer

How to use ApplicationManager to load an object with out GAC'ing it?

I'm trying to use the Cassini webserver to create a deployment test host- a sort of embedded web server to isolate web server config issues from app deployment issues. Okay, so this line of code blows up until I put Cassini in the GAC: // physical…
MatthewMartin
  • 32,326
  • 33
  • 105
  • 164
3
votes
4 answers

Why does Application_Start run in Cassini but not in IIS7?

I have an ASP.NET 3.5 sp1 app that's in development in Cassini. The app includes a global.asax file that should run some code - it works fine in Cassini but in IIS the debugger never hits the function. Why doesn't that code run?
James Cadd
  • 12,136
  • 30
  • 85
  • 134
3
votes
2 answers

Gzip compression in Cassini in Visual Studio 2008/2010

Is is possible to turn on gzip compression in Cassini server under VS 2008/2010?
mgamer
  • 13,580
  • 25
  • 87
  • 145
3
votes
2 answers

Access WCF Service from another pc

I've spend hours and hours on this and simply can't get it to work. Maybe my understanding of hosting WCF service and creating a client for it isn't correct. My website has a WCF Service added to it, with the following…
FaNIX
  • 1,888
  • 6
  • 33
  • 60
3
votes
4 answers

Authentication dialog when running with Visual Studio web server

When using Visual Studio's built in web server, every time I make a page request the standard login box pops up and asks for credentials. It doesn't work if I actually put in my credentials, so I just have to hit cancel 5 times so it will go…
Max Schmeling
  • 12,363
  • 14
  • 66
  • 109
3
votes
2 answers

Configuring 'Cassini' (ASP.NET Development server) for CAC cards for testing - How?

I'm developing a new website (ASP.Net, VB codebehind pages, .Net 3.5) to replace a "Classic ASP" site. Some of the pages are 'public' and the rest require authentication - in this case it's done by reading DoD-issued CAC cards through the…
David
  • 892
  • 4
  • 16
  • 41
3
votes
1 answer

ASP.NET Development Server - is the source available?

I remember several years back it was called Cassini and the source was available for download. Is this no longer the case? Either my Google skills are lacking or I can't seem to find the source code for it anywhere.
AngryHacker
  • 59,598
  • 102
  • 325
  • 594