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 PMEs 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 PMLatet anguis in herba - A snake lies in the grass. (Vergil)
Homo vitae commodatus non donatus est - Man has been lent to life, not given. (Pubilius Syrus)
Farrago fatigans! - Thuffering thuccotash!
Docendo discitur - It is learned by teaching. (Seneca)
Praetio prudentia praestat - Prudence supplies a reward
Cotidiana vilescunt - Familiarity breeds contempt
An nescis, mi fili, quantilla sapientia mundus regatur? - Don't you know then, my son, how little wisdom rules the world?
No matter whether th' constitution follows th' flag or not, th' supreme
court follows th' iliction returns.
-- Mr. Dooley
lipitor
Vescere bracis meis - Eat my shorts
Sed quis custodiet ipsos custodes? - Who watches the watchmen? (Juvenal)
Osculare pultem meam! - Kiss my grits!
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)
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.
Epistula non erubescit - A letter doesn't blush. (Cicero)
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!
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
Hello. If you are owner of this site, delete this message, please.
bairontechnologiesforall
bairontechnologiesforall
http://www.bairontechnologiesforall.biz