HighTechTalks DotNet Forums  

Possible dumb question: .NET without the framework

Dotnet General Discussions microsoft.public.dotnet.general


Discuss Possible dumb question: .NET without the framework in the Dotnet General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Chuck B
 
Posts: n/a

Default Possible dumb question: .NET without the framework - 12-18-2007 , 10:14 AM






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?



Reply With Quote
  #2  
Old   
Jon Skeet [C# MVP]
 
Posts: n/a

Default Re: Possible dumb question: .NET without the framework - 12-18-2007 , 10:36 AM






Chuck B <chuckb (AT) shc1 (DOT) com> wrote:
Quote:
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 - <skeet (AT) pobox (DOT) com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk


Reply With Quote
  #3  
Old   
Cowboy \(Gregory A. Beamer\)
 
Posts: n/a

Default Re: Possible dumb question: .NET without the framework - 12-18-2007 , 11:41 AM



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

*************************************************
Quote:
Think outside the box!

*************************************************
"Chuck B" <chuckb (AT) shc1 (DOT) com> wrote

Quote:
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?




Reply With Quote
  #4  
Old   
Chuck B
 
Posts: n/a

Default Re: Possible dumb question: .NET without the framework - 12-19-2007 , 07:48 AM



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)" <NoSpamMgbworld (AT) comcast (DOT) netNoSpamM> wrote in
message news:uS9mbTZQIHA.3400 (AT) TK2MSFTNGP03 (DOT) phx.gbl...
Quote:
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" <chuckb (AT) shc1 (DOT) com> wrote in message
news:eZunqiYQIHA.5016 (AT) TK2MSFTNGP06 (DOT) 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?






Reply With Quote
  #5  
Old   
Cowboy \(Gregory A. Beamer\)
 
Posts: n/a

Default Re: Possible dumb question: .NET without the framework - 12-19-2007 , 10:52 AM



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

*************************************************
Quote:
Think outside the box!

*************************************************
"Chuck B" <chuckb (AT) shc1 (DOT) com> wrote

Quote:
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)" <NoSpamMgbworld (AT) comcast (DOT) netNoSpamM> wrote in
message news:uS9mbTZQIHA.3400 (AT) TK2MSFTNGP03 (DOT) 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" <chuckb (AT) shc1 (DOT) com> wrote in message
news:eZunqiYQIHA.5016 (AT) TK2MSFTNGP06 (DOT) 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?








Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.