Skip to main content
Email Password   helpLost your password?

Introduction

I was reading an article about future software like web applications, and then I thought how to run a web application in client without internet connection and no Server component installation.

If you see all ASP.net Applications there are very user-friendly and you can use Ajax in asp.net applications and more components. On the other hand it was shown in a research many people were interested applications like internet forms and web browsers applications.

User-friendly rules forced you to flow users with all ideas and interests, if you would like your software be lovely.

I was thinking about above subject when I saw the Microsoft Visual Studio 2005 and its solution to run asp.net without IIS. Microsoft has an API for this work although this API is not published by .NET 2.0 but it's free because when you download free Web Developer Express from Microsoft site; setup of this program install this API. Called "WebDev.WebHost"

(If you have "Web Developer Express" Or "Microsoft Visual Studio 2005" you can find this API from %system root%\assembly\GAC_32\WebDev.WebHost\8.0.0.0__b03f5f7f11d50a3a\WebDev.WebHost. dll)

Using of WebDev.WebHost. dll

Use of this API is simple

  1. You must add this dll to your references project
  2. Add Microsoft.VisualStudio.WebHost to your namespaces
  3. Now Create an Instance of Server :
  4. Server s =new Server(port, virtual_path, physical_path);
  5. Your IIS install !! now you only must start your server
  6. s.Start(); 
  7. Or Stop your Server
  8. s.Stop();
  9. If you need Url of your server check this property
  10. linkLabel1.Text = s.RootUrl;

Really Use

Well, now maybe you ask this question that what its use ?

Really not Use

Well, so far we learned that how to use this API, now we are going to tell you that when you don’t use it

New idea and future

In the next years you don’t have any client application on your system for example you can see Office Live in Microsoft site , this solution solves any problem of copyright , support ,Up-Date, user-friendly , usability and so on.

But when I see these years and fast progress of hardware's cant find the answer of this question : " Although I'll have a Core2Quad or better CPU , more than 6 gigabyte RAM installed , more than 500 gigabyte hard disk drive , blue ray disk drive or better and windows vista or better ,but I don’t have any program on my system. what should I do?".

You must Sign In to use this message board.
 
 
Per page   
 FirstPrevNext
AnswerTip to run without Visual studio Pin
mohsen ahmadian
19:22 8 Sep '09  
Generaldoes not work without Visual studio Pin
leoadell
6:05 16 Jan '09  
GeneralRe: does not work without Visual studio Pin
vik13ner
19:06 13 Apr '09  
GeneralRe: does not work without Visual studio Pin
findmeausername
17:33 8 Sep '09  
Generalthank You Pin
Member 3596439
11:56 8 Apr '08  
GeneralJust get the Cassini source Pin
cwilliam
20:13 26 Feb '08  
QuestionNo IIS licensing? Pin
jimatjude
16:19 26 Feb '08  
AnswerRe: No IIS licensing? Pin
mohsen ahmadian
9:57 27 Feb '08  


Last Updated 26 Feb 2008 | Advertise | Privacy | Terms of Use | Copyright © CodeProject, 1999-2009