With Cassini SCG Projects can be distributed very easily. Cassini is a mini web server written with 100% managed code C#, moreover Cassini is free. Cassini requires as an operating system either Windows 2000 or Windows XP; furthermore, the .NET Framework must also be installed. I am not going into further details of Cassini here, for more information please visit the Cassini Forum. All we need to know is Cassini is an independent web server and has the capability of running Asp.Net application locally; as SCG is pure ASP.NET application we can take full advantage of Cassini. With Cassini installed, the end user do not require installation of Internet Information Server (IIS) or Visual Studio to run SCG Projects.
To run SCG Projects with Cassini mini web server
1. Download the latest build of Cassini from Microsoft's www.asp.net Web site.
2. Install Cassini using the instruction provided by the Cassini Team.
3. After Cassini is successfully installed point Cassini to your desired SCG Project Folder. To do this specify port, virtual and physical path for example
CassiniWebServer c:\temp\ExampleProject 1234
In this example the physical path of the SCG Project “c:\temp\ExampleProject” and port “1234” is specified.
If you have used the default Cassini installation path the CassiniWebServer.exe will be located in the “C:\Cassini” Folder.
Run Cassini pointing to the desired SCG Project folder.
c:\cassini\CassiniWebServer c:\temp\ExampleProject 1234
Here physical path c:\temp\ExampleProject and port 1234 has been specified.
This will bring the following screen showing Cassini Mini Web Server has successfully run with the desired SCG Project.
4. Browse the SCG Project using Internet Explorer. We loaded our SCG Project in port 1234 so we have to browse using http://localhost:1234/
