.net

TwitterFacebook
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. http://www.codeproject.com/Articles/33960/Transactions-on-object-models
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 http://pagesinxt.com/?dn=mattberseth2.com&fp=nLBb%2Bo%2BEal%2Fk%2FEWMG4iCQO2kMzLvHIM%2BHTV9NG%2FRXkc8yxhUMyClJY7YwHT0EGibhrza2Yhgs3YDc%2BJa%2FwmWgw%3D%3D&prvtof=nbKQlNe1DjyWP9Sdvyko7ctwXkpjJjpgk9U1RVZQpRA6YgnAP0EArSXbg1C69GluJ602OSJZ4VS%2FbGcexCspkyt0V3J3N3gsPn4m8TBJGFBsBsh2QW0ymkUDqzSEx7VW&poru=6vdKXFuZAGAJe%2FSolfZjCbfNfxGhMawK1Z%2B5KhFBjIKLk1XT%2BIDy9Nu1HJ913PvA4d5GP5WlvUnMf5iMG5yypm2yx%2BnT7nWmSwVZ2vS4C%2B0%3D&cifr=1&flrdr=yes&nxte=js

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

http://www.codeproject.com/Articles/7206/Switching-Between-HTTP-and-HTTPS-Automatically-Ver
http://www.blocks4.net/FreeProducts/FreeProducts0.aspx Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application.

.:: 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. http://www.codeproject.com/Articles/28528/Writing-GIS-and-Mapping-Software-for-NET
http://www.ndpsoftware.com/HibernateMappingCheatSheet.html

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: http://www.kevinwilliampang.com/2008/09/20/mapping-enums-to-strings-and-strings-to-enums-in-net/

Mapping Enums to Strings and Strings to Enums in .NET

Exploring System.Web.Routing

http://www.codethinked.com/post/2008/08/20/Exploring-SystemWebRouting.aspx Most of you have probably been hearing a lot recently about the new ASP.NET MVC framework and the many features that it has which will hopefully simplify web development for those of us that want to get “closer to the browser”. One of the features that they were initially implementing for the MVC framework was a new routing engine that gives you a flexible way of mapping urls to specific pages in your application. Early on they realized that the System.Web.Routing infrastructure was not only applicable to ASP.NET MVC, but could be used in any ASP.NET application to allow for much easier url rewriting. (They also realized that they wanted to use it in the Dynamic Data stuff!) Because of this they moved Routing out of the System.Web.Mvc namespace and into the System.Web namespace.
http://utilities.codeplex.com/ Project Description Utilities.NET is a collection of helpers and components for quickly solving common .NET programming tasks. Areas covered include:

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. http://www.yoda.arachsys.com/csharp/threads/waithandles.shtml

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.

The EventPool revisited - The Code Project - C# Programming