
.net
Get flash to fully experience Pearltrees
programming
tools
c#
architecture
wcf
continuousintegration
windbg
.net3.5
hudson
diagnostics
console,
TDD
refactoring
Transactions on object models. Free source code and programming
Introduction Wouldn't it be nice if we could (like in a database) take an object-oriented domain model, start a transaction, do wild things with the data and relationships, and then eventually just roll back these changes? My opinion: Yes, it would! Especially if we tend to use as "less" as possible of the functionalities of a relational database and as much as possible the benefits of object orientation. In those system designs, the possibility of managing object model transactions is necessary.ASP.NET AJAX C Sharp LINQ to SQL ASP Source Code Web Design LINQ to SQL ASP Tutorials ASP Script ASP Database ASP.NET XML CSS Tutorial Learn AJAX ASP Developer
Matt Berseth: A YUI DataTable Styled GridView
This project is now being maintained on Google Code under the new name “Security Switch”. All updates will be posted and tracked there. This article will remain here for educational purposes, but all issues should be reported at its new location. A new version of this library is also available from the Google Code site: http://code.google.com/p/securityswitch/ . Introduction
Switching Between HTTP and HTTPS Automatically: Version 2. Free
.:: Blocks4.NET ::. Free .NET Components
Writing GIS and Mapping Software for .NET. Free source code and
Introduction In part one of this series, I described how to write an interpreter for raw GPS NMEA data. Part two described how to monitor and enforce GPS precision data to develop commercial-quality software. The articles includes source code in C# and VB.NET which harness the power of GPS satellites to determine the current location, synchronize the computer clock to atomic time, and point to a satellite on a cloudy day. Yet, even with all of this code, most developers still need a way to display GPS information along with other geographic features. With the help of my colleague Phil Smith, a lead developer of our “ GIS.NET ” mapping component and the “Geodesy.NET” coordinate and projection library, this article will teach you how to generate your own maps.Hibernate Mapping Cheat Sheet
A many-to-many reference is basically a collection. Class A holds a reference to a set of class B instances (as in the one-to-many case), but B might have multiple A's. This time we cannot have an extra column on Bar as that would dictate that each Bar has only one Foo.I recently stumbled across a blog post demonstrating how to convert enums to strings using the Description attribute. I thought it might be useful to expand on that example by providing a function that reverses the process (e.g. takes in the resulting string and converts it back to the enum). This would allow you to do things like store off the description into a database and load it back into an enum or populate a dropdown list with the descriptions and save the user's selection back into your domain as an enum. Rather than diving straight into code, let's just take a quick look at what the finished product lets you do. Say you have the following enumeration: The code from the original blog post will allow you to retrieve any of the Description attributes by calling the ToDescription extension method:
Mapping Enums to Strings and Strings to Enums in .NET
Exploring System.Web.Routing
Utilities.NET - Home
WaitHandles - Auto/ManualResetEvent and Mutex
Monitor.Wait/Pulse isn't the only way of waiting for something to happen in one thread and telling that thread that it's happened in another. Win32 programmers have been using various other mechanisms for a long time, and these are exposed by the AutoResetEvent , ManualResetEvent and Mutex classes, all of which derive from WaitHandle . All of these classes are in the System.Threading namespace. (The Win32 Semaphore mechanism does not have a managed wrapper in .NET 1.1.FileHelpers: the .Net way to import text files | sides of march
I am working on a project where I have to import data from thousands of text files. These text files vary in formats: they use different delimiters; they use quoted identifiers never, sometimes, or always; they sometimes have missing end-of-row columns. Importing these took a combination of custom scripts (to clean up and reformat) and XML format files for SQL’s BCP (bulk copy) command… until I found FileHelpers. FileHelpers by Marcos Meli is a .Net library which provides services to import and export text in delimited and fixed-length file formats. It takes a unique approach to the file import problem: With support for custom converters, null types, optional fields, before/after import events, extensive parsing rules, and so much more — not to mention a web site with gobs of examples and documentation — FileHelpers has single-handedly driven me away from the script and batch file approach to a much more powerful .Net application to import my files.Introduction I recently started using Marc Clifton's excellent EventPool component to simplify the use of creating and using events. As Marc indicates in his writeup on the component, there are some drawbacks relating to the use of EventArgs based on the limitations of .NET 1, .NET 1.1. Background With the advent of .NET 2 and the introduction of generics, it seemed the ideal opportunity to revisit the EventPool and see what could be done to enhance it.

