About Brent

This author has not yet filled in any details.
So far Brent has created 78 blog entries.

January 20, 2016

Preventing Enter button from expanding detail rows on Kendo UI Grid

By |2016-01-20T09:47:29+00:00January 20th, 2016|Categories: ASP.NET, MVC, Telerik|

Admittedly this is a pretty custom/specific use of the Kendo UI Grid, but just in case someone else needs to do this type of thing, you never know... Scenario: I have an application that makes use of the Kendo UI grid. Specifically the hierarchacal version of the grid with expanding detail rows. The grid uses inline [...]

September 24, 2015

Selenium vs Coded UI Thoughts

By |2015-09-24T16:41:06+00:00September 24th, 2015|Categories: C#, MVC, Testing|

I should mention that this is not intended to be a full in-depth review and comparison of the two UI testing frameworks, just a quick post on my general thoughts after using both of them on the same project. I have recently started work on introducing some basic automated UI tests to one of our solutions. [...]

June 22, 2015

How to Use the Log4Net StringMatchFilter

By |2015-06-22T21:30:12+00:00June 22nd, 2015|Categories: C#, Handy Tools/Utilities, Misc. Fixes|

Log4Net is a very powerful, easy to use logging tool, so it's no surprise that so many .NET developers use it in their applications. One under documented (at least in my opinion) feature of it, is the use of filters to be more specific about what you want your appenders to filter out. Recently, in an application [...]

Unobtrusive Validation with Kendo UI DropDownList

By |2018-03-05T22:29:42+00:00June 13th, 2015|Categories: ASP.NET, Misc. Fixes, MVC, Telerik|

Really short post here. If you are trying to use jQuery unobtrusive validation with Kendo UI's DropDownList , you might notice that it doesn't work right out of the box. The form will simply validate, and will not actually check your selected value. This is a pain if you're trying to validate that a field is required. [...]

VSLive 2015 in Austin, TX!

By |2018-06-27T17:47:50+00:00June 4th, 2015|Categories: ASP.NET, C#, General Technology, IIS, MVC, SQL Server, Testing|Tags: , |

I'm writing this post from the Austin airport as I'm getting ready to head home after a very educational 4 days in Austin for VSLive 2015. I wanted to quickly write down a lot of key points from all of the sessions I attended. I figure writing about something is a good way to retain a [...]

May 14, 2015

February 3, 2015

Custom 401 error pages in MVC alongside Windows Authentication

By |2018-03-05T22:32:04+00:00February 3rd, 2015|Categories: ASP.NET, IIS, MVC|Tags: , , |

We use windows authentication for a lot of our web apps, but also want to serve up a custom 401 error page when users are not authorized to log in. This is tricky because this specific 401 error is handled directly by IIS, rather than the application itself, because it's a windows directory permission. I spent [...]

January 3, 2015

Libraries for Unit Testing MVC5 Controllers

By |2015-01-03T17:25:04+00:00January 3rd, 2015|Categories: C#, General Technology, MVC, Testing|Tags: , |

There are various libraries available to help you unit test your controller actions, returned views and models, and action results with MVC. One that I have recently started using is TestStack.FluentMVCTesting. This library allows you to perform actions on your controllers within your unit tests, and then verify, with a fluent syntax, that those actions behaved [...]

September 17, 2014

WordPress Infinite 302 Redirect loop on login after Reverting or Overwriting Folders

By |2014-09-17T16:48:15+00:00September 17th, 2014|Categories: Wordpress|Tags: , |

A few weeks ago, I updated a WordPress installation to 4.0, only to find out that the theme it was using, was not yet fully compatible with 4.0. So in order to revert to a prior version of WordPress, I had to download the version I wanted, and remove and re-upload only the wp-admin and wp-includes directories. [...]

August 28, 2014

Mocking a generic ObjectSet or IObjectSet for Unit Testing Entity Framework Business Logic

By |2014-08-28T21:35:42+00:00August 28th, 2014|Categories: C#, Testing|Tags: |

Up until this point, I had mostly been using nHibernate for my ORM solution in most applications I work on. So when I started diving into Entity Framework (EF) models and trying to write unit tests against logic that lives in EF entities, I first encountered the ObjectSet<T> type. Now to be clear, I was not [...]

Go to Top