This is work-in-progress list of my ASP.NET Best Practices. They each deserve more explanation plus code samples, which I will eventually write and link to.
Make your http://t.co/hdxeE4s5KY Controllers partial classes + ViewModels and Actions in the same file #dotnet
— Douglas Tarr (@tarr11) July 11, 2013
Make your service class partial and keep DTOs and service methods as method-per-file #dotnet
— Douglas Tarr (@tarr11) July 11, 2013
Use ICollection or IList to avoid leaking your Entity Framework IQueryable into your Controller and View #dotnet
— Douglas Tarr (@tarr11) July 11, 2013
Create a service per resource (db, search, email, etc) and a master service that your controller calls #dotnet
— Douglas Tarr (@tarr11) July 11, 2013
Avoid the code->run->debug loop by creating an integration suite to write your db / search / querying code #dotnet
— Douglas Tarr (@tarr11) July 11, 2013
Use ViewModels to keep logic out of your views and make them more testable #dotnet
— Douglas Tarr (@tarr11) July 11, 2013