6 Replies - 12086 Views - Last Post: 17 September 2013 - 08:20 AM

#1 littlebigman  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 38
  • Joined: 09-February 10

A couple of newbie questions about the .Net framework

Posted 19 November 2012 - 08:05 AM

Hello

I have the following questions about using the .Net framework:

1. To improve performance when starting apps, is it possible to preload the .Net framework at boot time, and keep it in RAM for a few minutes after closing an application so that Windows won't have to fetch the framework from disk?

2. Are .Net apps hard-coded to use a specific version of the .Net, so we must keep all versions installed on disk, or are applications version-agnostic and will simply load the latest framework installed?

3. Is it possible to sign the framework and tell antivirus applications to stop checking it when loading an application?

Thank you.

This post has been edited by littlebigman: 19 November 2012 - 08:06 AM


Is This A Good Question/Topic? 0
  • +

Replies To: A couple of newbie questions about the .Net framework

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 8937
  • View blog
  • Posts: 33,484
  • Joined: 12-June 08

Re: A couple of newbie questions about the .Net framework

Posted 19 November 2012 - 08:24 AM

1. No, not really.
2. No, not really. Typically if the machine has the latest version of the framework it is backwards compatible with apps. If you have 4.0 installed and are trying to use a 2.0 app it should work.
3. Yes.
Was This Post Helpful? 0
  • +
  • -

#3 littlebigman  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 38
  • Joined: 09-February 10

Re: A couple of newbie questions about the .Net framework

Posted 20 November 2012 - 02:56 PM

Thanks for the infos.
Was This Post Helpful? 0
  • +
  • -

#4 Celarix  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 17-September 13

Re: A couple of newbie questions about the .Net framework

Posted 17 September 2013 - 06:59 AM

To answer your first question, it's not really the cost of loading the framework from the disk that slows down .Net programs when they launch. You see, .Net programs are compiled by Visual Studio and csc into a language called Intermediate Language or IL. This language isn't quite native, so it can't be run on a computer as it is. Instead, when you launch a .Net program, the IL code in the program is compiled on-the-fly into machine code native to whatever computer you're running it on, provided that platform has the .Net Framework or Mono installed. This compilation is called Just-In-Time compilation or JIT and is usually pretty fast, although not fast enough to avoid a pause when launching an application.
Was This Post Helpful? 0
  • +
  • -

#5 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 8937
  • View blog
  • Posts: 33,484
  • Joined: 12-June 08

Re: A couple of newbie questions about the .Net framework

Posted 17 September 2013 - 07:12 AM

Please be aware of the date of the last post. It's almost a year old.
Was This Post Helpful? 0
  • +
  • -

#6 Celarix  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 17-September 13

Re: A couple of newbie questions about the .Net framework

Posted 17 September 2013 - 08:18 AM

This forum is pretty dead, then. My apologies.
Was This Post Helpful? 0
  • +
  • -

#7 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 8937
  • View blog
  • Posts: 33,484
  • Joined: 12-June 08

Re: A couple of newbie questions about the .Net framework

Posted 17 September 2013 - 08:20 AM

I am not sure if I follow, but okay.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1