Tired of looking for errors in log files? Use OneTrueError - Automatic exception management for .NET.

Category Archives: CodeProject

How to use CORS requests in Internet Explorer 9 and below.

This article explains how you can automatically proxy CORS requests (Cross-origin resource sharing) in jQuery without changing your existing code. The proxy is integrated in ASP.NET and works with all ASP.NET libraries like WebForms, Mvc and WebApi.

Posted in CodeProject, Libraries | Tagged , , , | Leave a comment

Introducing the data mapper in Griffin.Framework

As you might know I’m running a .NET exception service called OneTrueError. When I moved from a NoSQL db to SQL Azure I had to be able to work with the database in some way. I’m not using OR/Ms any … Continue reading

Posted in Architecture, CodeProject, Libraries | Tagged , , , | 2 Comments

OneTrueError and the WinForms/WPF integration

OneTrueError is a new startup which also is a member of Microsoft BizSpark. This post is about the client library for WinForms/WPF. It will catch and handle all uncaught exceptions automatically. The errors are also uploaded to our site for … Continue reading

Posted in Architecture, CodeProject, OneTrueError | Tagged , , | Leave a comment

OneTrueError and the WCF integration

OneTrueError has a complete WCF integration following the same pattern as WCF. It makes it a breeze to capture and analyze errors in WCF applications.

Posted in Architecture, CodeProject, OneTrueError | Tagged , | Leave a comment

OneTrueError and ASP.NET

OneTrueError is my new startup which also is a member of Microsoft BizSpark. This post is about the client library for ASP.NET (WebForms/MVC/WebAPI). It will catch and handle all uncaught exceptions automatically. The exceptions are also uploaded to our site … Continue reading

Posted in CodeProject, Libraries, OneTrueError | Tagged , | 1 Comment

Unit of work sample implementation for ADO.NET

This article demonstrates how you can create a Unit Of Work implementation for ADO.NET

Posted in CodeProject | Tagged , | 1 Comment

Introducing OneTrueError.com

OneTrueError.com is my new startup for .NET developers. It’s a bit like ELMAH, but for most of Microsoft’s different frameworks, and with a tad bit of analytics.

Posted in CodeProject, OneTrueError | Tagged | Leave a comment

Alternative to IEnumerable for read-only collections

.NET 4.5 introduced a new interface which is great if you want to expose a collection as readonly. The problem with IEnumerable<T> is that it’s forward only. i.e. there is no guarantee that you can traverse it multiple times. The … Continue reading

Posted in Architecture, CodeProject | 1 Comment

Immutable collections should not implement mutable interfaces

I just read the new blog post about .NETs new mutable collections. It mostly looks really nice, but there is a major problem: They implement mutable interfaces like IList<T> which has an Add() method.

Posted in Architecture, CodeProject | Tagged | 16 Comments

Throwing exceptions

Throwing exceptions is in itself trivial. Just invoke throw with an exception object. But when should you throw? Should you create a new exception or rethrow an old one? What should you include in the exception info?

Posted in Architecture, CodeProject | Tagged | 3 Comments