Category: ASP.NET
GitHub is free now!
I am very happy to get the message today that GitHub is freee for use the private…
![]()
Handle the custom exception in ASP.NET MVC
Introduction The ASP.NET exception is not user friendly, so we should create our custom exception handler, but…
![]()
How to use code first and data migration with ServiceStack.OrmLite
ntroduction ServiceStack.OrmLite is an Open Source, Fast, Simple, Typed ORM for .NET, the performance is better than…
![]()
Dynamic to generate menu items with MVCSiteMapProvider
The MVCSiteMapProvider is powerful and can generate the site map menu from xml, but sometime you may…
![]()
Customizing authentication in MVC
Introduction If you want to develop a web application which requires authentication or security features not included…
![]()
How to create and download file with Ajax in ASP.NET MVC
Introduction When you use the Ajax call in ASP.NET MVC, you just can return a JSON object but not a file, if you want to do that, you need to create and save the file in server and return it’s path to Ajax, after that, you can call a redirect link for download the file, because this is a temp file, so you should need to delete it after download.
![]()






