ASP.NET MVC Tips, Tricks and Hidden Gems

14,538 views

Published on

Slides from my session at the virtual conference - aspConf 2012.

Published in: Technology, Economy & Finance
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
14,538
On SlideShare
0
From Embeds
0
Number of Embeds
10,788
Actions
Shares
0
Downloads
0
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

ASP.NET MVC Tips, Tricks and Hidden Gems

  1. 1. ASP.NET MVCTips, Tricks andHidden GemsShayFriedman, CodeValue@ironshay
  2. 2. TTHG #1 use NuGet USE IT ALL THE ******* TIME!!! Shay Friedman @ironshay
  3. 3. TTHG #2 work with model validation Shay Friedman @ironshay
  4. 4. TTHG #3 use view models Shay Friedman @ironshay
  5. 5. TTHG #4 handle unknown actions Shay Friedman @ironshay
  6. 6. TTHG #5 write razor helpers Shay Friedman @ironshay
  7. 7. TTHG #6 use razor outside asp.net mvc with RazorEngine Shay Friedman @ironshay
  8. 8. TTHG #7 remove unused view engines Shay Friedman @ironshay
  9. 9. TTHG #8 add namespaces to views Shay Friedman @ironshay
  10. 10. TTHG #9 precompile your views Shay Friedman @ironshay
  11. 11. TTHG #10 send emails with Postal Shay Friedman @ironshay
  12. 12. TTHG #11 loose the magic strings with T4MVC Shay Friedman @ironshay
  13. 13. TTHG #12 speed things up with output caching Shay Friedman @ironshay
  14. 14. TTHG #36create user-friendly action names Shay Friedman @ironshay
  15. 15. TTHG #14 use [ChildActionOnly] for child actions Shay Friedman @ironshay
  16. 16. TTHG #15 explore the codebase Shay Friedman @ironshay
  17. 17. resources http://asp.net/mvc http://aspnet.codeplex.com http://aspnetwebstack.codeplex.com http://nuget.org Shay Friedman @ironshay
  18. 18. @ironshay

×