Closed Thread
Results 1 to 1 of 1

Thread: Cassini Web Server Stand-alone

  1. #1
    Wolfmaster Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy's Avatar
    Join Date
    Mar 2008
    Location
    Peoria, IL
    Posts
    2,386
    Blog Entries
    5
    Real Name
    Wolff
    Rep Power
    15

    Cassini Web Server Stand-alone

    If you have been doing web development using Visual Studio, then you are familiar with the Cassini Web Server that ships with the product. It's the application that runs the ASP.NET application on the developer's desktop when you click 'run' in the VS IDE. However, did you know that you can run the Cassini Server without starting VS -- which can be very handy for quickly trying some sample ASP.NET (or even classic ASP) code without the overhead of the VS development environment.

    To start a web application in the Cassini Server, enter the following on the command line (The VS Command Prompt works well):

    Code:
    WebDev.WebServer.exe /port:xxxx /path:physical_path mypage.aspx
    where:
       xxxx is an unused port number, such as 1234
       physical_path is the actual path to your web application 
       mypage.aspx is the start page of your application
    for example:
    WebDev.WebServer.exe /port:1234 /path:C:\dev\MyApp index.aspx
    
    This is exactly what Visual Studio does 'under the covers' when you run a Web application.
    Last edited by richyrich; May 6th, 2008 at 12:35 PM. Reason: Removed [SOLVED] from title

Closed Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO