Is it possible to run classic asp on Cassini Webserver?
Asked Answered
S

3

6

Is it possible to run classic asp on Cassini Webserver?

I have a mixed website (classic asp and dotnet)...

Spiegel answered 17/8, 2010 at 17:50 Comment(4)
Why do you want to use Cassini? I do all my web development through IIS regardless since it performs much better.Che
@Kirk, having to run Visual Studio is a pain, plus the faff of mapping a virtual directory to the project folder. It's just not as zero friction as using Cassini. Plus, I've never found a situation where I need "better performance" during development from my web server! =)Guttural
1) What do you mean "having to run Visual Studio is a pain"? What does IIS have to do with VS? 2) It takes about 10 seconds to set the site up in IIS. 3) In Cassini, I find refreshing web pages often takes on the order of a second or two, rather than the millisecond responses that IIS delivers. Call me impatient. :)Che
@Kirk, Ooops, typo from me - I meant having to run VS as Administrator (at least on Vista/Win7) to allow it to communicate with IIS; either way IISExpress makes the limitations of both Full IIS & Cassini disappear, which is a clear winner for me =)Guttural
G
7

No, you can't. Cassini only renders ASP.net pages.

Gales answered 17/8, 2010 at 19:10 Comment(0)
G
7

Have you considered IIS Express? It's similar to Sql Server Express user instances in that it can be run and used without requiring administrative privileges or changes to your code to cater for it. It's a "user mode" version of IIS, and thus fully supports Classic ASP which would help with your scenario.

It's not integrated into Visual Studio (in the same way Cassini is) yet, but there'll be a tooling patch to do that at some point.

Guttural answered 18/8, 2010 at 6:58 Comment(2)
@Kirk, There are a few things that don't work in Cassini (but do work in IIS) that can be worked around by using different techniques so they work in both, which makes it easier sometimes to code to Cassini's limitations. I can't remember what they are off the top of my head, but there are a few of themGuttural
Eduardo really answered my question, but I upvoted your answer thanks to the IIS Express tip :)Spiegel
D
1

Cassini is run from within Visual Studio. If you have a solution that contains both ASP.NET and ASP, it will continue to run on Cassini. But you can not run a pure classic ASP application this way.

Dimity answered 17/8, 2010 at 17:54 Comment(2)
Yeap, but classic asp pages do not render on cassini :(Spiegel
You can also run Cassini from the command prompt blog.krisvandermast.com/…Acescent

© 2022 - 2024 — McMap. All rights reserved.