Browse by Tags

All Tags » C# » .Net (RSS)
Object Hydrator Fluent Interface Now Type Safe
Thanks to a patch submission by Hakan Forss the Object Hydrator Fluent Interface is now type safe, with all the magic strings removed. The standard inferences are still there so you could do most of your generation without ever using the advanced methods...

Posted by ryansjedi | 2 comment(s)

Filed under: , ,

Object Hydrator - Big changes afoot.
Since last I posted, I've received an awesome implementation of a fluent interface for Object Hydrator from Scott Monnig. We've ditched the Attributes and mapping scenarios in favor of some convention and a fluent interface. So as before this will get...

Posted by ryansjedi | 1 comment(s)

Filed under: , ,

Use Object Hydrator to fake a search result
You can pass values into either the Attribute or the Attribute map, and override the result from the generator. This allows you to fake a search result. So going back to the attribute method and building on the previous example...if I add a value of ...

Posted by ryansjedi | with no comments

Filed under: ,

Simple Object Hydrator Example using manual mapping
You can accomplish the same as the above but without using the Attribute decoration method, but rather a collection of Attributes. Building on the above example, remove all the attributes from FakeCustomer.cs so it looks like this: 1 using System ; 2...

Posted by ryansjedi | with no comments

Filed under: ,

Simple Example of Object Hydrator
I'll be doing this in ASP.NET MVC. WARNING: THIS IS NOT INTENDED TO SHOW BEST PRACTICES OF ASP.NET MVC First download and compile Object Hydrator . Create a new ASP.NET MVC project and add a reference to Foundation.ObjectHydrator from the newly created...

Posted by ryansjedi | 2 comment(s)

Filed under: ,

Object Hydrator fills your objects with random data...on purpose!
First off...long time since I've last written...yeah I guess frequent blogging isn't my thing. But I wanted to post this to solicit feedback from the community about something I've been thinking about lately. Call it DDD, BDD, TDD or a bananna there is...

Posted by ryansjedi | 5 comment(s)

Filed under: ,

Data Access and Data Binding for the new ASP.NET Developer
Today I'm starting a new series of posts regarding Data Access methods and Data Binding with focus on the new developer. There are a multitude of ways to access data with ASP.NET and I will attempt to go through as many as I can, hopefully digging deep...

Posted by ryansjedi | 6 comment(s)

Simplify your life, abstract wherever possible.
I don't know about you but when I'm coding with I frequently find myself doing the same things over and over. One of those things that used to drive me crazy with .Net was retrieving a table from the database and doing something with it. I come from the...

Posted by ryansjedi | 5 comment(s)

Filed under: ,

More Posts