ASP.NET Web API replaces WCF Web API

The new MVC 4 beta was released last Thursday / Friday.  One of the big changes is the moving of the WCF Web API into the ASP.NET MVC code stream.

Get the bits and the initial documentation on the ASP.NET Web API page at http://www.asp.net/web-api

The team has provided some initial guidance on migrating from the WCF Web API to ASP.NET Web API on the WCF CodePlex site.

ScottGu has an overview on his blog along with a video of a presentation that he gave at the Belgium and Dutch TechReady events.

Jon Galloway interviewed Brad Wilson about the ASP.NET MVC 4 release.  Brad Wilson on ASP.NET 4 Beta and ASP.NET Web API

Henrik Nielsen the Principal Architect on the WCF Team has a post on the new HttpClient for ASP.NET Web API that has been back ported from .NET 4.5.

I plan on migrating my current project using the WCF Web API and ASP.NET MVC 3 to the new ASP.NET Web API and ASP.NET MVC 4 API this week.  After spending a lot of time last week getting Ninject work work with the WCF Web API, it looks like the ASP.NET Web API makes it trivial.  But it was still a good learning experience right?

I am also contemplating moving to the new .NET 4.5 beta when it is released.  It looks like the asynchronous support on C# 5 will be very useful with the new ASP.NET Web API.

Cool Development Utility: smtp4dev

The other day I needed to test the Mail functionality of an application I was developing on Windows 7 and I realized that the built in SMTP server had been removed.  I initially thought about just installing the free version of SmarterMail and configuring that but I decided to take a look and see what else I could find.  I ran across smtp4dev on CodePlex.  Codeplex Link

smtp4dev captures emails that are sent to localhost on whatever port you configure smtp4dev to listen on.  You can then inspect the formatting and content by choosing an entry in the list and selecting Inspect or View.

smtp4dev main screen

Inspect shows a window that lets you see the MIME parts (Source, Headers, Body) and the raw Message Source. View opens the email message in your default email program.

Message Inspect Window

smtp4dev even supports SSL/TTL allowing you to specify a certificate to use for the secure connection.

smtp4dev options

smtp4dev is an easy to use utility that provides some powerful capabilities that can make integration testing email functionality in your apps easier.

PowerShell Quick Reference Guides and Cheat Sheets

Becoming effective with PowerShell is quickly becoming essential to working effectively with Windows Server products.  With PowerShell modules for so many products it is getting hard to keep track of all the command lets.  Luckily Jonathan Noble has put together a list of PowerShell Quick Reference Guides and Cheat Sheets for various products.

http://www.jonoble.com/blog/2011/12/12/powershell-quick-reference-guides-and-cheat-sheets.html