Modify or Override the default t4 templates in MVC

When you create a new View or Controller in a mvc project. It is T4 templates to generate the piece of code for a new view or controller. The templates are located in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\CSharp\Web\MVC 3 or C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\CSharp\Web\MVC 3 We can bring these templates to our local … Continue reading Modify or Override the default t4 templates in MVC

Create a MVC 3 web solution template – Part 1, Create template projects

I am implementing a web application visual studio 2010 template at work. So it saves everyone’s time on a fresh start project. I decide to have 3 layers, presentation layer – web mvc3, business layer, and data access layer. I have created a MVC3.WebTemplate solution with 3 projects, Business.Template , Data.Template and Web.Template. Let’s see … Continue reading Create a MVC 3 web solution template – Part 1, Create template projects

Life Saving Links

IDE tools Productivity Power Tools http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef Codesion (Secure project hosting website, free for 1 developer @ 200 MBs ) http://codesion.com/ Visual Studio (dark color themes, easy on eyes!) http://weblogs.asp.net/scottgu/archive/2010/04/29/download-and-share-visual-studio-color-schemes.aspx Fiddler (Http tool) http://fiddler2.com/fiddler2/ FireBug (javascript and html tool!) http://getfirebug.com/ Web Developer plugin (Firefox) https://addons.mozilla.org/en-US/firefox/addon/web-developer/ (Chrome) https://chrome.google.com/webstore/detail/bfbameneiokkgbdmiekhjnmfkcnldhhm Dependency Injections: Unity ( IoC ) http://unity.codeplex.com/ Structure Map … Continue reading Life Saving Links