Browse by Tags
All Tags »
C# »
.Net (
RSS)
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...
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...
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 ...
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...
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...
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...
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...
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...
More Posts