Deploye asp.net without IIS

  • Thread starter Thread starter kids_pro
  • Start date Start date
K

kids_pro

Is it possible to deploy asp.net application without IIS?
I saw an application that could do that but I don't know how?

There is a lanuch.exe file when I double click on the file it create
localhost website with random free port.

http://localhost:<random_port>/app_name/default.aspx

Hmm that kool.
If anyone know the way please share.

Regards,
Kids
 
asp.net without IIS is not possible. Linux privides somekind of support
through 'mono' but thats in experimental stage and provides very minimal
features.
 
Actually, Cassini is able to run asp.net pages quite well.
Cassini is the internal server used by Web Matrix.

Its source code is at :

http://www.asp.net/Projects/Cassini/Download/Default.aspx?tabindex=0&tabid=1

You can modify it to suit your needs,
and deploy demo apps with it.

It's quite lighhtweight.

Visual Studio uses a highly-modified
version of it for its own internal server.



Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================
 
As much as I love Linux and Mono and XSP and Apache, the other responses that
I see to your question aren't related to what you are asking, which is can
you have a stand alone executable host ASP.NET applications

In ASP.NET 2.0, there is a managed layer to access HTTP.SYS, which is
included in Windows XP SP 2 and in Windows Server 2003.

The link to the MSDN article explaining how to do the work is:
http://msdn.microsoft.com/msdnmag/issues/04/12/ServiceStation/default.aspx

And the code is:
HttpListener listener = new HttpListener();
listener.Prefixes.Add("http://localhost:8081/foo/");
listener.Prefixes.Add("http://127.0.0.1:8081/foo/");
listener.Start();

As far as I know, there is no standardized way to do this in .NET 1.1 or
prior. This feature was backported from Windows 2003 as part of Windows XP
Service Pack 2, also, and so it isn't present on some XP machines (no service
pack) nor on any 2000 machines.

The IndyProject (http://www.indyproject.org/) also has a web server control
that is far lighter weight than Cassinni, but you will have to pop in some
glue. Indy is written in Delphi, and the exposed classes (which are common
to the Delphi and .NET versions) follow Delphi's conventions, which can take
getting used to if you've not worked with a Borland class library.

Indy includes a bunch of other useful controls -- SSH, FTP, NNTP, etc.
 
Back
Top