My fantastic Webdings Logo

Reamped.NET

XML Thingey... It's a Technical Term


Site Wide User Notification Server Control

Some of you may have read my previous post Creating a Simple Site Wide User Notification Pattern. Upon a revision round of thinking, I thought it may be better to actually have a server control. This would offer some significant advantages, the biggest one being that we could drop the BaseMasterPage. Having the control be a strongly typed server control, we could find it on the page by it's type. We would also only have one place to go to maintain the code, rather than digging through a user controls ... [More]

Implementing Interfaces: ICloneable and IComparable

A friend of mine was showing me about some common interfaces and some good use cases for them the other day. A discussion arose of how to accurately create a deep copy of an object and the best way to go about it. Shortly after that discussion we got into the Sort() method and how to dictate how that method will sort your objects. This is when he spilled into telling me all about these common interfaces. So I decided to try to put together a good sample of these and the best way I could gather to implemen... [More]

Creating a Simple Site Wide User Notification Pattern

When creating websites, it seems that one problem I always run into is how to gracefully notify the user of errors or display messages to them. In most of my sites I use master pages, so I thought it would be pretty sweet to integrate a messaging pattern into my master pages. I also wanted a quick access method to the notification system from any point in the code-behind of the website that was short and simple to call. The messaging pattern should also ajax aware, and notifications should work in both a ... [More]

Custom Entity Classes Using LINQ to SQL Part 3 - Queries

Multi-Part Series Custom Entity Classes Using LINQ to SQL Part 1 - DataObjects Custom Entity Classes Using LINQ to SQL Part 2 - Data Custom Entity Classes Using LINQ to SQL Part 3 - Queries So in the first part of this series we made some DataObjects and used attributing from the System.Data.Linq.Mapping namespace to make our DataObjects LINQ visible. Then in the second part of this series we made LINQ aware of our child DataObjects along with created the actual data store and a custom DataCon... [More]

Custom Entity Classes Using LINQ to SQL Part 2 - Data

Multi-Part Series Custom Entity Classes Using LINQ to SQL Part 1 - DataObjects Custom Entity Classes Using LINQ to SQL Part 2 - Data Custom Entity Classes Using LINQ to SQL Part 3 - Queries In my last post, Part 1 I showed the overview of how to set up your own entity classes or "DataObjects". This time, we are going to set up our inheritence mapping on the Animal class to inform LINQ that we have the child classes Penguin and Monkey. We already put the "Table" attribute on... [More]

Custom Entity Classes Using LINQ to SQL Part 1 - DataObjects

Multi-Part Series Custom Entity Classes Using LINQ to SQL Part 1 - DataObjects Custom Entity Classes Using LINQ to SQL Part 2 - Data Custom Entity Classes Using LINQ to SQL Part 3 - Queries Have you ever wanted to use the LINQ technology without being bound to the "LINQ to SQL Classes" item in Visual Studio? I know I have! I was wondering if there was a way to use LINQ, but doing it with my own DataObjects in either a ground up project or an add in scenario. It just so happens you ca... [More]