Brent

About Brent

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

March 22, 2016

Nuget Package Visualizer Extension for VS2015

By |2016-03-22T10:22:26+00:00March 22nd, 2016|Categories: C#, Handy Tools/Utilities|Tags: |

Currently the Nuget Package Visualizer is not available in VS2015. (https://github.com/NuGet/Home/issues/1264) We like to use this tool to get a good overview of our Nuget package dependencies. It can also be helpful when troubleshooting build issues, specifically with retrieving packages. Using Pascal's code as a good base to start from (thanks!), I created a Nuget Package [...]

January 29, 2016

Transform a C# list into a DataTable

By |2016-01-29T08:59:53+00:00January 29th, 2016|Categories: C#|

Just a quick post about a very handy method I found on Stack Overflow. This lets you transform a list of C# objects into a data table. This can be very handy for debugging purposes, if nothing else. Being able to quickly see a large list of objects and all of their properties in one nice [...]

Creating a collapse all, expand all button on the Kendo UI Grid

By |2016-01-28T16:39:25+00:00January 28th, 2016|Categories: ASP.NET, MVC, Telerik|

The Kendo UI grid has some great functionality out of the box, especially it's ability to handle hierarchcal data with detail item templates. I wanted to include a expand/collapse all button right within my grid. Here was the code I used to do it. Credit to Daniël from http://www.telerik.com/forums/collapse-all-grid-rows on giving me the code I needed [...]

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 [...]