Posts Tagged ‘.NET’

A Type-Safe Cache with Delegates for ASP.NET (also MVC)

Caching is great. It’s what allows all of our favorite websites to run lightning-fast. ASP.NET has a robust caching system built in which can hold value types or serializable reference types. It can also perform caching of output from an ActionResult or PartialViewResult rendered from a controller action method. However, the existing ASP.NET caching has […]

Posted in ASP.NET MVC on Wednesday, February 22nd, 2012. No comments yet

Fixing Authorize.NET’s FormBuilders for ASP.NET MVC

Recently, I was working on a client site and had to implement payment using Authorize.NET. Compared to some other service providers, their documentation and sample code is fairly good. However, when I tried to use their @using (new SIMForm(…)) {} construct, I kept getting forms that looked like crap. It turns out that that class […]

Posted in ASP.NET MVC on Monday, January 30th, 2012. No comments yet
Tags: , ,

.NET – Break up a list into parts

I needed to break up a list into equal parts today, and I found that the code did not exist out there to create chunks to process as a batch. Specifically, i was working on sending emails to a large number of recipients. I created a List(Of T) extension method to break the addresses into […]

Posted in Code on Tuesday, March 29th, 2011. No comments yet

Creating a new row on tab-out of an Infragistics UltraWebGrid

I had a need to do this today, and it took me longer than it should have to research and paste together the fragments I found around the net. I don’t have a whole lot of experience with the Ultra Web Grid and maybe this is something that is obvious for those that do. Below […]

Posted in .NET on Friday, March 18th, 2011. No comments yet