How can I launch Cassini Web Server from a command line or batch file?

Is there anyways to launch Cassini web server from a command line? The exe appears to be in this path, C:\Program Files (x86)\Common Files\microsoft shared\DevServer\10.0

I try to use the suggested parameters but it doesn't seem to work. Does anyone know of, or have a script that can accomplish this?

Thanks for any help or tips, Cheers, ~ck in San Diego

Answers


Example:

taskkill /F /IM WebDev.WebServer.exe

START /D “C:\Program Files\Common Files\microsoft shared\DevServer\9.0\” /B WebDev.WebServer.EXE /port:5002 /path:”d:\Projects\myproject\project.service” /vpath:”/Project.Service”

Check this out:

Starting Cassini manually


Consider also using UWS Pro. It's a free web server that's fairly advanced and can be started from the command line to debug ASP.NET applications from .NET 1.1 to 4.


Need Your Help

boost::archive::binary_(i/o)archive portability

c++ serialization boost binary-serialization

Is a boost binary archive "portable" from one Linux x86_64 machine to another Linux x86_64 machine?

SmtpClient.SendAsync Method (MailMessage, Object) doesn't function in a asynchronous way

c# sendasync

In MSDN it is explained that this method does not block the calling thread and allows the caller to pass an object to the method that is invoked when the operation completes.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.