Exception Not Found

The Beginner's Guide to LINQ in .NET

Just want the code? Download the sample project from GitHub [https://github.com/exceptionnotfound/LINQExamples]! What is LINQ? LINQ stands for Language INtegrated Query, a feature of .NET that was released as part of version 3.5 way back in 2007. It greatly improved the ability of C# and VB

Welcoming the Coming Death of WebForms

Just about a month ago, Microsoft announced ASP.NET 5 [http://www.asp.net/vnext/overview/aspnet-vnext/aspnet-5-overview], what's being characterized as a ground-up rewrite of this venerable framework. Improvement big and small abound; two of the ones I'm looking forward to the most are TagHelpers [http://www.hanselman.com/

X509CertificateValidationMode in .NET 4.5

I'm setting up a service using .NET 4.5 to run with a new app we're writing which uses X509CertificateValidationMode: client.ClientCredentials.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.None; This service was build in .NET 4.0, where that enumeration exists in System.ServiceModel.Security. However, I was getting compilation errors when

Using .NET Reflection to Map DataTables to Strongly-Typed Models

NOTE: I've got a more thorough version of this post up at Mapping DataTables and DataRows to Objects in C# using Reflection [https://www.exceptionnotfound.net/mapping-datatables-and-datarows-to-objects-in-csharp-and-net-using-reflection] . Check it out! We're in the process of converting an old ASP.NET WebForms application to MVC. For this particular project, we are

TempData and FlashMessage in ASP.NET MVC

Create a useful FlashMessage using ASP.NET MVC's TempData construct. Sample project included!

Exception Not Found © 2026