DotNetShoutout - Stories tagged with StructureMap
5
Shouts

Inversion of Control Containers - Things Every Senior .NET Developer Should Know, Part 3

published 541 days, 14 hours, 50 minutes ago posted by Matt_TCFMatt_TCF 544 days, 21 hours, 14 minutes ago
Monday, December 26, 2011 8:15:27 AM GMT Friday, December 23, 2011 1:51:34 AM GMT
Think you're a senior developer? Not yet senior, but interested in taking the next step? Today’s topic in the "Things Every Senior .NET Developer Should Know" series will cover Dependency Injection, Inversion of Control containers, and my favorite Inversion of Control container, StructureMap. (more)
category: How To | clicked: 49 | 1 comment | | source: trycatchfail.com
tags: IoC, Inversion of control, Patterns, dependency injection, StructureMap
3
Shouts

Yet Another Approach to NHibernate Session-Per-Method-Call Using StructureMap

posted by Matt_TCFMatt_TCF 561 days, 17 hours, 33 minutes ago
Tuesday, December 06, 2011 5:31:49 AM GMT
There are several documented approaches you can follow to implement the session-per-method-call pattern with NHibernate and StructureMap. The majority of these approaches fail to leverage the full capabilities of StrurctureMap and are therefore more complex than they need to be. In this short post, I’ll show you how you can implement a simpler solution by utilizing StructureMap’s nested containers. (more)
category: Web Dev | clicked: 20 | comment | | source: trycatchfail.com
tags: webservices, NHibernate, WCF, StructureMap
8
Shouts

Clean and clear configuration with StructureMap - Context is King

published 872 days, 6 hours, 9 minutes ago posted by thangchungthangchung 875 days, 4 hours, 32 minutes ago
Saturday, January 29, 2011 4:56:16 PM GMT Wednesday, January 26, 2011 6:32:44 PM GMT
Today, I will continue to sharing some knowledge that I know about StructureMap on Multi-layers application. So I think everyone also know about Multi-layers application, in past we often used the 3 layers (Presentation, Business Logic and Data Access), but by the time maybe we had more than 3 layers as well. In past, when I used Spring.NET framework for IoC container, I must make many configuration in XML file (who knew about XML hell???), it is ... (more)
category: Architecture | clicked: 11 | comment | | source: weblogs.asp.net
tags: StructureMap
5
Shouts

AOP with StructureMap Container - Context is King

published 875 days, 3 hours, 43 minutes ago posted by thangchungthangchung 876 days, 6 hours, 49 minutes ago
Wednesday, January 26, 2011 7:22:06 PM GMT Tuesday, January 25, 2011 4:16:21 PM GMT
Source code for this post can be found in my git. The first thing I want to say is what is a AOP? So we need to know about the definition of it, yes starting now. Aspect Oriented Programming (AOP) was originally developed in the late 1980’s at the Xerox Palo Alto Research Center (PARC). All software that is developed has concerns. A concern is a goal, concept or area of interest. In most software there are two types of concerns, core concerns and system level concerns. Previous development meth... (more)
category: Architecture | clicked: 3 | comment | | source: weblogs.asp.net
tags: StructureMap
6
Shouts

Unity, Castle Windsor, StructureMap, Ninject – who has best performance?

published 1000 days, 4 hours, 16 minutes ago posted by gpeipmangpeipman 1002 days, 3 hours, 27 minutes ago
Thursday, September 23, 2010 6:48:59 PM GMT Tuesday, September 21, 2010 7:38:06 PM GMT
I made quick comparison of performance of four DI/IoC containers. I measured Unity, Castle Windsor, StructureMap and Ninject in two scenarios – resolving objects with empty constructor and resolving object with injected parameters in its constructor. Results are here. (more)
category: How To | clicked: 25 | comment | | source: weblogs.asp.net
tags: Unity, DI/IoC, Performance, Ninject, StructureMap, Castle Windsor
5
Shouts

Inversion of control (IOC containers) .NET IOC patterns

posted by http://agafonovslava.blogspot.com/http://agafonovslava.blogspot.com/ 1006 days, 11 hours, 36 minutes ago
Friday, September 17, 2010 11:29:05 AM GMT
IoC is not a new concept, however. It has been around for several years now. Using object-oriented design principles and features such as interface, inheritance, and polymorphism, the IoC pattern enables better software design that facilitates reuse, loose coupling, and easy testing of software components. This article discusses IoC and demonstrates how to use this pattern in your software design without having to implement any of the open source frameworks. (more)
category: Architecture | clicked: 24 | comment | | source: blog.agafonov.net.ua
tags: Unity, IoC, S2Container.NET, Spring.NET, LinFu, Ninject, tinyioc, Hiro, Autofac, LightCore, Puzzle.NET, StructureMap, Castle Windsor, PicoContainer.NET
5
Shouts

ServiceLocator in ASP.NET MVC 3 – Part 2 - Coding N Design

published 1033 days, 11 hours, 15 minutes ago posted by http://sankarsan.myopenid.com/http://sankarsan.myopenid.com/ 1033 days, 16 hours, 15 minutes ago
Saturday, August 21, 2010 11:50:09 AM GMT Saturday, August 21, 2010 6:50:07 AM GMT
In my earlier post I had discussed about the Common Service Locator framework (IServiceLocator interface)and how we can implement an adapter for the StructureMap container.In this post we will take look into how the new ASP.NET MVC provides support to plug in this ServiceLocator. (more)
category: Web Dev | clicked: 3 | comment | | source: codingndesign.com
tags: ASP.NET MVC 3, StructureMap
7
Shouts

ServiceLocator in ASP.NET MVC 3 Preview 3 – Part 1 - Coding N Design

published 1045 days, 8 hours, 32 minutes ago posted by http://sankarsan.myopenid.com/http://sankarsan.myopenid.com/ 1046 days, 11 hours, 27 minutes ago
Monday, August 09, 2010 2:32:49 PM GMT Sunday, August 08, 2010 11:38:29 AM GMT
For past couple of days I was checking out features of the new ASP.NET MVC Preview 3.There are couple of interesting new additions like integration with the new Razor viewengine,improvements in Model Validation,AJAX support and Dependency Injection.In this post we will discuss on, how ASP.NET MVC 3 has streamlined the ability to register/retrieve objects/service... (more)
category: Web Dev | clicked: 4 | comment | | source: codingndesign.com
tags: ASP.NET MVC 3, StructureMap, Service Locator
8
Shouts

Test-Driven Development – From Painful to (Near) Zero Friction

published 1055 days, 11 hours, 4 minutes ago posted by Matt_TCFMatt_TCF 1056 days, 19 hours, 36 minutes ago
Friday, July 30, 2010 12:01:01 PM GMT Thursday, July 29, 2010 3:29:21 AM GMT
I don’t like development friction. I especially don’t like testing friction. Over the last several years, my approach to test-driven development and the style of test cases I create has changed drastically in an effort to eliminate testing frication. To illustrate, I’ve created my first ever screencasts. In these screencasts, I use TDD to implement a class in RageFeed. Starting with very coarse, high-friction unit tests, I’ll show you how you can gradually reduce the friction by creating better tes... (more)
category: Screencast | clicked: 3 | comment | | source: trycatchfail.com
tags: .NET, TDD, Testing, Moq, BDD, StructureMap
4
Shouts

Authenticating Against Multiple Domains with C# & StructureMap

published 1069 days, 10 hours, 30 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 1069 days, 17 hours, 28 minutes ago
Friday, July 16, 2010 12:35:23 PM GMT Friday, July 16, 2010 5:36:50 AM GMT
In my place of work, we had a vendor come in and try to sell us a product that couldn’t authenticate to multiple domains. Well, we have multiple domains. Their suggestion was to consolidate into one…obviously we’re not using their product. So, in an effort to help out, I thought I’d share a method of authenticating to multiple domains. (more)
category: Web Dev | clicked: 2 | comment | | source: derans.blogspot.com
tags: .NET, StructureMap
3
Shouts

Raven DB – Part 1 – DocumentSession per request with StructureMap

published 1114 days, 12 hours, 24 minutes ago posted by http://daniewat82.myopenid.com/http://daniewat82.myopenid.com/ 1114 days, 23 hours, 46 minutes ago
Tuesday, June 01, 2010 10:41:04 AM GMT Monday, May 31, 2010 11:19:22 PM GMT
I am a big fan of the repository and session per request patterns and have been using these when working with NHibernate for the last few years. Whenever I currently implement these patterns with NHibernate I use an IOC container to manage the lifetime of the NHibernate session (per request), with Raven I decided to do the same to manage the DocumentSession (per request) and also the DocumentStore (singleton). (more)
category: Architecture | clicked: 7 | comment | | source: www.dotnetguy.co.uk
tags: Raven DB, StructureMap
8
Shouts

MvcExtensions – Custom Service Registration - Kazi Manzur Rashid's Blog

published 1126 days, 11 hours, 30 minutes ago posted by mithumithu 1128 days, 4 hours, 51 minutes ago
Thursday, May 20, 2010 11:35:34 AM GMT Tuesday, May 18, 2010 6:13:46 PM GMT
In this post, I will show you how you can register your custom services in your preferred IoC container and how the MvcExtensions will integrate it with the rest of the application. One of the goal of MvcExtensions is, unlike the ot... (more)
category: Web Dev | clicked: 5 | comment | | source: weblogs.asp.net
tags: Unity, ASP.NET MVC, IoC/DI, ASPNETMVC, Ninject, Windsor, Open Source, Autofac, MVC, MVCExtensions, StructureMap, ASP.NET
9
Shouts

Google Calendar Management with MVC & StructureMap

published 1164 days, 12 hours, 1 minute ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 1168 days, 16 hours, 9 minutes ago
Monday, April 12, 2010 11:03:51 AM GMT Thursday, April 08, 2010 6:55:46 AM GMT
I recently read John Petersen’s blog entitled “Adding Google Charts to your ASP MVC Applications” and I thought it was a pretty cool read. I thought I’d do a similar one taking advantage of the Google Data API SDK. In order to get started, you’ll need to do some setup by following the awesome instructions Google provides called Getting Started with the .NET Client Library to setup the SDK. Let’s get to the code! First things first, create a calendar repository interface like this: (more)
category: Web Dev | clicked: 6 | comment | | source: derans.blogspot.com
tags: ASP.NET MVC, google sdk, StructureMap
4
Shouts

Setting up ASP.NET MVC with Fluent NHibernate and StructureMap | Kevin William Pang

published 1168 days, 9 hours, 13 minutes ago posted by http://kevinpang.myopenid.com/http://kevinpang.myopenid.com/ 1169 days, 6 hours, 26 minutes ago
Thursday, April 08, 2010 1:51:53 PM GMT Wednesday, April 07, 2010 4:39:18 PM GMT
On a yet-to-be-released side project of mine, I decided to use Fluent NHibernate, StructureMap, and ASP.NET MVC. It took me awhile to get everything to play together nicely, so I documented the steps I took in case anyone out there was interested in using in a similar setup. (more)
category: Web Dev | clicked: 17 | comment | | source: www.kevinwilliampang.com
tags: ASP.NET MVC, Fluent NHibernate, NHibernate, StructureMap
5
Shouts

CodeJunkies | My project setup, Part 1 - Initialization

published 1201 days, 7 hours, 1 minute ago posted by http://jakobsson.myopenid.com/http://jakobsson.myopenid.com/ 1203 days, 2 hours, 39 minutes ago
Saturday, March 06, 2010 4:04:10 PM GMT Thursday, March 04, 2010 8:25:52 PM GMT
A while ago I wrote a post about what tools and frameworks I use in my web applications. Now I thought I'd write a small series about how I use those tool. In this first part I'll write about the initial setup and how I use my ioc container. (more)
category: Architecture | clicked: 0 | comment | | source: codejunkies.se
tags: ASP.NET MVC, StructureMap
4
Shouts

Try-Catch-FAIL - Using StructureMap to provide strongly-typed access to AppSettings

published 1223 days, 11 hours, 13 minutes ago posted by Matt_TCFMatt_TCF 1223 days, 23 hours, 41 minutes ago
Friday, February 12, 2010 11:52:09 AM GMT Thursday, February 11, 2010 11:24:35 PM GMT
You can use StructureMap to easily provide strongly-typed access to configuration data stored in your app.config file. Here's how! (more)
category: Architecture | clicked: 1 | comment | | source: trycatchfail.com
tags: IoC, Configuration, StructureMap
8
Shouts

Use StructureMap and Castle DynamicProxy to easily change the semantics of your code

published 1240 days, 9 hours, 31 minutes ago posted by sedanwersedanwer 1244 days, 11 hours, 32 minutes ago
Tuesday, January 26, 2010 1:33:47 PM GMT Friday, January 22, 2010 11:33:36 AM GMT
In this posting my intentions are to show you how to use Inversion of Control (IoC), with the help of StructureMap, for being able to easily switch the semantics of e.g entities in a model with the change of a few lines in the StructureMap configuration. I will use it to go from plain classes to dynamically generated proxies, using Castle DynamicProxy. The proxied version will add the attributes: Serializable and DataContract. I will not implement any interception, but I will setup a empty interceptor wh... (more)
category: Architecture | clicked: 23 | 1 comment | | source: daniel.wertheim.se
tags: IoC, Castle DynamicProxy, StructureMap
7
Shouts

Introduction to Dependency Injection Using StructureMap

posted by http://azamsharp.myopenid.com/http://azamsharp.myopenid.com/ 1259 days, 7 hours, 30 minutes ago
Thursday, January 07, 2010 3:34:57 PM GMT
Formally known as GridViewGuy Videos | Podcasts Introduction to Dependency Injection Using StructureMap AzamSharp Published Date: 1/6/2010 1:04:40 PM Views: 59 Abstract: Dependency injection is a process of supplying an external dependency to a component. In this article we will learn how to use StructureMap as our dependency injection container. Scenario: The scenario involves an ASP.NET MVC application and the ... (more)
category: Architecture | clicked: 3 | comment | | source: www.highoncoding.com
tags: StructureMap
7
Shouts

Dependency Injection in Asp.net MVC using MVC Contrib - on code

posted by ironkittenironkitten 1259 days, 17 hours, 41 minutes ago
Thursday, January 07, 2010 5:24:00 AM GMT
A simple introduction to dependency injection in asp.net MVC (more)
category: Web Dev | clicked: 1 | comment | | source: suhair.in
tags: ASP.NET MVC, Dependecy Injection, StructureMap
7
Shouts

Elegant Code » Advanced Unity: Connecting Implementations to Open Generic Types

published 1274 days, 15 hours, 38 minutes ago posted by https://me.yahoo.com/mosessaur#7fe0dhttps://me.yahoo.com/mosessaur#7fe0d 1276 days, 12 hours, 25 minutes ago
Wednesday, December 23, 2009 7:27:27 AM GMT Monday, December 21, 2009 10:40:40 AM GMT
Jimmy Bogard has an excellent post called “Advanced StructureMap: connecting implementations to open generic types” which he uses the StructureMap IOC container to connect messages to handlers. This is something I have been using in my codebase to handle domain events, as well as a publish/subscribe mechanism for WCF message handling. I learned about this Handler (more)
category: Architecture | clicked: 3 | comment | | source: elegantcode.com
tags: Unity, IoC, IoC/DI, DI, StructureMap
Previous 1 2 Next