posts - 234, comments - 480, trackbacks - 56

My Links

News




I am born in Bangladesh and currently live in Melbourne, Australia. I am a co-founder and core developer of Pageflakes www.pageflakes.com and CEO at Simplexhub, a highly experienced software development company based in Melbourne Australia and Dhaka, Bangladesh. Simplexhub, is on its mission to build a smart virtual community in Bangladesh and recently launched beta realestatebazaar.com.bd an ASP.NET MVC application written in C#.NET.

I also created SmartCodeGenerator

Some of my articles
Flexible and Plugin based .Net Application..
Mass Emailing Functionality with C#, .NET 2.0, and Microsoft® SQL Server 2005 Service Broker'
Write your own Code Generator or Template Engine in .NET
Smart Code Generator .NET: Usage Overview
Smart Code Generator .NET: Architectural Overview
Smart Code Generator .NET: using with NAnt and Cassini

Archives

Free Programming Language Training

Running SmartCodeGenerator Projects with Cassini

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/

Print | posted on Wednesday, March 14, 2007 2:32 PM |

Feedback

No comments posted yet.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: