473,841 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2336
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******** ********@TK2MSF TNGP05.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.co mwrote in message
news:uo******** ******@TK2MSFTN GP03.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******** ********@TK2MSF TNGP05.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******** ******@TK2MSFTN GP04.phx.gbl...
Cassini : looks good, I hadn't heard of that, but that could be what I'm missing. Thanks.

"Eliyahu Goldin" <re************ *@monarchmed.co mwrote in message
news:uo******** ******@TK2MSFTN GP03.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******** ********@TK2MSF TNGP05.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3304
by: Chris Dunaway | last post by:
A quick scan of the group did not immediately reveal an answer to my questions so here goes. First let me describe my app and then I'll ask the questions. I am writing a Windows Forms App (not Web Forms) that serves as a thin client to some web services. In other words, the Windows Forms app will be installed on the client machines and that app will call web services that are deployed on my server.
8
1659
by: Bf | last post by:
I was creating test projects using c# and was surprised that there seems to be only a form based windows applications available. Is it safe to assume that classic window applications that utilize a parent window with child windows can only be done in c++ and mfc and there's nothing else in .net that is meant to be used like that? It seems to be that c# should be used for either form based windows apps, console apps, and web apps (also...
2
7283
by: Fadi | last post by:
Backround: I am trying to figure out how to do the equivalant of a classic COM Local Server Singleton in .NET/C#. I created a coupld of simple Class Libs that exposes public interfaces and hosted them in a Windows Forms EXE. Create a Windows Forms client and both the Client and the Host EXEs configure the remoting protocols through respective .config files. Problem: I want to change the host from an Win Forms EXE to a Windows Service.
9
2827
by: Rajat Tandon | last post by:
Hello there, I am relatively new to the newsgroups and C#. I have never been disappointed with the groups and always got the prompt replies to my queries.This is yet another strange issue, I am facing. Please please help me to solve this as soon as possible. So here we go ... I am not able to take the screen shot of the windows form based "Smart
5
1820
by: david | last post by:
I have developed my web service with a domain name of my computer name and wwwroot directory. I also developed a client of windows form application. It works locally (i.e. in the same machine). When I copy my client application to another machine and start it, I got an error about initialized problem. Note that I can browser my web service .asmx file from the second machine. The sample client source code:
22
6304
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one client (MS Access vs ..NET Windows Forms) would be preferred over the other. While I have some good arguments on both sides, I would appreciate your points of view on the topic.
2
2286
by: Frankie | last post by:
Using SQL Server 2005 and .NET 2.0; I'm creating a Windows Forms application that will need to display photos of people, along with a bunch of information about each person. In a Web application, there is a generally accepted "best practice" of storing only a string (the path to the .jpg file name), with the actual file stored in an NTFS folder (and not in the database). What's the standard practice for Windows Forms applications? Is...
4
4023
by: Pini | last post by:
Hi all, I have a massive windows application that refernces a lot of assemblies and doing a lot of DAL anf IO operations. I want to expose this application to the interner so that a user can access it using a web browser. How can i do it? Do i have to use smart client? Can i do it using activex controls?
3
4299
by: shobhitguptait | last post by:
How to Run C#.NET Windows App on N/W with centralized DB using SQL SERVER 2000 Hello All...i m really grate full to c such a website where developers try to help people like us who face problems in s/w develepment...I am shobhit Gupta...23 years of age prusuing B.Tech in I.T. Engg. Final Year from Kurukshetra University, Kurukshetra. Recently, i have been working on a project which is to be implemented in a hospital for real life use...Its a...
0
9706
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10609
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10303
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9446
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7848
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7025
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5691
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4082
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3140
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.