Avoid the cache data in ASP.NET MVC raizor page
The MVC view data cache is good but sometime we just want to reset the page’s value with binding Model, and you will find the value can not be reset, such link in a...
1,415 total views, 4 views today
The MVC view data cache is good but sometime we just want to reset the page’s value with binding Model, and you will find the value can not be reset, such link in a...
1,415 total views, 4 views today
Introduction The ASP.NET exception is not user friendly, so we should create our custom exception handler, but for some situation, we maybe didn’t handle the error and user will see the ASP.NET build error. For...
9,693 total views, 1 views today
ntroduction ServiceStack.OrmLite is an Open Source, Fast, Simple, Typed ORM for .NET, the performance is better than EntityFramework and more flexible. You can find more detail in their GitHub site. And in this article,...
8,350 total views, 1 views today
There are many of times we need to pass data from backend controller to javascript, in ASP.NET MVC, we can use @VariableName to get backend variable, but this just for that case you write...
10,171 total views, 6 views today
The MVCSiteMapProvider is powerful and can generate the site map menu from xml, but sometime you may want to dynamic to generate the menu by user access rights, in this time we can use...
10,756 total views, 1 views today
Introduction If you want to develop a web application which requires authentication or security features not included in the regular ASP.NET membership feature, you might decide to implement these features yourself. But it seems...
7,873 total views, 1 views today
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. 18,008 total views, 3 views today
18,008 total views, 3 views today