Elmah with Programmatic Configuration

If you are not familiar with the Elmah library, that’s okay, it’s a really basic concept. Simply put, it’s a lightweight easy to use library that integrates with ASP.NET that will capture all uncaught errors and store them for you...

Read More

Meetup: .NET Harmony with EF Code First, ASP.NET Web API, & OData

This week I will be presenting at a local .NET User Group meeting in Barrie, ON (www.northoftoronto.net) some of the efficiency's to be gained out of the latest from Entity Framework Code First, ASP.NET Web API, and OData (and don't...

Read More

.NET Bundling & Minification – 10 Key Notes

Bundling and Minification support within ASP.NET (Web Forms & MVC) finally arrived in .NET 4.0, and has had a good course of use over the past year. If you are anything like me and upgrading your projects from .NET 3.5...

Read More

Integrating AngularJS in a Tight Spot

Another title for this post might have been “Using AngularJS with ASP.NET Update Panels” as that was the circumstance I found myself in. However, the method of manually bootstrapping AngularJS framework applies to just about any tight spot you would...

Read More

Background Threads in ASP.NET with IRegisterObject

Running or spawning off some threads in ASP.NET is a fantastic way to get some work done faster. However, it is also a recipe for disaster if you are not careful. Interestingly enough, I ran across a blog posting by...

Read More

ASP.NET 4.0 Url Routing and Modules

Was working on an ASP.NET website this past week that got flipped over to ASP.NET 4.0 without the team really being aware of the change. A very apparent bug popped up, where a http module we had running on every...

Read More

External Project Resource (RESX) Consumption

Using resource files can sometimes be troublesome when you need a particular resource in both a Web application mark-up or code-behind and inside a business tier or data model. When you push the Resx file further back into you’re project,...

Read More

Elmah Error Logging without HttpContext

For those that use or have used Elmah for error handling, you may have gotten quite use to its logging modules and handlers. If you are not quite sure what Elmah is or what it can do…. you should probably...

Read More

Custom Dundas Chart Handler

Dundas charts are fantastic in terms of some of the charting ability. In configuration you can specify exactly how you want to store the charts you are creating. This includes memory and file system for the most part. However, there...

Read More

Programmatic Impersonation

It is often a requirement in your web application to run with impersonation on. This ensures that the users credentials are directly related to whoever is logged in. However, sometimes you need access to a local file system in which...

Read More