by Ira
27. February 2008 18:17
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]
by Ira
25. February 2008 18:07
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]
by Ira
23. February 2008 17:54
You a Visual Studio user? A lot of us are. If you are the only develoer working on a project, then you have the luxury of choosing your own format for your code files. Cleaning up code files when working in a team however, can be much more difficult. Especially when you run into files that everything seems like it is everywhere! Methods, properties and fields just strewn throughout the code file without any rhyme or reason of their positioning in the code file. Well, if you are a C# programmer and you hav...
[More]
by Ira
22. February 2008 19:16
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]
by Ira
21. February 2008 22:38
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]