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

How do I speed up compilation of hundreds of user controls?

I'm developing on a site with a few hundred user controls. When debugging the web app (pressing F5 in Visual Studio 2008), it takes quite some time to compile it and start Cassini. I've noticed that every user control is compiled to a separate dll…
Jonas Lincoln
  • 9,567
  • 9
  • 35
  • 49
0
votes
2 answers

In process web-server for MVC2

I'm working on a project that requires an in process web server to run the web based UI. The best option I have come across is CassiniDev EDIT: did some tests and noticed that issue isn't synchronous way of processing requests, it has to do with…
kay.one
  • 7,622
  • 6
  • 55
  • 74
0
votes
1 answer

Amending Web Config for Test Fixtures

I'm using CassiniDevLib to host an MVC app for integration testing. In order to do it I need to amend some config settings on the web server so they match the integration testing environment, first one being the connection string so it points to the…
0
votes
1 answer

Development in IIS or Visual Studio internal webserver

Do you do local development/debugging with the internal webserver or a local iis install? I'm currently running the internal VS2010 webserver but it's so slow it hurts. I can see the page rendering in front of me...
Christian Wattengård
  • 5,543
  • 5
  • 30
  • 43
0
votes
3 answers

Monitoring traffic to Cassini on localhost

I'm experiencing some really odd timeout issues when running a ASP.NET 2.0 project on Cassini on localhost, and I don't have enough data to get a clue of what's going on. Is there a way to monitor localhost traffic to Cassini, either using some…
jevakallio
  • 35,324
  • 3
  • 105
  • 112
0
votes
1 answer

How to know the default server of my web site in asp.net?

I made a website in asp.net with .NET 4.5 framework. I was studying about the differences between ASP.NET Development server (named Cassini) and IIS server.From this question I found out that IIS server is better than Cassini (for my purpose) but I…
Ritwik
  • 521
  • 7
  • 17
0
votes
3 answers

Forcing loading of Asp.net development server with DEBUG for testing wcf service (nunit)?

can anyone help? I have a solution in vs 2010 which contains a WCF Service application and a class library which has a number of Nunit test. The nunit tests the service. Problem is that there is no Asp.net Development server running - is it possible…
mark smith
  • 20,637
  • 47
  • 135
  • 187
0
votes
1 answer

Cassini error regarding integrated pipeline mode

Error This operation requires IIS version 7.5 or higher running in integrated pipeline mode. This comes up anytime I try to access my WebApi page. The [HttpPost] decorated method is never hit. I understand Cassini does not allow integrated…
P.Brian.Mackey
  • 43,228
  • 68
  • 238
  • 348
0
votes
1 answer

ASP.NET Compiles on page load, but not on Ctrl+Shift+B

during debug in cassini the code runs fine, but when I explictly build it, the compile breaks on an object saying it can't find the reference. During a breakpoint shows the proper reference to the object, and I can view the debug intellisense. The…
Steve Syfuhs
  • 197
  • 2
  • 4
  • 12
0
votes
2 answers

ASP.NET 3.5 Web Application on media support (CD-ROM)

We have a fairly complex web application (.NET 3.5) that need to be launched from a CD-ROM (or DVD, or from an USB key). I'm thinking of using Cassini and SqlCe for the database (we use LinqToSql for data access, so I think it's the only choice…
Sebastien Lachance
  • 1,927
  • 2
  • 17
  • 24
0
votes
2 answers

What is wrong with my Basic Authentication in my Browser?

i'm trying to goto the following url :- http://user1:pass1@localhost:1234/api/users?format=xml nothing to complex. Notice how i've got the username/password in the url? this, i believe, is for basic authentication. When I do that, the Request…
Pure.Krome
  • 84,693
  • 113
  • 396
  • 647
0
votes
0 answers

IIS Express - set Virtual Directory

I'm just moving away from cassini (which I liked for various reasons) and am trying to replicate my setup in IIS Express. With cassini, I could set the virtual directory of the web app I'm, working on. For example.... when I pressed f5, the web app…
LawrenceF
  • 108
  • 9
0
votes
1 answer

Any tutorials about how to create an ASP.NET MVC 2 website and run it against Local IIS Web Server (not use Cassini)

does anyone have any good links/tutorials about how to create a simple ASP.NET MVC website, and have it run against a Local IIS7 Web Server, instead of the default Visual Studio Development Server (aka Cassini). Yes, i tried google, but i fail at…
Pure.Krome
  • 84,693
  • 113
  • 396
  • 647
0
votes
1 answer

Cassini vs IIS Authentication Issue

I have a C# webservice in .net 4.0. The webservice will create a file on a UNC path. If I let the Cassini web server in visual studio do the authentication it works fine. But if I change the application to use IIS (Windows 7) then the file…
Mike Mengell
  • 2,310
  • 2
  • 21
  • 35
0
votes
2 answers

Using Type.GetType() with unreferenced assembly with Cassini/Visual Studio Dev. Server

I've got some code var type = Type.GetType("namespace, assembly"); return Activator.CreateInstance(type); thats works fine in most situations, however when this code is referenced in the Global.asax of a website that is debugged using…
Martin MacPherson
  • 337
  • 1
  • 2
  • 10