Using Cassini as your webserver

by john 10/14/2007 12:11:00 AM

I do most of my ASP.Net development using Cassini as my webserver. It looks to me as though the version that ships with Delphi 2007 is the dotnet 1.1 source recompiled which is located here

I recently discovered UltiDev Cassini, full information with a list of improvements can be found here

UltiDev is free and redistributable. You can also use it with  Delphi 2007, I configured it so that it runs from the tools menu.

 

If you now select UltiDev from the menu, your webapplication runs and an instance of Internet Explorer appears.

You are now able to use attach to process and continue working.

 
 

I also found Cassini Version 2

The release notes include the following:

  • Cassini v2 uses new ASP.NET v2 hosting APIs (System.Web.Hosting: ApplicationManager, IRegisteredObject, etc.).
  • Cassini v2 does HTTP listenning in the default app domain (unlike Cassini v1 that did it from worker app domains). This provides a more robust app domain unloading story.

The link includes an attachment that contains the source code. As long as you have the Microsoft dotnet  framework sdk v2.0 installed, you can find a SDK Command Prompt in program files. If you run that and go to the directory that you unzipped the Cassini source code to. You can now run build.bat which builds and installs Cassini v2 into the GAC.

Inside Delphi 2007 you can now go into options and change the location that the IDE is running Cassini from.

 

When you now run the debugger, the new version of Cassini is used and it appears to be business as usual.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Delphi | ASP.Net 2.0

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

1/7/2009 12:02:21 AM

Powered by BlogEngine.NET 1.3.0.0
Theme by Mads Kristensen

About the author

Name of author John Moshakis
I'm a software developer living in Toronto..

E-mail me Send mail

Calendar

<<  January 2009  >>
MoTuWeThFrSaSu
2930311234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar

Pages

    Recent comments

    Authors

    Tags

    Don't show

      Disclaimer

      The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

      © Copyright 2009

      Sign in