Returning JsonResult From ASP.NET MVC 2.0 Controller and Unit Testing
I’m adding this comment after the post has been written to let anyone coming here know of another great post that goes further to explain no only what I’ve done here, but also two other ways…
Using Reflection in C# to Figure Out if an Integer List Has Values
So, I’ve struggled some with this and did not have much help with searching. Here is the problem. You have a declaration that looks like this: 1: public partial class CompanyQuery { 2: public List <…
Using Method.Invoke to avoid a lengthy Case Statement in C# (Using Reflection)
So, I asked the following question in at http://forums.asp.net/t/1408631.aspx The problem is, I’ve got 30 methods that all have the same signature, but have different implementations.& 160; Mike…