Blog Directory logo  Blog Directory
Submit a Blog in Featured for only $10 with PaypalFeatured BlogsBlog Listing
Member - { Blog Details }

hero image

blog address: http://findnerd.com/list/view/ASP-NET-MVC-Do-s-and-Dont-s-or-Best-Practices/4043/

keywords: Asp.Net, ASP.NET, MVC Best Practices, MVC DO And DONT, Mvc

member since: Nov 24, 2015 | Viewed: 245

ASP.NET MVC Do's and Dont's or Best Practices

Category: Technology

Hello Friends, Asp.net MVC is now getting more popular day by day, So before dealing with MVC we need to understand some Do's and Dont's of it. This blog will help you to understand Do's and Dont's of ASP.NET MVC. mvc.net ASP.NET MVC Do's and Dont's / Best Practices Old Version of JQuery and Third party references. While adding any third party tool like KendoUI, Angular js or even simple JQuery files sometime we won’t add latest references for them which creates issues at later stage or somewhere having performance issues. Try using updated reference for these files. Bundling and Minification Bundling is a simple logical grouping of files that could be referenced by unique name and loaded with single http requestor, Basically it reduces the number of individual HTTP requests to server. Where as Minification is a process of removing unnecessary whitespace, line break,comments and other unnecessary characters including long variables name renaming to shorter like “EmployeeFirstName” to “e”, from code to reduce its size thereby improving load times. Don’t use “magic strings” Dont use ViewData[“key”], but always create a ViewModel per each View, and use strongly-typed views like:- ViewPage< ViewModel>. User Base Controller Enforce your own Base Controllers (having security and other settings) to inherit from all controllers. Delete the sample code which is not needed Most of the application still have these code file which we never use and it’s a bad practice to keep demo code in your applications. Put all validation logic in the model. In MVC we preferred DataAnnotations for validation. These annotations are added as attributes to the properties of.... See more at: http://findnerd.com/list/view/ASP-NET-MVC-Do-s-and-Dont-s-or-Best-Practices/4043/



{ More Related Blogs }
© 2025, Blog Directory
 | 
Google Pagerank: 
PRchecker.info
 | 
Support
  •  Login
  • Register
  • 6 Ways To Use Digital Signage For Corporate Communication | FriendMedia

    Technology

    6 Ways To Use Digital Signage ...


    Sep 14, 2015
    Low-Code Digital Transformation Strategies for Business Growth

    Technology

    Low-Code Digital Transformatio...


    May 24, 2024
    CustomSoft EHR Software Development

    Technology

    CustomSoft EHR Software Develo...


    Feb 8, 2016
    Tech news in Bengali

    Technology

    Tech news in Bengali...


    Apr 27, 2021
    How Offering Sales Can Benefit Your Internet Business.

    Technology

    How Offering Sales Can Benefit...


    Apr 12, 2016
    Spy Android App: A must for all the parents

    Technology

    Spy Android App: A must for al...


    Mar 25, 2023
               Submit a Blog
               Submit a Blog