Noviembre 03, 2003

Ejecutar ASP.NET sin IIS

Si, esto es posible, y no es muy complicado...

Y tiene sentido? Bueno, contando con todas las cosas buenas que están dentro de ASP.NET esto puede ser el principio de algo interesante


using System;
using System.IO;
using System.Web;
using System.Web.Hosting;

public class MyExeHost : MarshalByRefObject
{

public void ProcessRequest(String page)
{

HttpRuntime.ProcessRequest(new SimpleWorkerRequest(page, null, Console.Out));
}

public static void Main(String[] arguments)
{

MyExeHost host = (MyExeHost)ApplicationHost.CreateApplicationHost(typeof(MyExeHost),
"/foo", Directory.CurrentDirectory);

foreach (String page in arguments)
{

host.ProcessRequest(page);
}
}
}

Cóidgo de : http://www.aspalliance.com/articleViewer.aspx?aId=220&vId=1&pId=2

Posted by rido at Noviembre 3, 2003 09:28 PM
Comments

Es muy interesante, desde luego, personalmente yo no lo usaria ya que me gusta mas c#, pero permite a otros desarrolladores que estén especializados en ASP.NET, realizar aplicaciones de escritorio (o cualquier otro tipo de aplicaciones) sin necesidad de hacerlo con otro lenguaje diferente, partiendo de la base, que desde ASP.NET se puede acceder a todos los objetos que hay en el Framework (algo que creo que si es posible).

También es lógico que lo permita, ya que todo el código de cualquier lenguaje que se desarrolle sobre FramWork se traslada al lenguaje intermedio, pero nunca habia caido en la posibilidad de usar ASP.NET fuera del IIS.

Un post muy interesante :)

Posted by: Sixto on Noviembre 17, 2003 05:48 PM

Latet anguis in herba - A snake lies in the grass. (Vergil)

Posted by: prison rape on Julio 8, 2004 04:48 PM

Homo vitae commodatus non donatus est - Man has been lent to life, not given. (Pubilius Syrus)

Posted by: mature bangbus on Julio 10, 2004 11:39 PM

Farrago fatigans! - Thuffering thuccotash!

Posted by: forced sex pics on Julio 11, 2004 07:38 AM

Docendo discitur - It is learned by teaching. (Seneca)

Posted by: incest mom son stories on Julio 18, 2004 09:56 AM

Praetio prudentia praestat - Prudence supplies a reward

Posted by: plumper sex on Julio 28, 2004 03:16 AM

Cotidiana vilescunt - Familiarity breeds contempt

Posted by: free bdsm + wooden pony on Agosto 4, 2004 12:38 PM

An nescis, mi fili, quantilla sapientia mundus regatur? - Don't you know then, my son, how little wisdom rules the world?

Posted by: lesbian black pussy on Agosto 4, 2004 09:17 PM

No matter whether th' constitution follows th' flag or not, th' supreme
court follows th' iliction returns.
-- Mr. Dooley
lipitor

Posted by: lipitor on Agosto 5, 2004 07:21 AM

Vescere bracis meis - Eat my shorts

Posted by: beastiality dvds on Agosto 10, 2004 03:37 PM

Sed quis custodiet ipsos custodes? - Who watches the watchmen? (Juvenal)

Posted by: the growth of teen slasher movies on Agosto 11, 2004 04:57 AM

Osculare pultem meam! - Kiss my grits!

Posted by: bbs ladyboy on Agosto 27, 2004 07:37 AM

Ad praesens ova cras pullis sunt meliora - Eggs today are better than chickens tomorrow (a bird in the hand is worth two in the bush)

Posted by: massive dildo on Septiembre 12, 2004 04:19 AM

Brief History Of Linux (#3)
Lawyers Unite

Humanity faced a tremendous setback ca. 1100 A.D., when the first law
school was established in Bologna. Ironically, the free exchange of ideas
at the law school spurred the law students to invent new ways (patents,
trademarks, copyrights) to stifle the free exchange of ideas in other
industries.

If, at some point in the future, you happen upon a time machine, we here
at Humorix (and, indeed, the whole world) implore you to travel back to
1100, track down a law teacher called Irnerius, and prevent him from
founding his school using whatever means necessary. Your contribution to
humanity will truly make the world (in an alternate timeline) a better
place.
buy cialis Assembly language experience is [important] for the maturity
and understanding of how computers work that it provides.
-- D. Gries
cialis Brief History Of Linux (#3)
Lawyers Unite

Humanity faced a tremendous setback ca. 1100 A.D., when the first law
school was established in Bologna. Ironically, the free exchange of ideas
at the law school spurred the law students to invent new ways (patents,
trademarks, copyrights) to stifle the free exchange of ideas in other
industries.

If, at some point in the future, you happen upon a time machine, we here
at Humorix (and, indeed, the whole world) implore you to travel back to
1100, track down a law teacher called Irnerius, and prevent him from
founding his school using whatever means necessary. Your contribution to
humanity will truly make the world (in an alternate timeline) a better
place.

Posted by: buy cialis on Septiembre 29, 2004 07:28 PM

Epistula non erubescit - A letter doesn't blush. (Cicero)

Posted by: bikinis for teen girls on Octubre 11, 2004 11:32 PM

I'm wet! I'm wild!
buy cialis cheap cialisMost people are too busy to have time for anything important.
cialis cialis onlineI'm wet! I'm wild!

Posted by: cialis online on Octubre 19, 2004 03:49 AM

Spiritual leadership should remain spiritual leadership and the temporal
power should not become too important in any church.
- Eleanor Roosevelt
buy cialis order cialisSo many beautiful women and so little time.
-- John Barrymore
cialis cialis onlineSpiritual leadership should remain spiritual leadership and the temporal
power should not become too important in any church.
- Eleanor Roosevelt

Posted by: order cialis on Octubre 20, 2004 12:45 AM

Hello. If you are owner of this site, delete this message, please.

bairontechnologiesforall
bairontechnologiesforall
http://www.bairontechnologiesforall.biz

Posted by: Bairon Bancks on Octubre 21, 2004 08:39 AM
Post a comment