Latest posts tagged on ".NET"


In this post, we will explore some important tips while working on MVC. Note that while jotting down these tips, MVC4 was used. In latest versions like MVC 5 or MVC 6. These tips are useful while working hands on MVC. Here are some important tips for ASP.NET MVC:-

  1. Disable Request Validation
  2. Cache Your Data
  3. Isolate Data Access Logic from the Controller
  4. Using a Master View Model
  5. Use Strongly Typed Models
  6. Use Data Annotations for Validation
  7. Take Advantage of Model Binding
  8. Cache Pages that Contain Shared Data or are Public and don't Require Authorization
  9. Use Extension Methods
  10. Take Advantage of Model Binding