Browse by Tags

All Tags » .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 - The SqlDataSource Part 3
In the previous posts we dropped a table from the Server Explorer onto our design surface and saw how a SqlDataSource was created with T-SQL statements to populate the basic functions of our control. In the second part we replaced our T-SQL with stored...

Posted by ryansjedi | with no comments

Data Access - The SqlDataSource Part 2
In our last post we showed what happened when you drag and drop a table onto the design surface, a fully functional (including sorting, paging, updating and deleting) SqlDataSource with T-SQL populating the command fields. While this scenario makes for...

Posted by ryansjedi | 3 comment(s)

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)

LOL Code - IN YR SKEDYUL SKEDYULIN YR GAMEZ
So I had my first chance to work with the DLR and LOLCODE today while for a lark I rewrote a solution to one of Windows Scripting Games event as highlighted on Scott Hanselman's blog . To install the runtime requirements check out this page on Scott's...

Posted by ryansjedi | 1 comment(s)

Filed under: , ,

More Posts Next page »