472,145 Members | 1,612 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,145 software developers and data experts.

ASP.NET vs Windows Forms for building client application

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?
Jul 19 '06 #1
3 2257
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" <je**@somewhere.comwrote in message
news:%2****************@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?

Jul 19 '06 #2
Cassini : looks good, I hadn't heard of that, but that could be what I'm
missing. Thanks.

"Eliyahu Goldin" <re*************@monarchmed.comwrote in message
news:uo**************@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" <je**@somewhere.comwrote in message
news:%2****************@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?


Jul 19 '06 #3
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/
===================================
"JezB" <je**@somewhere.comwrote in message news:OU**************@TK2MSFTNGP04.phx.gbl...
Cassini : looks good, I hadn't heard of that, but that could be what I'm missing. Thanks.

"Eliyahu Goldin" <re*************@monarchmed.comwrote in message
news:uo**************@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" <je**@somewhere.comwrote in message news:%2****************@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?

Jul 19 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by david | last post: by
4 posts views Thread by Pini | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.