trinidadcoder

Stories submitted by trinidadcoder

Code Contracts: Learning to use Interface Contracts(www.dimecasts.net)

submitted by trinidadcodertrinidadcoder(265) 2 years ago

Taking a look at how to utilize some additional features in the Code Contracts library to validate the state of our application. We are going to focus this episode on the feature of adding contracts to interfaces via buddy classes. This is a powerful feature as it allows us to inherit our contracts from interfaces. read more...

add a comment |category: |Views: 13

tags: another

Abstracting away Dependencies for Simpler code (dimecasts.net)

submitted by trinidadcodertrinidadcoder(265) 2 years, 7 months ago

Taking a look at the pain points around having direct knowledge of a web service can bring for not only testing, but in running your application. Once we understand the pain points we will take a look at how to abstract them away with the adapter pattern. read more...

add a comment |category: |Views: 296

tags: another

Introduction to AutoMapper(dimecasts.net)

submitted by trinidadcodertrinidadcoder(265) 3 years ago

take a look at how we can simplify our entity mapping by using AutoMapper. AutoMapper uses a fluent configuration API to define an object-object mapping strategy. AutoMapper uses a convention-based matching algorithm to match up source to destination values. Currently, AutoMapper is geared towards model projection scenarios to flatten complex object models to DTOs and other simple objects, whose design is better suited for serialization, communication, messaging, or simply an anti-corruption layer between the domain and application layer. read more...

add a comment |category: |Views: 516

tags: another

Retrieving data from a REST service using C#(devlicio.us)

submitted by trinidadcodertrinidadcoder(265) 3 years, 3 months ago

Taking a look at how to retrieve data from a REST based service using C# read more...

add a comment |category: |Views: 44

tags: another

Posting data to a REST service using C#(devlicio.us)

submitted by trinidadcodertrinidadcoder(265) 3 years, 3 months ago

Taking a look at how you can post data to a REST service using C#. read more...

add a comment |category: |Views: 450

tags: another

Learning how to create a simple Fluent DSL via Method Chaining(dimecasts.net)

submitted by trinidadcodertrinidadcoder(265) 3 years, 3 months ago

Take a look at how to create a simple Fluent DSL which is built via Method Chaining. We will build this DSL from the ground up and talk about the various decisions which were made along the way. This is just a simple example of how you can create a internal DSL for your application with very little effort. read more...

add a comment |category: |Views: 321

tags: another

Mapping a One-To-Many Relationship with Fluent-NHibernate w/ Composite(devlicio.us)

submitted by trinidadcodertrinidadcoder(265) 3 years, 3 months ago

Taking a look at how to setup the NHibernate mappings using Fluent-NHibernate when you have a One-To-Many relationship which uses composite-id's. read more...

add a comment |category: |Views: 136

tags: another