Browse by Tags

All Tags » C# (RSS)

Extend ASP.NET MVC for Asynchronous Action by JeffreyZhao

The current version of ASP.NET MVC doesn’t support async actions and that’s just ‘the missing key feature’ I mentioned before. These days I’m preparing for the session in the coming .NET conference in Shanghai (that Jeffrey Richter would also attend) and I think it’s better to release a better solution at that time: straightforward, rather full-featured and light-weighted – the core funtion contains only about 200 lines of codes, which means it maximize the usage of existing framework functions to make the solution more stable, efficient and backward-compatible....
Filed under: , , , ,

Fast Reflection Library by JeffreyZhao

Reflection is one of the most important features of .NET platform. The way of accessing/assigning a property or invoking a method dynamically is widely used by numerous projects. As we all know, invoke-by-reflection is much less efficient than direct access. FastReflectionLib provide the same as part of the refection features like executing method dynamically but give simple and faster implementations. It can be use as the foundation of reflection-based scenarios such as ORM framework....
Filed under: , ,

LINQ to SQL Extension: Batch Deletion with Lambda Expression by JeffreyZhao

Batch deletion in the O/R Mapping frameworks is always depressing. If we want to make batch deletion with LINQ to SQL, we'll probably execute a SQL command in souce code. To avoid making batch deletion with SQL commands, I build an extension method for LINQ to SQL and now we can use lambda expression to indicate the entities shoud be deleted from the table in database....
More Posts