Browse by Tags
All Tags »
C# (
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...
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...
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...
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...
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...
More Posts
Next page »