Development With A Dot
Blog on development in general, and specifically on .NET. Created and maintained by Ricardo Peres.
-
Programming Entity Framework Book
-
Using TransactionScope with ODP.NET
If you are using Oracle Database Provider for .NET (ODP.NET) and you want to use TransactionScope'd transactions, you may have gotten the dreaded "Data provider internal error(-3000) [System.String]" exception. I'll explain how I fixed it.
-
ASP.NET MVC Training Kit Released
Get it here.
-
Enterprise Library 4.1 and Unity 1.2 Hands-on Labs Download - Patterns & Practices
Good news: the long-promised Hands-on Labs for Unity has been released!
-
Changing Thread-Safety Dynamically
Sometimes there may be a need to decide dynamically (through code in your program) whether a class is thread-safe or not. This is the technique I use:
-
ASP.NET MVC 1.0 Released
Get it from http://www.codeplex.com/aspnet, including source code and a sample project.
-
Interface Inheritance
I am normally against having an interface inherit from another one, but there's a situation where I am in favor of it: web service interfaces!
-
Enterprise Library 5 Wish List
Updated!
-
Setting Custom Identity in WCF
WCF was designed to be fully extensible, at all levels. If I want to pass a custom identity (an application-defined username and role and the desired culture) to a WCF web service (not using ASP.NET compatibility mode), this is what I do:
-
Catch All Exceptions
As you may know, an exception is always thrown in the context of a running thread; what happens if there is no try...catch block protecting that thread? The exception is propagated to the application domain level, where, eventually, it will cause your application to crash.