473,789 Members | 2,702 Online
Bytes | Software Development & Data Engineering Community
+ 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 1160
Chuck B <ch****@shc1.co mwrote:
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.co m>
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.co mwrote in message
news:eZ******** ******@TK2MSFTN GP06.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.netNoS pamMwrote in
message news:uS******** ******@TK2MSFTN GP03.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.co mwrote in message
news:eZ******** ******@TK2MSFTN GP06.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.co mwrote in message
news:ul******** *****@TK2MSFTNG P06.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.netNoS pamMwrote in
message news:uS******** ******@TK2MSFTN GP03.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.co mwrote in message
news:eZ******* *******@TK2MSFT NGP06.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
1477
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? thanks in advance, ed
4
2614
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) is such thing possible ? thanks
3
7432
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 bitching at .NET for the whole day now not being able to do something as simple as showing a textbox's content in a damn MessageBox... The TextBox.Text is a String... MessageBox takes a LPCSTR (plain single byte char*)... All our current code base...
6
2489
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 follows: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4
1326
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 server side. My dumb question is this: how reliable is http? For example if I use PUT and call GetResponse on my request object with no problem, can I guarantee that every byte of my file will always arrive at the web server?
4
1245
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 purposes only. So everything goes smoothly, compile, start running, everything looking good. then I go to update a row.. get a System.Data.Readonly exception. I investigate further to find this is a known bug in the framework according to many...
3
3877
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 Access db which has the table 'Users', and I want to grab the fieldnames and values without necessarily knowing their numbers and formats. The msgboxes are there to illustrate the error. To run this, you need an Access db called Users.mdb in the...
1
1654
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 problems where the property has been refered to as a string... Therefore I am wondering if it would be even theoretically possible to improve such a framework with stronger typing, to avoid the usage of strings. For example, consider this...
5
1573
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 have to do things a little differently depending on whether youre using visual c# .net or visual c# 2005
0
9511
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
10412
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10142
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9986
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...
1
7529
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
5422
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...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4093
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 we have to send another system
3
2909
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.