Articles from .NET 1.x

Singleton Pattern

By Michael Flanakin @ 7:17 AM :: 6285 Views :: .NET 1.x, .NET 2.0, Patterns, Proven Practices :: Digg it!

Problem: You need to provide access to one and only one instance of a specific resource.

Read on for the solution, real world example, and downloadable code...

.NET Coding Standards

By Michael Flanakin @ 12:09 PM :: 11363 Views :: .NET 1.x, .NET 2.0, Proven Practices :: Digg it!

This document outlines the minimum recommended coding standards to be followed for .NET development. These standards are a set of simple conventions that yield the following benefits:

  • Increased readability
  • Reduce maintenance effort
  • Facilitate code sharing and reusability

The standards in this paper were extracted and refined from the Microsoft Developer Network (MSDN) Coding Techniques and Programming Practices and other MSDN website resources.

Note: While I have completed the stand-alone document, I have not published it in its entirety online, yet. I will be doing that shortly, hopefully. In addition to publishing the online version, I plan on cleaning up the document and publishing it for download and use within your projects.

Read on for the rest of the article...

Latest update: Added the full Formatting Conventions and Visibility Conventions sections.

.NET Data Providers for Oracle

By Michael Flanakin @ 12:03 PM :: 4740 Views :: .NET 1.x, .NET 2.0, .NET 3.0, .NET 3.5 :: Digg it!

While working on a project that was having issues with the Oracle's data provider for .NET (ODP.NET), I found myself looking for alternatives, which led me to a hunt for supported connection string attributes. I must say that this search was harder than I originally thought it would be. Perhaps I wasn't looking for the right thing, but I figured I'd document what I found here for future use and hopefully to help someone else out. If anyone has any information on what I've gathered here, please don't hesitate to let me know. My hopes are to gather as much valid information as possible; or, if there's already a good, up-to-date resource available with this information, I'd have no problem linking to that.

Most recent update: Added connection string info for Oracle provider and details about Active Directory authentication.

Updated Jan 25, 2008

Implementing HTTP Handlers in ASP.NET

By Michael Flanakin @ 4:23 PM :: 8782 Views :: .NET 1.x, Patterns :: Digg it!

As I mentioned before, it was hard to find information on how to setup an ASP.NET HTTP handler when I first started out. Of course, after time, I've found a wealth of articles, posts, and comments from others on these and other related topics. As my second post in the HTTP module/handler saga, I hope to give you an in-depth discussion on the topic of handlers to include pros, cons, and a sample implementation that you can extend.