Gokul's Blog

Running Cassini from command line

Leave a comment

I saw an web-application containing an exe once executed to run the website as a demo using the Cassini web-server.

 

So I played around a bit to figure out how to achieve the same using a batch file.

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\WebDev.WebServer.EXE /path:C:\My-Webapp\MyFolder /port:8001
start iexplore http://localhost:8001/
pause

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s