Running ASP.NET within a Command-Line .exe (Outside of IIS)
page 3 of 3
by Scott Guthrie
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 44753/ 103
Article Contents:

Results

The results of compiling and running the source files (located here) are listed in the Command window screenshot below (forgive the long path to the folder):


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 3 and 6 and type the answer here:

User Comments

Title: Copy Exe To Bin or it crashes   
Name: Tim
Date: 3/20/2010 2:23:49 PM
Comment:
Hi, I had to copy the exe generated into a subdirectory called bin in order for this to work. Otherwise :
System.IO.FileNotFoundException: Could not load file or assembly 'MyHost.

Otherwise, excellent demo.

Here is another example using SimpleWorkerRequest:

http://weblogs.asp.net/mreynolds/archive/2003/10/03/30383.aspx
Title: Invalid URI error   
Name: Sparky
Date: 5/1/2007 9:21:07 PM
Comment:
Hi, I keep getting "Invalid URI" errors when I try your example on either WinXP or Win2000. I'm struggling to find any other examples similar to yours - can you please advise why I'm getting this error?

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2012 ASPAlliance.com  |  Page Processed at 5/25/2012 4:29:22 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search