Happy Coding
Jeffrey Zhao, Microsoft MVP from China, enjoys programming in Microsoft platform every day.
-
Extend ASP.NET MVC for Asynchronous Action
Numerous new features come into people’s eyes since ASP.NET 2.0 and asynchronous request handling is one of the most important parts. It reduces the working thread number by the async mechanism based on IO completion port when processing IO bound request and improves throughput of web sites significantly (please refer to the theory analyzing and benchmarks if you can read Chinese :P). But the current version of ASP.NET MVC doesn’t support async actions and that’s just ‘the missing key feature’ I mentioned before. I gave a so-called solution that introduced the async action to ASP.NET MVC in my session of TechED 2008 China but it’s full of limitations and inappropriate for production use.
-
Fast Reflection Library
This is a project I've created in CodePlex under Microsoft Public License (Ms-PL). You can find it here.
-
Build a Simple Control to Refresh UpdatePanel from Client Side
(It's the post I wrote one year ago in my previous blog which has been cancelled now.)
-
Refresh the UpdatePanel using JavaScript Code
(It's the post I wrote one year ago in my previous blog which has been cancelled now.)
-
LINQ to SQL Extension: Batch Deletion with Lambda Expression
Batch deletion in the O/R Mapping frameworks is always depressing. We need to query all the entities we want to delete from the database, pass them to the DeleteOnSubmit or DeleteAllOnSubmit methods of DataContext, and finally invoke SubmitChanges to delete the records form database. In this case, we will cost an additional query and send lots of "DELETE" commands to database. How wasteful!
-
Giving rich styles to auto-complete feature using StyledAutoCompleteExtender
Auto-complete is one of the key features in ajax style applications. As the most popular ajax toolkit for asp.net development, Ajax Control Toolkit provides AutoCompleteExtender control to build the feature without writing any JavaScript codes. The current version of AutoCompleteExtender is more powerful than before because that the user can input multiple words in the same text box by setting delimiter characters now. But it's still not so useful in some kinds of scenarios - in my opinion - since the control can only support plain text as the choices.
-
IE will be stuck when requests too much? Fake the XHR!
It's one of the articles I wrote in CodeProject, click here to read the original one.