C# 4 Named Parameters for Overload Resolution

C# 4 is getting a new feature called named parameters. Although this is a stand-alone feature, it is often used in conjunction with optional parameters. Last week when I was giving a presentation on C# 4, I got a question on a scenario regarding overload resolution that I had not considered before which yielded interesting results. Before I describe the scenario, a little background first. Named parameters is a well documented feature that works like this: suppose you have a method defined like...


Community Megaphone Podcast

Last week I had the pleasure of being a guest on the Community Megaphone Podcast [http://www.communitymegaphonepodcast.com/Show/5/Steve-Michelotti] with Andrew Duthie [http://blogs.msdn.com/gduthie/default.aspx] and Dane Morgridge [http://geekswithblogs.net/danemorgridge]. We discussed .NET 4, C# 4, MVC 2, "geek religious wars", and of course community. You can check out Show #5 here [http://www.communitymegaphonepodcast.com/Show/5/Steve-Michelotti] or directly download [http://www.communitym...


AIS is hiring!

My company, Applied Information Sciences (AIS) [http://www.appliedis.com/], is currently hiring for multiple positions. AIS is growing and we have immediate needs for all levels of technologists with a focus developing on the Microsoft stack!  We are seeking .NET developers with a strong Object Oriented Foundation around the DC metro area.  Our goal is to find smart people that are technology enthusiasts and interested in staying on the bleeding edge.  If you have a passion for solving complex...


Philly.NET C# 4 Code Samples

Thanks to everyone who attended my C# 4 presentation last night at Philly.NET. Both the code and the PowerPoint can be downloaded here: C# 4 New Features [https://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=michelotti&ReleaseId=3289] ....


Create Your Own Code Snippets in Visual Studio 2010 for MVC 2

One of the great new features in Visual Studio 2010 is the ability to now use code snippets inside of ASP.NET, HTML, and JavaScript files [http://weblogs.asp.net/scottgu/archive/2009/09/04/asp-net-html-javascript-snippet-support-vs-2010-and-net-4-0-series.aspx] . Snippets have long been a productivity boost for regular C# code but have been sorely missing for mark up. In fact, frameworks like MVC 2 actually ship with their own snippets. There are only about 10-15 snippets that are currently s...