Minimize DotNet Installation

Source: Internet
Author: User

Http://www.hanselman.com/blog/PermaLink.aspx? Guids = af453d70-64b3-417e-9492-d115f929195d
Http://msdn.microsoft.com/zh-cn/library/cc656912.aspx

The size of. NET is often misunderstood .. NET Framework does not really need to download the 200 + M installation package.

1. What kind of installation package do I use?
Describe in the simplest way:
A. Offline installation package
-A separate file that can run offline. It is complete and applicable to all platforms and can be installed offline.
B. Online installation package
-A 2.7M installer named "bootstrapper "). It will detect what files you need and download 10-60 M.
Note: If you are an office IT staff member, you may need to decide whether you want to download. NET separately from everyone in the office, or to put IT on a network share for others to run. You can read the Deployment Guide for Administrators

2. How much do I need to download?
It depends on the version you have installed. The following is the test result on an XP SP2 machine:
. NET version upgrade to 3.5 SP1 requires download size (512 Kbps)
No about 56 MB 15 minutes
2.0 about 50 MB 15 minutes
2.0 SP1 about 33 MB 9 minutes
3.0 SP1 about 10 MB 3 minutes

From the download point of view, these numbers are not too bad, not as many people generally describe. I am not defending Microsoft, nor are I the five econnoisseurs of Microsoft. I just show the data I have seen from my tests. All my views are based on data.

However, as a free independent developer. NET client application publisher (interested to visit the original author's website: http://www.hanselman.com/babysmash/), I always want the smaller the download size, the better. I often receive the following Emails: "I like your software very much, but I don't want to download M. NET Framework ." Many of you must have received similar emails. The best way to change is to add a "substantive part ".

3. online experience
What is "Client Profile?
Client Profile

When it does not contain any. NET Framework Windows XP SP2 machine, it will download a 28 m server load, give you a corresponding to a specific client. A subset of NET 3.5. (Does it seem to reduce the download volume by 28 MB ?) If the client configuration file runs on a. NET-installed machine of any version, it will take the same action as the 3.5 SP1 online installation, detect the amount to be downloaded and download it. For more information, see "Client Profile Deployment Guide"

Someone mentioned that the. NET Framework installation package is too large and requires 200 + M (such as http://blog.deploymentengineering.com/2008/08/net-35-sp1-231mb.html), which refers to the offline installation package.

4. Offline experience
Although the default offline installation package is large, you can modify the offline installation package to make it as small as possible. If you only support the x86 platform, you only need the x86 part. "How to create an installable layout for the final release of the. NET Framework 3.5"

This is mainly for administrators and IT personnel. Others can use separation, compression, or other methods to make the installation package smaller.

The original author also created this website:
Http://www.smallestdotnet.com/
By sniffing your browser's user agent, you can tell you how much you need to download your current. NET version and which distribution package is best for you. This website also contains some Javascript, you can join your product website, for example:
<Script src = "http://www.smallestdotnet.com/smallestdotnet/javascript.ashx" type = "text/javascript"> </script>

Detected3.5 SP1. NET Framework. No update needed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.