AutoMapper – My favorite .Net OSS project of the year 2009
AutoMapper is my favorite .Net open source project of the year 2009. AutoMapper is a convention based object to object mapper framework developed by Jimmy Bogard . Jimmy did an awesome job for AutoMapper and I hope that more enhancements will be come on next year. In ASP.NET MVC applications, ViewModel pattern is very important design and Automapper allows to map between ViewModel objects to InputModel objets and ViewModel objects to DomainModel objects. AutoMapper is available at http://automapper.codeplex.com/ and the source code is hosted at http://code.google.com/p/automapperhome. For more details visit http://www.lostechies.com/blogs/jimmy_bogard/archive/tags/AutoMapper/default.aspx
SQL Azure Migration Wizard
SQL Azure Migration Wizard (SQLAzureMW) is a tool that will help you migrate your SQL Server 2005 / 2008 database to SQL Azure. Using SQLAzureMW, you can choose an existing database and generate the scripts and deploy the database along with data into your SQL Azure Database. The SQL Azure Migration Wizard (SQLAzureMW) walks you through the selection of your SQL objects, creates SQL scripts suitable for SQL Azure, and allows you to migrate your data. The free and open source SQLAzureMW tool available at http://sqlazuremw.codeplex.com/
The SQLAzureMW tool will supports the following options
1. SQL Server to SQL Azure
2. SQL Azure to SQL Server
3. SQL Azure to SQL Azure
My technology picks for 2010
ASP.NET MVC 2
ASP.NET MVC is the natural way to program ASP.NET web applications and it is really a breathing of fresh air. I hope that ASP.NET developers will widely adopt ASP.NET MVC along with the new Microsoft Visual Studio 2010 and .NET Framework 4. ASP.NET MVC lets you to write very clean and elegant code in the natural way of web is working. You can build killer web 2.0 applications with ASP.NET MVC 2 and jQuery. The new ASP.NET MVC 2 has lot of productivity and maintainability features and Microsoft’s vision is to make ASP.NET MVC 2 is an “Enterprise ready” framework.
Entity Framework 4
When I was looking into ASP.NET MVC in the early days, my favorite ORM was NHibernate. After watching the PDC 09 sessions and some learning of the new Entity Framework features, I really like the Entity Framework version of the .NET Framework 4. Dear ALT.NET guys, don’t get angry on the Entity Framework, the new one is cool. Entity Framework 4 is not just an ORM and it is more than any ORM tool and has modeling capabilities.
Is Cloud computing an over hyped thing? But it is more realistic than the previous SOA hype and I hope that Windows Azure has bright future. The Windows Azure Cloud computing platform will be mostly attracted by the .NET community. The cloud computing platforms will greatly benefit to small companies and start-ups and they can think big and can develop great SaaS model application on the cloud and later scale up their applications on-demand.
Parallel Extensions for .NET
Performance will be the most critical part of next-generation applications. Today hardware infrastructure is too powerful and modern computers have multi cores, or CPUs, which enable them to execute multiple threads concurrently. To taking the advantage of the today’s hardware infrastructure, developers need to parallelize their code to distribute work across multiple processors. Microsoft Visual Studio 2010 and .NET Framework 4 enhance support for parallel programming with a new runtime, new class library types, and diagnostic tools that enable us to develop high performance applications with parallel computing features.
Performance will be the key objective of applications especially in the web applications and scalability will be the most challenging part of application architecture. A right caching mechanism can make high-performance applications and Microsoft is lacking in the area of caching platform for the many years. The Velocity framework is a distributed in-memory application cache platform for developing scalable, high-performance applications. The key aspects of Velocity are distributed cache performance, scalability, and availability. The Velocity framework will benefits enterprise applications greatly and you can make your cache data available on multiple applications and server farms.
ASP.NET MVC 2 Beta Released
Microsoft has announced the beta release of ASP.NET MVC 2. Visit Phill Haack's blog post for more details. The download link available from here.
ASP.NET MVC 2 Preview 1 Released
Microsoft has released Preview 1 version of ASP.NET MVC 2. You can download ASP.NET MVC 2 Preview 1 from here. The new features are Templated Helpers, Areas and Support for Data Annotations. For more details visit the following links
Introduction to Test-Driven Development with ASP.NET MVC
One of the greatest advantages of ASP.NET MVC is the support of testability, which enables to Test-Driven Development (TDD) in an easy manner. A testable application should be developed in a loosely coupled manner so that you can test the independent parts of the application. For developing testable applications, the support of developer frameworks is very important and the frameworks should be designed to facilitate building testable applications. One of the design goals of ASP.NET MVC was testability so that you can easily develop testable application with the ASP.NET MVC framework. In this post, I will give an introduction to Test-Driven Development (TDD) with ASP.NET MVC using NUnit unit test framework.
T4 Template for generate Table Script from XSD
The below T4 template will generate Create Table script from a XSD file. The Template will create a dataset from a XSD file and generate create table script from the dataset.
Mini TechEd in Trivandrum
Kerala Microsoft user’s group (K-MUG) is organizing a Mini-TechEd in Trivandrum, India. Don’t miss this Free opportunity to learn about Windows 7, Visual Studio 2010 features, WPF, What is new in ASP.NET 4.0, SQL server best practices,SQL logical query execution and optimization tips,Hidden Gems in SQL Server.
Using .Net 3.5 and C# 3.0 features in T4 templates
The T4 templates are compiled against .Net Framework 2.0 by default and it will be restricted to use LINQ and other .Net 3.5 features in your T4 templates. If you want to use any of C# 3.0 or .Net 3.5 features in your T4 templates, you have to specify T4 templates language attribute is C#v3.5 instead of C#. The .Net 3.5 features are using System.Core namespace so that you have to give reference to System.Core namespace in the T4 templates.
The below is the syntax
Applying Dependency Injection in ASP.NET MVC NerdDinner.com Application
ScottGu, Scott, Phil and Rob have announced a free ASP.NET MVC eBook and an open source ASP.NET MVC application Nerddinner.com. The free eBook is a single chapter of the Wrox’s upcoming title Professional ASP.NET MVC 1.0. The free eBook provides an end-to-end walkthrough of building NerdDinner.com application. The free eBook and the free Nerddinner application are extremely useful if anyone is trying to lean ASP.NET MVC. If you are a beginner to ASP.NET MVC, I highly recommend checking the eBook and the NerdDinner.com application. You can download the NerdDinner.com application from here.
ASP.NET MVC Tip: Add a new T4 template for making MVCContrib Grid Helper Component
In this tip, I demonstrate how you can add a T4 scaffolding template within the “Add View” dialog of the ASP.NET MVC Framework. I am creating a List scaffolding template for MVCContrib Grid helper component. Earlier, I have blogged about how to use MVCContrib Grid helper component but recently the component has changed a lot and introducing a fluent interface that provides a cleaner and more discoverable API. You can read all details from Jeremy Skinner's blog about the new enhancements of MVCContrib Grid helper component. I am creating the T4 template against the latest trunk of MVCContrib Grid helper.
ASP.NET MVC 1.0 Release Candidate (RC) Released
After 5 CTP versions and 1 Beta version, Microsoft has finally shipped Release Candidate version of ASP.NET MVC 1.0. You can download the RC version from here. One of the new features of ASP.NET MVC 1.0. is the scaffoldig support using Visual Studio's built-in T4. You can read full details from Scott Guthrie's blog post ASP.NET MVC 1.0 Release Candidate Now Available.
I Became Father
Tuesday, the 13th of January 2009, was the most memorable day in my life. I became a father for the first-time! My wife Rosmi and I were blessed with a baby girl. The name of the baby is Irene Rose Shiju. Both Rosmi and Irene are doing great.
xVal - An excellent validation framework for ASP.NET MVC
Steve Sanderson has developed an excellent validation framework for ASP.NET MVC. His validation framework xVal is an open-source project hosted on CodePlex. You can read more details from his blog post xVal - a validation framework for ASP.NET MVC