Browse by Tags

All Tags » C# (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: ,

Flexible Database Persisted Application Settings
Have you ever needed to say replace the location of your images in your application from one location to another, or had a database routine that ran nightly and you wanted to gracefully control access to your application during that process? In this article...

Posted by ryansjedi | 1 comment(s)

Filed under: ,

Linq to SQL Speed Test Interesting Results
So in researching another series I am writing I got a wild desire to do some Linq to SQL performance testing. So I whipped up a database table and populated it with data and went about writing some code. What you'll see in the code is 4 tests one with...

Posted by ryansjedi | with no comments

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 | 3 comment(s)

Overloaded Methods - 101
Before I begin I want to state that this post is intended for those who are unaware of the flexibility that overloading functions can provide, power developers can feel free to move along or provide feedback. Assume you want to pass an optional parameter...

Posted by ryansjedi | 1 comment(s)

Filed under: ,

More Posts Next page »