Scott Hanselman

ASP.NET MVC 2 Released

March 12, '10 Comments [20] Posted in ASP.NET | ASP.NET MVC
Sponsored By

ASP.NET MVC 2 is out. This means, it's released. It's final. Use it. Love it.

You can download it directly, or install it (and whatever else you like) with the Web Platform Installer:

image

ScottGu has many details in his post. There's lots of resources to check out:

If you have questions or problems with any of the samples, please post your comments on the MVC Forum

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

We moved your ASP.NET website cheese, in a good way

March 11, '10 Comments [43] Posted in MSDN
Sponsored By

We've just pushed live an update to the http://www.asp.net site. This is the first of a series of updates to the site we'll be making this year.

ASP.NET Website

The home page for the site was getting bogged down with info and was too visually busy. It was too complex for beginners and too intense for advanced folks. Our focus with today's update is to make it easy for new folks to get started, but still make it easy for advanced people to get what they want in few clicks.

Getting Started

The Get Started section is completely new and we'll be adding even more content and samples from Joe Stagner and Jon Galloway in the coming weeks. Both guys are working on complete applications for ASP.NET WebForms 4 and ASP.NET MVC 2, as well as tutorials and videos for each.

WebForms and MVC

Both the WebForms and MVC sections have been completely reorganized with two things in mind. First, there's a lot of videos on the site, but they were poorly categorized and hard to find. Second, we weren't ordering the videos in a way that's conducive to learning. Every video on the site has been re-categorized and been organized in a more logical way. Videos are short, to the point and their lengths have been included on the listing pages. We'll continue to make improvements with the goal to make everything easy to find with upcoming changes including tagging, ranking, etc.

Community

We've added lots of content to the Community page in an active widget that aggregates news, blogs, podcasts, videos, forum activity and more. We've also added widgets to suck in content from Twitter, Digg and Delicious.

Open Source

Jon has also added an Open Source section to the site with a list of frameworks, applications, and tools that ASP.NET developers might be interested in. They're hand-picked by Jon, so if he missed one that he should consider, let him have it.

Hosting

You'll hear more soon about how it's easier to deploy ASP.NET applications to hosters, and we've added a "Find a Hoster" page that will showcase hosting deals, like Shared, Virtual, or Dedicated hosts.

There's lots of fun to come, but here's Step 0. I hope it help! Thanks to everyone, Cyra, Othmane, Laurence, Jon, Joe, Terri, KevinG, and to ScottGu for kicking us all in the butt daily. Please sir, may I have another? ;)

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 204 - What does a Social Media Consultant Do? - with Liz Burr

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

lburr_167My two-hundred-and-fourth podcast is up. This week Scott talks to new media consultant Liz Burr about working in Social Networking. What does a social media consultant do? Is it PR or marketing? How much is science and how much is gut? Are social media people more than just the popular kids from High School? Liz helps Scott work out his school issues. Also: People of Color and their role in Social Media.

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 Forms and 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 from Travis 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

WPF and Text Blurriness, now with complete Clarity

March 9, '10 Comments [25] Posted in VS2010 | Windows Client | WPF
Sponsored By

shanselman - Evernote The #1 complaint I hear about WPF (Windows Presentation Foundation) is that many fonts end up looking "blurry." It's a darned shame because really great applications like Evernote get criticized because of this one issue*.

The blurriness happens on .NET 3.5 and below because WPF's graphics system is "device independent" so rendering happens independent of resolution. It makes apps DPI-aware for free and scales them nicely. Unfortunately MOST people are running on 96dpi screens and that's where you'd expect clarity. You can get around this 90% of the time today using SnapsToDevicePixels when appropriate, but it wasn't automatic and it's subtle.

The good news is that with .NET 4 this is totally fixed. You can see with with the .NET 4 RC (Release Candidate) and VS2010, which uses WPF for much of its own rendering. Additionally, a check-in in a recent milestone makes things even clearer with light text on a dark background.

From the WPF Text Blog:

"With this fixed, WPF is not technically pixel perfect with GDI text rendering, but the difference is indiscernible to the naked eye."

So how indiscernible?

UPDATE: A little confusion about this in the comments. Folks feel very strongly about this stuff, understandably. Just like color blindness, some people are sensitive to this stuff and others "can't see it." One person in the blogs didn't like go for "indiscernible" and showed a screenshot. Here's the deal. If you are running VS2010 RC, you don't have this fix. This will be in the RTM. Here's a 100% screenshot, followed by the zoomed in version. The takeaway is this. If you didn't like the rendering before, you will now. This is/was some subtle stuff, but it's indiscernible in the RTM, so be happy! I took the screenshot from a daily build, not the actual RTM, which hasn't happened yet.

image

Blown up:

image

Click on these side-by-side images from the WPF Text Blog to enlarge and compare. VS2008 with GDI rendering is on the left and VS2010 (a post RC-build) with this fix is on the right. Of course, the release of .NET 4 will have this fix.

White Background Dark Background

In the comments on the WPF Text Blog, Rick Brewster, the author of Paint.NET suggests that we can really analyze these images using an XOR in Paint.NET.

I've done just that here, taking the dark text on a white background and XORing it. Then, for visibility, I've inverted the result. This shows just the differences in pixels between the two rendering paths. Can't see much? That's the point.

XOR and Inverted Text between the GDI and WPF rendering paths in VS2010 and .NET 4 WPF

To quote from the WPF Blog comments: "If you can’t tell a difference between the screenshots of VS2008 and VS2010, then you should not be able to tell the difference between GDI and another WPF app."

Also, note that this applies to all WPF apps on .NET 4. It's a general fix that's not VS2010 specific. Enjoy. I'll be happy when this is out and everyone's using it, including my favorite WPF app, Evernote.

* I don't know anyone at Evernote, I'm just a fan and I read the comments on their blog. I speak only for me on this issue.

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

A Trip Down Memory Lane - Presentations over 10 years old

March 9, '10 Comments [31] Posted in Speaking
Sponsored By

I've been presenting for a long time. It's great fun, mostly it's stand-up comedy with code and PowerPoint. I also keep everything, always, so earlier today when I was asked by a friend to find some ten year old code, I found a few 10 year old "Company Confidential" PowerPoint presentations. Not only was I shocked and offended by my sense of style (what was I thinking) but the scope of "Ten Years" really hit me. Ten Years is no time at all.

Here's a bit of what I found from 1999 and earlier. This is from a presentation on Windows 98 and what developers need to know.

"This screen shot is from a system with 8 gigs!"

 "This screen shot is from a system with 8 gigs!"

Some things never change...

Most apps don't handle power management well.

Oh, my.

Windows DNA

Man, these were the days:

How does ASP work?

This analogy made sense in 1998.

Apples to Apple Juice

Oh, is THAT how you design for scalability?

Designing for Scalabilty?

I remember squeezing COM for performance...

Smarter COM Strategies

More importantly: What were you doing, coding, writing about or presenting about ten+ years ago, Dear Reader?

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.