Scott Hanselman

Towards a Smaller .NET 4 - Details on the Client Profile and Downloading .NET

April 20, '10 Comments [35] Posted in VS2010
Sponsored By

NOTE: All this info is for programmers/developers. If you just If you want .NET just to run stuff, just go get the 800k Web Installer for .NET 4 and you're all set. It'll do the rest. Now, that said...

Almost two years ago I blogged about how Microsoft was trying to make the size of the .NET Framework smaller and smaller. That day I made a site called http://www.smallestdotnet.com to help folks find the smallest download possible for their system.

I just noticed a post on the WPF Perf and .NET Client Profile blog that goes into a LOT of detail on how the .NET 4 Client Profile makes things smaller.

Before, the .NET 3.5 SP1 Client Profile was a good idea, but it wasn't really a first class citizen. It wonly worked on x86 and machines that didn't have .NET on them already. Some amount of time you'd end up having to get the full .NET install anyway. They say the focus on .NET 4 is on getting Client Applications to run as fast as possible with as few bits as possible.

Check this out from Jossef Goldberg's blog: "Unlike the NET 3.5 SP1 Client Profile, NET4 Client Profile is:"

  • Supported on all OS that Full is
  • Supported for x86 & x64
  • Client Profile is *the* framework that will be available on Windows Update for desktops
  • Supported in all aspect of VS (e.g. targeting, deployment project, etc)
  • Is the default target in almost all VS10 Client Project Templates (Winforms, WPF, VSTO, etc)

So that's good to know. They are committed to this and this will be the .NET 4 that gets distributed via Windows Update later this year. The general idea is that they avoid installing things you don't need a client machine. That means they won't install ASP.NET on your Mom's computer just because she wants a game. Also, the .NET 4 Client profile is a proper subset of the .NET 4 "Full" Framework.

Here's the numbers:

 

3.5 SP1

4.0 RTM

32 bit Client Profile

Online: 28 MB
Offline: 255MB
28.8 MB
32 + 64 bit Client Profile N/A 41 MB
32 bit Full N/A 35.3 MB
32 + 64 bit Full N/A 48.1 MB
32 + ia64 bit Full N/A 51.7 MB
32 + 64 + ia64 bit Full 231 MB N/A

And the chart. Seems like a return to simplicity. I'm glad they're listening. I remember harping on this, as I'm sure you did, Dear Reader, over the last few years.

image_2

On to the where...

Downloads - Where can I get the NET4 Client Profile?

One more time, know that this info is for developers. If you want .NET just to run stuff, just go get the 800k Web Installer and you're all set. It'll do the rest.

These downloads are for folks who might want to redistribute the .NET 4 Framework with their software, perhaps offline.

  • Both x86 and x64:
    • Client: dotNetFx40_Client_x86_x64.exe (41 MB): This is the Client Profile SKU that you must install on any supported 64-bit OS. This will also install on any supported 32-bit OS. Your app could run in WOW64 if it was compiled w/ "32-bit" flag or as 64-bit if you compile with "AnyCPU" or "64-bit" flags.
      If you are redistributing the Client Profile with your application you most likely want to redist this package as it can install on both 32 and 64 bit OS’s.
    • Full: dotNetFx40_Full_x86_x64.exe (48.1 MB): This is the Full Framework SKU that you must install on any supported 64-bit OS. This will also install on any supported 32-bit OS.
      If you are redistributing the Full Framework with your application you most likely want to redist this package as it can install on both 32 and 64 bit OS’s.
  • Just x86:
    • Client: dotNetFx40_Client_x86.exe (28.8 MB): This is the Client Profile SKU that you could use to install on any supported 32-bit OS.  Choose this only if all your users are running 32 bit OS. (in most times this will not be your case…)
    • Full: dotNetFx40_Full_x86.exe (35.3 MB): This is the Full Framework SKU that you could use to install on any supported 32-bit OS. Choose this only if all your users are running 32 bit OS (in most times this will not be your case…)
  • Full Web Bootstrapper for Online Scenarios:
    • NET 4 RTM Web Bootstrapper: This is what you want to install if you need NET4 Full and you are online. This will detect your OS and processor architecture and will install the appropriate Framework.
  • Client Web Bootstrapper for Online Scenarios:
    • NET 4 Client Profile RTM Web Bootstrapper: This is what you want to install if you need NET4 Client Profile and you are online. This will detect your OS and processor architecture and will install the appropriate Client Profile.

Enjoy.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb

Team Hanselman and Diabetes Walk 2010

April 19, '10 Comments [46] Posted in Diabetes
Sponsored By

Donate to Team Hanselman and help Fight DiabetesI'm here to ask you a personal favor, Dear Reader.

Please donate to Team Hanselman and help us reach our Goal of raising $50,000 to Fight Diabetes...

...during this year's Step Out to Fight Diabetes by the American Diabetes Association.

SHORT LINK: Please tweet and spread this link! http://hnsl.mn/fightdiabetes

DONATE HERE: http://hanselman.com/fightdiabetes/donate

This is a technical blog, but I'm not just a technical person only full of source code and pomposity. I've been a Type 1 Diabetic using Insulin every day to survive for 15 years. I've worn an Insulin Pump for 10 years. Here's a stat for you, unless I'm hit by a truck, Diabetics die of Diabetes, not old age.

This is my story. I will be posting videos and information about the diabetic experience about once a month over the summer.

If you aren't familiar with Diabetes, perhaps my explanation on how Diabetes works using an analogy of an Airplane and the above statistics will help you understand how personally painful this disease is.

Paradigm Revel Insulin Pump Two months before my 21st birthday I started peeing a lot. A LOT. Like I was drinking four 2-liter bottles of Sprite a day and was still thirsty beyond belief. We'd just had a family photo taken and I was 130lbs on a 5'11" frame (for those of you outside the US, that's thin.) I was wasting away and looked like death. My father, a Portland Firefighter and Paramedic for thirty years smelled the sugar on my breath and sent me right away to the hospital where my blood glucose level was higher than the meter could read...and it's supposed to be under 100mg/dl.

I spent that spring learning how to give myself shots, four a day, along with a regiment of pills. Twelve years later I have no side effects, knock on wood. Not everyone is that lucky. I recently went to a funeral of a high-school friend who was the exact same age and succumbed to Type 1 Diabetes.

I currently take three shots a day of Symlin while also wearing an Insulin Pump 24-hours a day, even while I sleep. The pump saves me from an additional six shots a day, which I took for 8 years before the pump. I test my blood sugar by pricking my finger between 8 and 10 times a day - that's about 54,750 finger pricks so far, and miles to go before I sleep.

I consider myself lucky though. My 91-year old grandmother's neighbor friend in the 1920's, before Insulin was widely used (it was discovered in 1921) ate nothing but lettuce and eventually died in childhood. I have friends who have been diabetic for nearly 50 years and had to boil large-gauge needles on the stove before injecting themselves with Pork-derived insulin, basing their decisions on a once-a-day urine check to check their blood glucose level.

Diabetes is endemic. Here's some stats from the NIH:

  • Total: 20.8 million people—7 percent of the population—have diabetes.
    • Diagnosed: 14.6 million people
    • Un-diagnosed: 6.2 million people
  • 1.5 million new cases of diabetes were diagnosed in people aged 20 years or older in 2005.
    • Diabetes was the sixth leading cause of death listed on U.S. death certificates in 2002.
  • Diabetes is the leading cause of new cases of blindness among adults aged 20 to 74 years.
  • Diabetes is the leading cause of kidney failure, accounting for 44 percent of new cases in 2002.
  • About 60 to 70 percent of people with diabetes have mild to severe forms of nervous system damage.

I tell you this not to scare you, or ask for pity. I tell you this because it's the painful truth. It sucks, and it sucks big time. I am constantly and consistently afraid that my son will face this disease in his lifetime. God help the children who get Type 1 diabetes. I was hardly prepared at 21, I can just now begin to imagine what a parent of a 2 or 3 year old would go through after a diagnosis like that. I'm even afraid to say it out loud, it's that unspeakable.

The Goal

This year Team Hanselman, led by myself and my wife, Mo, who had this whole idea, will be walking to fight diabetes on Sept 12, 2010. We have set a goal of raising US$50,000. We can do twice that I say.

If only 5000 of you, that's 10% of you, dear readers, gave US$10 to this cause, we've met our Team Goal. If only 1000 give US$50, well, you get the idea. If you can't donate, that's OK. Post about this on your blog, spread the URL http://www.hanselman.com/fightdiabetes or http://hnsl.mn/fightdiabetes put some of our Diabetes "Flair" on your site!

Last year this time, there were over 5000 people subscribing to this blog (for the technical content, I assume) - this year there are over 14,000.

A Personal Favor to Me

My Insulin Pump Perhaps you've searched the web and found my blog useful in the past or you've seen me speak at a conference or local user's group. Or, you've hung out here for years (this blog started in April 2002!). Maybe you're a blogger yourself and useDasBlog. Perhaps you've visited my Blog Archives and found them useful, or you read the ASP.NET MVC book or ASP.NET 4 book. Perhaps you listen to my podcast.

If you've ever thought about giving a 'tip' to this blog, here's your chance to make that tip tax-deductible! (if you're in the US) You can also paypal your donation to the email address that is "scott (a t ) hanselman.com" and I will personally deliver 100% of your money myself.

And please, donate now. In the US, donations are Tax-Deductible and go directly to the ADA. If you like, you can PayPal me and I'll deliver the money myself and I'll match it.

Team Hanselman Diabetes "Blog Flair" and Badges

Please feel free to spread this flair or post them on your blog, and link them to this easy to remember link:http://www.hanselman.com/fightdiabetes. It'll bring folks right here to this site.

TeamHanselmanSmallBanner  teamhanselmanlargebanne

If you want to create a better flair, like the one that Jon Galloway created, send it to me, or put a link in the comments and I'll add it to this page for others to use!

LINKING NOTE: http://www.hanselman.com/fightdiabetes brings you here, and http://www.hanselman.com/fightdiabetes/donate takes you straight to the donation site.

SHORT LINK: Please tweet and spread this link! http://hnsl.mn/fightdiabetes

Thanks for your patient attention, we now return you to our regular blogging schedule.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb

Hanselminutes Podcast 210 - John Lam and the Science of Fitness

April 16, '10 Comments [3] Posted in Podcast
Sponsored By

2.0-routes-viewMy two-hundred-and-tenth podcast is up. Sedentary Scott chats with Fit John Lam about the science of fitness. If you're a coder you you use huge amounts of data and statistics to plan your next move, why not do the same when working out? John talks about the software and hardware folks use to measure not just where they ran and how far, but also their Watts per Kilo of body weight! Does this geek need data to get fit?

Subscribe: Subscribe to Hanselminutes Subscribe to my Podcast in iTunes

Download: MP3 Full Show

Links from the Show

Do also remember the complete archives are always up and they have PDF Transcripts, a little known feature that show up a few weeks after each show.

I want to add a big thanks to Telerik. Without their support, there wouldn't be a Hanselminutes. I hope they, and you, know that. Someone's gotta pay the bandwidth. Thanks also to Carl Franklin for all his support over these last 4 years!

Telerik is our sponsor for this show.

Building quality software is never easy. It requires skills and imagination. We cannot promise to improve your skills, but when it comes to User Interface and developer tools, we can provide the building blocks to take your application a step closer to your imagination. Explore the leading UI suites for ASP.NET AJAX,MVC,Silverlight,Windows Formsand WPF. Enjoy developer tools like .NET reporting, ORM,Automated Testing Tools, TFS, and Content Management Solution. And now you can increase your productivity with JustCode, Telerik’s new productivity tool for code analysis and refactoring. Visit www.telerik.com.

As I've said before this show comes to you with the audio expertise and stewardship of Carl Franklin. The name comes fromTravis Illig, but the goal of the show is simple. Avoid wasting the listener's time. (and make the commute less boring)

Enjoy. Who knows what'll happen in the next show?

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb

Hanselminutes Podcast 211 - Jeff Atwood on the Future of Stack Overflow

April 16, '10 Comments [1] Posted in Podcast
Sponsored By

coding-horror-official-logo-small My two-hundred-and-eleventh podcast is up. There's no Stack Overflow podcasts lately so Scott's got Jeff on the show so we can get our Coding Horror fix. Jeff shares some of the thinking behind recent changes on StackOverflow.com and how they plan on building a community outside just techies. Also, Jon Skeet, Needlepoint, Bows and Arrows, and Mustache people.

(Ya, I know, I'm late to post this.)

Subscribe: Subscribe to Hanselminutes Subscribe to my Podcast in iTunes

Download: MP3 Full Show

Do also remember the complete archives are always up and they have PDF Transcripts, a little known feature that show up a few weeks after each show.

I want to add a big thanks to Telerik. Without their support, there wouldn't be a Hanselminutes. I hope they, and you, know that. Someone's gotta pay the bandwidth. Thanks also to Carl Franklin for all his support over these last 4 years!

Telerik is our sponsor for this show.

Building quality software is never easy. It requires skills and imagination. We cannot promise to improve your skills, but when it comes to User Interface and developer tools, we can provide the building blocks to take your application a step closer to your imagination. Explore the leading UI suites for ASP.NET AJAX,MVC,Silverlight,Windows Formsand WPF. Enjoy developer tools like .NET reporting, ORM,Automated Testing Tools, TFS, and Content Management Solution. And now you can increase your productivity with JustCode, Telerik’s new productivity tool for code analysis and refactoring. Visit www.telerik.com.

As I've said before this show comes to you with the audio expertise and stewardship of Carl Franklin. The name comes fromTravis Illig, but the goal of the show is simple. Avoid wasting the listener's time. (and make the commute less boring)

Enjoy. Who knows what'll happen in the next show?

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb

Visual Studio 2010 Released

April 12, '10 Comments [114] Posted in ASP.NET | ASP.NET MVC | Learning .NET | Microsoft | MSDN | Spotlight | VS2010 | Windows Client | WPF
Sponsored By

It's a big day at Microsoft today as Visual Studio 2010 officially releases. There's a lot going on with this release and I thought I'd do a big rollup post with lots of details and context to help you find your way to the information and downloads you're looking for.

Visual Studio 2010 and .NET 4

Download Visual Studio 2010

First, if you want it, go download Visual Studio 2010 now. If you're an MSDN Subscriber or WebSiteSpark/BizSpark member, you can download the final release now. If not, you can download a free trial or one of the free Express editions.

I'm running the free Visual Web Developer 2010 Express on my netbook. You can install ASP.NET 4, ASP.NET MVC 2, and Visual Web Developer 2010 Express really quickly with the Web Platform Installer.

There's an excellent page on MSDN that's cherry-picked and categorized the best VS2010 content, but I've included my own list below.

What's new in Visual Studio 2010 and .NET 4?

Buttloads. Here's the things I'm digging most.

Also, there's a FREE e-Book called "Moving to Visual Studio 2010" that you might want to check out. It's an excerpt of a larger book that'll be coming from MSPress later this summer. It takes a interesting approach as it has three parts, moving from VS2003, moving from VS2005, and moving from VS2008. It's clever, actually. You start in the book on the version that you're currently on. If you're not familiar with versions like VS2008, you start at the beginning. Otherwise, you jump ahead. When you're done, you're ready to move to VS2010.

MSDN and Visual Studio 2010

When a new product launches, MSDN launches with updates and new features of its own. Here's a few things the folks at MSDN have been doing to support the launch.

  • Better MSDN Search - Most people likely use a search engine to search MSDN, but if you do search from within MSDN, there are a number of new improvements. You can refine by source, saying only search blogs, or only search the library. There's also an OpenSearch provider so you can search the MSDN Library directly from within Windows itself.
    XDocument - Search Results in MSDN
    MSDN Search also includes Metadata from the results to help you find right thing. For example, if a search turns up a CodePlex project, I can see type-specific details within search results:
    MSDN Search
  • MSDN Subscriber Downloads Improvements - There's been lots of UX improvements including as-you-type filtering as well as filtering by platform (x64, etc) and language. I will very likely not need to download Quechua Windows, so now I don't need to see it.
  • MSDN Library in Lightweight and ScriptFree - You can choose between three flavors of MSDN Library, Classic (the one with the treeview on the side), Lightweight (what I use) or ScriptFree. ScriptFree is great for mobile devices, and it's lightning fast anywhere. Lightweight is the new default and I like it because it features community annotations made to the library prominently on the left side as well as a tabbed interface for code sample languages. I blogged a preview of this work last year and included some charts and graphs showing the improvements in speed worldwide.
    XmlNode Class (System.Xml) - Windows Internet Explorer
  • Integration of all VS sites - There were too many developer "centers" on MSDN and folks were getting lost. Many centers have been conflated into a clearer, more logical layout. The Visual Studio, Team System, and VS Extensibility Centers were merged into the single Visual Studio Center. There's a lot more focus on discoverability in the Visual Studio Center.
  • Video Improvements - There's thousands of How Do I? videos on MSDN and they tell me they are improving the backend, the player and the metadata around them. The player is larger now, you can share videos from MSDN on your favorite social networking site, rate them, leave comments, and explore related videos.
  • Profile Activities - User Profiles are integrated between sites and you can see your activity and points as you move through the system. For example, here's Arnie Rowland's profile. You can see his activity in the forums and galleries as well as his ranking and points as a community contributor.

Other Cool Stuff Happening Today

I'd hate to have this little nugget get buried in the deluge of VS2010 goodness.

  • Microsoft Surface Logo The Surface Toolkit for Windows Touch BETA goes out today. Check out http://www.surface.com under Technical Resources and the Surface Blog for more details. This toolkit is a set of controls and sample code that let WPF developers create cool multi-touch enabled experiences with the cool "Surfacey" controls that the only folks with Big Ass Tables have been able to use. This is exceedingly cool because it not only makes it WPF devs can make better multi-touch apps for Windows Touch PCs but it acts as a jump-start for the next version of Microsoft Surface. It will integrate with Visual Studi0 2010 and give you new project and item templates and a dozen new controls like the ScatterView and SurfaceInkCanvas. This is a cool thing, so I'll be talking about it soon, as will Pete Brown.

Lots of great stuff going on today. Have fun!

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.