cassini

Cassini exception unhandeld

I am getting an exception thrown by the ASP.NET Development Web Server "Type is not resolved for member 'Model.AppIdentity,Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'" It works fine in IIS6. Any ideas? ...

hosting asp.net pages within the app

The goal is to generate some html reports and html emails using templates hosted within the app perhaps using cassini so the report files will be saved in app_home\Report\Templates*.MyReport file The app would allow a report (.aspx) page to be selected, loads it using cassini/asp.net hosting api processing some custom markup to popul...

How can I get Cassini web hosting framework to work without adding it to GAC?

I am trying to use Cassini (from http://www.asp.net/Downloads/archived/cassini/) to host my old style asp.net web service in-process, ideally in a WCF style. However, when I run it, I get an exception that the Cassini.dll could not be found. The Readme.txt that comes with it says to add it to the GAC, but the whole point of using an inpr...

How can I have web services implement in an assembly that is a console application using Cassini?

I am trying to use Cassini to host my ashx webservices. It works fine if I have the services in one assembly (class library), and the cassini server in the other (console application). Howver, when I move all the ashx files and implementations to the console application, I get the following error while trying to access the web service: ...

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

Cassini service keeps crashing

I'm running XP home which doesn't support IIS. Therefore i'm running Cassini. It usually works well. How ever i've notice in the last 2 weeks it crashes. I'm guessing there is some conflict. Perhaps something i've installed recently tho i can't work out what. How can i work what is conflicting, also i've read about running it on a di...

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 '/' Application. HTTP Error 403 - Forbidden. Version Information: Cassini Web Server 1.0.40305....

Prevent MS Web Development Server (Cassini) from running HttpModules for static content requests

IIS7 supports this by using <system.webServer> configuration element to set module's preCondition="managedHandler" attribute. Since Cassini is a managed server it serves requests in a similar way as IIS7 does. All requests are handled by managed code. By similar I mean it executes HttpModules for every single request even if it's static...

UltiDev Cassini and <system.webServer> web.config settings

MS Cassini Development Web Server is a nice product that executes web requests in a similar way that IIS7 does. Every request (event for static content) goes through the same .Net pipeline without exception. All custom HttpModule can handle any request. But sometimes you don't want these modules to execute for certain content (most ofte...

Why does cassini start when I run a unittest in VS2008?

I'm trying to test a class (a controller) that doesn't need to run inside the asp.net environment. But when I run the test, cassini starts. How can I avoid the cassini load? Thanks ...

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\<version>\Temporary ASP.NET Files\ Sometimes however it is overridden by the tempDirectory attribute on the compilation element in the web.config file. How can I get the temporary directory currently used by ASP.NET regardless if...

Cassini exceptions on medium trust ASP.NET MVC application using Linq-to-SQL

I am receiving the following exception trying to browse a medium trust ASP.NET MVC application (using Linq-to-SQL) on Cassini 3.5.0.2: Could not load file or assembly 'Cassini, Version=3.5.0.2, Culture=neutral, PublicKeyToken=da0fefd60d522a7d' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x...

ASP .NET 2.0 on Apache (Windows XP) ?

I am building an ASP .NET 2.0 web app for an intranet environment. The site may have to be hosted on an XP machine in the LAN. IIS would restrict the number of connections to 40. My requirements are different - the number of clients in the LAN could be much higher - say upto 1000 or maybe even more. The site is built using ASP .NET 2.0 ...

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 need to be aware of? ...

Template caching with a VirtualPathProvider

We have a VirtualPathProvider set up to allow two sites to share Template files (.ascx) when running on vs2008 Cassini web servers. (This is a hack to get around Casssini's lack on Virtual Paths and XP's IIS limit of one web site.) But, .net appears to be caching the templates when they are first loaded (TemplateControl.LoadTemplate) an...

SiteCore Xpress and Cassini

Hi all: Has anyone successfully set up SiteCore Express with Cassini? Thanks. ...

Cannot get StandardOutput for some process calls in cassini or unit test on win7 64

I am having trouble reading the output from a process when running several processes from .net. One example is the 'netsh' command. I am trying to read all scopes from a dhcp server. It is only failing in web applications and unit tests. In the below code the 'message' is an empty string. var arguments = @"-r myDhcpServer.myDomain dh...

Debugging Question - VS 2008 web services on Cassini

I'm testing a web service in Visual Studio, and stepping through using the debugger. Then I click stop debugging. This stops the debugging session, but the program continues to run like a runaway train. Is this a "bug" or a "feature" of Visual Studio 2008? If it's a feature, how can I tell Visual Studio to halt execution when I click...

Remote debugging web service hosted by Cassini

Is there any way to remote debug a web service on my local machine that is being hosted by Cassini? ie On my local machine I can browse to http:// localhost:1234/webservice, but I cannot go to another machine and access http:// ip_address_of_my_machine:1234/webservice. Is there a way? Thanks, Jon ...

VS 2008 debugger: How does it decide what Cassini port to run a web service under?

I have a VS 2008 solution that includes a web site and a web service. I'm developing both at once, and it's helpful to be able to debug from one into the other. It occasionally can't find the web service. If I look in the web.config, I find the port number it's looking at is not the port number it auto-runs the service in when I use the...