473,466 Members | 1,527 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Possible dumb question: .NET without the framework

I have a .NET application installed on a server. It runs fine when I run an
instance on my PC. My question is, is it possible to run a .NET app hosted
on a server without having the framework installed on the client PC?
Dec 18 '07 #1
4 1144
Chuck B <ch****@shc1.comwrote:
I have a .NET application installed on a server. It runs fine when I run an
instance on my PC. My question is, is it possible to run a .NET app hosted
on a server without having the framework installed on the client PC?
No - the framework has to be present on the computing *executing* the
code, not just the one which hosts the files.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
Dec 18 '07 #2
Only in the case of web applications. If you want to run a desktop
application, you will have to have .NET installed.

There is one exception. There are tools out there that compile .NET to
native equivalents, which makes them a windows executable, not .NET. In
general, they are expensive. Other than that, web apps are the only
exception to the rule, as the browser just gets HTML and JavaScript.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
"Chuck B" <ch****@shc1.comwrote in message
news:eZ**************@TK2MSFTNGP06.phx.gbl...
>I have a .NET application installed on a server. It runs fine when I run an
instance on my PC. My question is, is it possible to run a .NET app hosted
on a server without having the framework installed on the client PC?

Dec 18 '07 #3
Ok. I know that an exception message shows up on the client PC. Is there
some way to build a stub that would check the client PC for the framework
and give a more user friendly message if it's not installed?
"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:uS**************@TK2MSFTNGP03.phx.gbl...
Only in the case of web applications. If you want to run a desktop
application, you will have to have .NET installed.

There is one exception. There are tools out there that compile .NET to
native equivalents, which makes them a windows executable, not .NET. In
general, they are expensive. Other than that, web apps are the only
exception to the rule, as the browser just gets HTML and JavaScript.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box! |
*************************************************
"Chuck B" <ch****@shc1.comwrote in message
news:eZ**************@TK2MSFTNGP06.phx.gbl...
>>I have a .NET application installed on a server. It runs fine when I run
an instance on my PC. My question is, is it possible to run a .NET app
hosted on a server without having the framework installed on the client
PC?


Dec 19 '07 #4
Not with an installed program, but you can bootstrap the .NET Framework to
an installer. This includes both the exe/msi type of installer and the
ClickOnce deployment model.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
"Chuck B" <ch****@shc1.comwrote in message
news:ul*************@TK2MSFTNGP06.phx.gbl...
Ok. I know that an exception message shows up on the client PC. Is there
some way to build a stub that would check the client PC for the framework
and give a more user friendly message if it's not installed?
"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:uS**************@TK2MSFTNGP03.phx.gbl...
>Only in the case of web applications. If you want to run a desktop
application, you will have to have .NET installed.

There is one exception. There are tools out there that compile .NET to
native equivalents, which makes them a windows executable, not .NET. In
general, they are expensive. Other than that, web apps are the only
exception to the rule, as the browser just gets HTML and JavaScript.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*********************************************** **
| Think outside the box! |
*********************************************** **
"Chuck B" <ch****@shc1.comwrote in message
news:eZ**************@TK2MSFTNGP06.phx.gbl...
>>>I have a .NET application installed on a server. It runs fine when I run
an instance on my PC. My question is, is it possible to run a .NET app
hosted on a server without having the framework installed on the client
PC?



Dec 19 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: ed | last post by:
I've just started working with .Net, so appologize for what is probably a really dumb question. Did Windows XP originally come with the .Net framework installed, and if so which version? ...
4
by: Mel | last post by:
i would like to have a link, such that when the user clicks on it, a script is fired to go to server and check for page updates, if any, it should request a reload, else stay silend (terminate) ...
3
by: Sin | last post by:
I'm currently evaluating VC.NET as the new platform for the company I work for and things are looking grim... We're up against another IDE which took me about 5 minutes to master and I've been...
6
by: wASP | last post by:
Hello everyone, I'm new to C# and ASP.NET, so pardon my stupidity on this one. I'm having a problem with referencing methods/functions external to a class member function. My code is as...
4
by: Stelrad Doulton | last post by:
Hi, Apologies if this isn't the correct forum. I am writing a communication solution (actually on the Compact Framework) based on HttpWebRequests hooking up with custom handlers on the...
4
by: CJ Taylor | last post by:
Alright, So this morning (as we are a week from launch on our product) I come across an error as I add a simple thing to our system. A display column in our dataset for databinding for display...
3
by: Yuk Tang | last post by:
I'm trying to grab the fieldnames and values from a recordset, but I'm getting errors. I have an idea what the error might come from, but I'm not sure how to correct it. I'm connecting to an...
1
by: tomjbr.32022025 | last post by:
I have started looking at the nhibernate framework, but do not really like the string based API which makes it impossible to use automatic refactoring of a property name without the risk of getting...
5
by: S Moran | last post by:
oldschool visual studio 6 developer, WAY out of the loop... what exactly is the difference between .NET and 2005? im developing something in C# and all examples and tutorials i see explain that you...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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,...
0
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...
0
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.