Home All Groups Group Topic Archive Search About

ASP.NET vs Windows Forms for building client application

Author
19 Jul 2006 8:24 AM
JezB
I kind of understand the ASP.NET architecture in terms of building web pages
with embedded server controls, where the .aspx is run on the client and the
..aspx.cs runs on the server.

But what if I want to build an ASP.NET based application that is to be run
entirely on a client (all files hosted on the client and run on the same
client)? What would that client need to run it?

I want to write an application that can be run standalone on a PC (not
hosted on a web server and accessed from a PC), which uses web technology
like javascript and Ajax, while also being able to code the primary logic in
C#. I have the choice of a windows forms rich client application which uses
a WebBrowser control, or a native ASP.NET application. But I'm not sure the
latter is even feasible for being deployed and run standalone on a PC -
would it need IIS and .NET framework installed, and even more?

Author
19 Jul 2006 9:50 AM
Eliyahu Goldin
It is pretty feasible. You will need to have .net installed on the client,
which doesn't seem to be a problem. You don't need IIS if you package your
app with a redistributable version of Cassini.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]

Show quoteHide quote
"JezB" <j***@somewhere.com> wrote in message
news:%23hCMW0wqGHA.3908@TK2MSFTNGP05.phx.gbl...
>I kind of understand the ASP.NET architecture in terms of building web
>pages with embedded server controls, where the .aspx is run on the client
>and the .aspx.cs runs on the server.
>
> But what if I want to build an ASP.NET based application that is to be run
> entirely on a client (all files hosted on the client and run on the same
> client)? What would that client need to run it?
>
> I want to write an application that can be run standalone on a PC (not
> hosted on a web server and accessed from a PC), which uses web technology
> like javascript and Ajax, while also being able to code the primary logic
> in C#. I have the choice of a windows forms rich client application which
> uses a WebBrowser control, or a native ASP.NET application. But I'm not
> sure the latter is even feasible for being deployed and run standalone on
> a PC - would it need IIS and .NET framework installed, and even more?
>
Author
19 Jul 2006 9:00 AM
JezB
Cassini : looks good, I hadn't heard of that, but that could be what I'm
missing. Thanks.

Show quoteHide quote
"Eliyahu Goldin" <removemeegol***@monarchmed.com> wrote in message
news:uou5FCxqGHA.3648@TK2MSFTNGP03.phx.gbl...
> It is pretty feasible. You will need to have .net installed on the client,
> which doesn't seem to be a problem. You don't need IIS if you package your
> app with a redistributable version of Cassini.
>
> --
> Eliyahu Goldin,
> Software Developer & Consultant
> Microsoft MVP [ASP.NET]
>
> "JezB" <j***@somewhere.com> wrote in message
> news:%23hCMW0wqGHA.3908@TK2MSFTNGP05.phx.gbl...
>>I kind of understand the ASP.NET architecture in terms of building web
>>pages with embedded server controls, where the .aspx is run on the client
>>and the .aspx.cs runs on the server.
>>
>> But what if I want to build an ASP.NET based application that is to be
>> run entirely on a client (all files hosted on the client and run on the
>> same client)? What would that client need to run it?
>>
>> I want to write an application that can be run standalone on a PC (not
>> hosted on a web server and accessed from a PC), which uses web technology
>> like javascript and Ajax, while also being able to code the primary logic
>> in C#. I have the choice of a windows forms rich client application which
>> uses a WebBrowser control, or a native ASP.NET application. But I'm not
>> sure the latter is even feasible for being deployed and run standalone on
>> a PC - would it need IIS and .NET framework installed, and even more?
>>
>
>
Author
19 Jul 2006 11:47 AM
Juan T. Llibre
There's a free, highly modified, version of Cassini named UltiDev.

The author modified the Cassini source code so the web server
runs as a service, and added a bunch of improvements.

Get it at : http://ultidev.com/Products/Cassini/

There's a complete deployment guide at :
http://ultidev.com/Products/Cassini/CassiniDevGuide.htm

UltiDev comes in both .Net Framework 1.1 and 2.0 versions,
and is exactly what you're looking for.



Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
Show quoteHide quote
"JezB" <j***@somewhere.com> wrote in message news:OUYwpIxqGHA.3484@TK2MSFTNGP04.phx.gbl...
> Cassini : looks good, I hadn't heard of that, but that could be what I'm missing. Thanks.
>
> "Eliyahu Goldin" <removemeegol***@monarchmed.com> wrote in message
> news:uou5FCxqGHA.3648@TK2MSFTNGP03.phx.gbl...
>> It is pretty feasible. You will need to have .net installed on the client, which doesn't seem to
>> be a problem. You don't need IIS if you package your app with a redistributable version of
>> Cassini.
>>
>> --
>> Eliyahu Goldin,
>> Software Developer & Consultant
>> Microsoft MVP [ASP.NET]
>>
>> "JezB" <j***@somewhere.com> wrote in message news:%23hCMW0wqGHA.3908@TK2MSFTNGP05.phx.gbl...
>>>I kind of understand the ASP.NET architecture in terms of building web pages with embedded server
>>>controls, where the .aspx is run on the client and the .aspx.cs runs on the server.
>>>
>>> But what if I want to build an ASP.NET based application that is to be run entirely on a client
>>> (all files hosted on the client and run on the same client)? What would that client need to run
>>> it?
>>>
>>> I want to write an application that can be run standalone on a PC (not hosted on a web server
>>> and accessed from a PC), which uses web technology like javascript and Ajax, while also being
>>> able to code the primary logic in C#. I have the choice of a windows forms rich client
>>> application which uses a WebBrowser control, or a native ASP.NET application. But I'm not sure
>>> the latter is even feasible for being deployed and run standalone on a PC - would it need IIS
>>> and .NET framework installed, and even more?