Gokul's Blog

Running Cassini /web dev server 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.

Edit Updated Batch File Code:

set appPort=8009
set appPath=E:\Blogengine\BlogEngine.Web

start C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\WebDev.WebServer.EXE /path:%appPath% /port:%appPort%
start iexplore http://localhost:%appPort%/


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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s