Client Settings FAQ updated

I finally got around to updating my FAQ on the settings feature in .NET 2.0. Look for ‘Update: 12/10/2005‘ to identify the new content. The new stuff is mostly some questions frequently asked on forums and internal mailing lists in Microsoft around security, configuration and availability of the settings feature in non-Windows Forms applications.


Saving out a Form’s Size and Location using the Application Settings feature

A very common requirement for Windows Forms applications is the ability to ‘remember’ the location and size of forms when they are closed, so that the next time they are shown, they can be restored to the former position. The Application Settings feature is .NET 2.0 makes it simple to do this, but unfortunately, it is a…


Whidbey Launch, and Me

Wow, I can’t believe it’s been nearly 3 months since my last post. Time does fly by. Well, a lot has happened in the interim. We finally closed on the last few remaining bugs in Visual Studio 2005 and .NET 2.0 and this Monday, the products were officially lauched!!! It was just over three years…


I have heard of the BSoD – what’s a WSoD?

If you have used the Windows Forms designer in Visual Studio 2005 enough, chances are you may have occasionally seen a white error screen instead of the design time form. This screen, fondly referred to as WSoD in our team, shows up when error(s) are encountered in the process of loading the designer.  Now, if you have…


Client Settings FAQ posted

We have been getting lots of feedback on the new Whidbey Settings feature that I have blogged about in the past. Since there are a set of questions many people ask as they begin to delve into the API, I thought it might be useful to post an FAQ that I can point folks to that should answer most…


Client Settings FAQ

One of the cool new features in .NET 2.0/VS 2005 is an easy to use, extensible API to manage application/user settings, i.e., data that needs to be persisted across runs of a client application. You can find more information about this feature on MSDN or in my earlier blog posts on this topic. While the feature is…


Brief encounter with Channel 9

At a recent component vendor dev lab on campus, I ran into Charles Torre of Channel 9 and we spent a few minutes in the Xbox room talking about Whidbey. The video is now up on the Channel 9 site. There are also interviews with some of the component vendors who were at the lab….


Generated by a tool?

[Update: This is a repost of a post I made on Friday 5/6, since the original post was lost due to a problem in the server software. Unfortunately, I don’t yet have the comments I received on the original post, but I will reinstate them if/when they are extracted.]   As I have mentioned in earlier posts, the MSDN Product…


Why doesn’t my TypeConverter get called?

Consider the following code: public class MyControl : Control { [TypeConverter(typeof(SomePropertyConverter))] public Foo SomeProperty {    get { … } } } [TypeConverter(typeof(FooConverter))] public class Foo {    …} Now here are a couple of questions: Let’s say both SomePropertyConverter and FooConverter implement conversion to and from String, given an instance of Foo. If I drop MyControl…


Do you really need a custom CodeDomSerializer?

When you author a new component for .NET for which you want to offer a smooth user experience within the Visual Studio designers, you may find you need to write a few more classes to get it working the way you want. For example, you may need to write a designer for it to customize…