Web Performance (edit)
Techniques that you can use to develop a high performance ASP.NET application:
- State management
- Data access
- Page and server controls
- Web applications
- Coding practices
- Page and server controls
- Web applications
- Coding practices
- Caching
Speed Optimization in ASP.NET MVC 5 Web Applications
1. Measure everything
2. Pick the low-hanging fruit first
3. Enable compression
4. Reduce HTTP requests
5. HTTP/2 over SSL
6. Minify your files
7. Load CSS first
8. Load JavaScript last
9. Shrink images
10. Check your queries
11. Cache your pages
12. Cache parts of your pages
13. Content delivery network (CDN)
14. Shrink your libraries
15. Avoid client-side redirects
Tối ưu ảnh
https://www.toptal.com/developers/css/sprite-generator
Tối ưu js files
http://lisperator.net/uglifyjs/
EF6 CodeFirst View Generation T4 Template for C#
https://marketplace.visualstudio.com/items?itemName=PawelKadluczka-MSFT.EF6CodeFirstViewGenerationT4TemplateforC
Tối ưu câu lệnh query trong EF 4,5, and 6 - Updated: October 23, 2016
https://msdn.microsoft.com/en-us/library/hh949853(v=vs.113).aspx
Performance Considerations for EF 4, 5, and 6 - Updated: October 23, 2016
https://msdn.microsoft.com/en-us/library/hh949853(v=vs.113).aspx
10 Ways to Speed Up Your ASP.NET MVC Application
https://www.danylkoweb.com/Blog/10-ways-to-speed-up-your-aspnet-mvc-application-EL
1. Application Caching
2. Optimize Your Images
3. Use Sprites
4. ETags
5. Bundle/Minify JavaScript/CSS
6. Compression/Zip
7. Minified HTML
8. Use AJAX When You Can
9. Minimize Database Calls
10. Use third-party services where they make sense
My Top 5 ASP.NET MVC ActionFilters
http://www.danylkoweb.com/Blog/my-top-5-aspnet-mvc-actionfilters-AD
Configuring HTTP Compression in IIS 7
How AJAX is like pepper
How do I improve ASP.NET MVC application performance? (HAY HAY HAY)
https://stackoverflow.com/questions/2246251/how-do-i-improve-asp-net-mvc-application-performance
Optimize ASP.NET MVC Application Performance
https://www.codeproject.com/Tips/1052064/Tips-Optimize-ASP-NET-MVC-Application-Performance
8 Steps To Make Your ASP.NET MVC Website Faster
https://www.c-sharpcorner.com/UploadFile/8a67c0/8-steps-make-your-Asp-Net-mvc-website-faster/
Repository pattern + Unit of Work pattern
https://www.danylkoweb.com/Blog/aspnet-mvc-data-layer-access-your-data-layer-through-unique-requests-PV
Implementing AJAX in ASP.NET MVC
https://www.codeproject.com/Tips/886473/Implementing-AJAX-in-ASP-NET-MVC
Implement secure ASP.NET MVC applications
https://www.codeproject.com/Articles/288631/Secure-ASP-NET-MVC-applications