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

Is it possible to send an e-mail using the VS2010 development server?

Is it possible to send an e-mail using the VS2010 development server? If that's possible, can someone point me to a sample the web? I'd like to send an e-mail to the person who register so to keep a proof that we (yes or not) received his request.…
Richard77
  • 20,343
  • 46
  • 150
  • 252
3
votes
1 answer

ASP.NET Dev Server (Cassini), IIS Express and multiple threads

I can't seem to find any information on this anywhere. Either it's my imagination or the ASP.NET Dev Server (Cassini) cannot handle multiple threads (e.g. multiple requests). Is this correct? Does IIS Express handle multiple threads?
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
3
votes
2 answers

ASP.NET Development Server Restart EVERY Time

If I make a change in my ASP.NET project using VS2008 or VS2010, I must stop the ASP.NET development server and restart it (usually by "View in Browser") to see the change reflected. I'm having the exact same problem as this guy: ASP.net development…
scolja
  • 433
  • 4
  • 14
3
votes
2 answers

How does SimpleWorkerRequest associate MIME types with extensions?

I was serving html referencing svg files in Cassini, and having problems since the mime type was not being sent properly. I ended up writing my own port of Cassini that set the extension based on mime type. After a good night of sleep I realized…
Justin Dearing
  • 14,270
  • 22
  • 88
  • 161
3
votes
5 answers

"Data Execution Prevention" kills (VS2008) local ASP.Net Development Server (aka Cassini) on Vista 64

Occasionally, I find that while debugging an ASP.Net application (written in visual studio 2008, running on Vista 64-bit) the local ASP.Net development server (i.e. 'Cassini') stops responding. A message often comes up telling me that "Data…
Leon Bambrick
  • 26,009
  • 9
  • 51
  • 75
3
votes
2 answers

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…
Kevin Babcock
  • 10,187
  • 19
  • 69
  • 89
3
votes
2 answers

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,…
frostred
  • 31
  • 1
3
votes
1 answer

How can I download the Cassini webserver source code?

How can I download the Cassini webserver source code? MSDN says that it's available at http://www.asp.net/Projects/Cassini/Download. But this Link just redirects me to a useless archive website. There was also an similar question on Stack Overflow,…
DiableNoir
  • 644
  • 1
  • 8
  • 20
3
votes
5 answers

WCF MSMQ service from Visual Studio

I'm trying to setup a very simple WCF service using MSMQ. I am following the steps here. When I go to run my service and load the .svc file, I get the following error: The protocol 'net.msmq' is not supported. Here's the relevant part of my…
zimdanen
  • 5,508
  • 7
  • 44
  • 89
3
votes
2 answers

asp.net website (development) takes very long to load first time (C# / Visual Studio 2012)

I know this has been asked quite some time regarding production websites. However, I would like to know if there is anything that could possibly be done to speed up the initial load time of a website, during development. I've been timing it and it…
Karl Cassar
  • 6,043
  • 10
  • 47
  • 84
3
votes
1 answer

How to get the ASP.NET temporary directory programmatically?

The temporary directory that's used by ASP.NET is usually located under C:\Windows\Microsoft.NET\Framework\\Temporary ASP.NET Files\ Sometimes however it is overridden by the tempDirectory attribute on the compilation element in the…
James Couvares
  • 1,743
  • 1
  • 16
  • 15
3
votes
3 answers

How can I configure Cassini web server to accept requests to different hosts?

See duplicate: Customizing the cassini webserver I have a web service hosted using Cassini web server. It works fine if I reference it by localhost, but when I use my machine's name (even using the browser locally), I get: Server Error in '/'…
Grzenio
  • 35,875
  • 47
  • 158
  • 240
3
votes
5 answers

Customizing the cassini webserver

Currently the local webserver exectutes at http://localhost:51377 Is there any option of customizing the web server in order executing under http://192.168.1.2:51377 (where 192.168.1.2 is my static intranet ip address)
OrElse
  • 9,709
  • 39
  • 140
  • 253
3
votes
3 answers

ASP.NET application to serve multiple requests from a single process

I am currently debugging some issue about this. We have a ASP.NET web application and I am debugging on Cassini. When I tried to use IE and send out the request to the server, some time (e.g. in about 20minutes) is needed to process and then send…
ralphchan
  • 411
  • 5
  • 8
3
votes
2 answers

How to speed up Visual Studio Webserver (Cassini)?

for my webapp the integrated Visual Studio Server (Cassini) ist much slower than IIS. How can I speed up Cassini so that i dont have to wait for 3s for every small page?
usr
  • 168,620
  • 35
  • 240
  • 369