Randy Patterson

Code To Live, Live To Code

  • Home
  • About

28

Sep

POCO and Unity Application Block Part II

Posted by randypatterson  Published in C#, Unity Application Block

In my previous post I covered the configuration of the Unity Application Block for Constructor Injection without modifying the class being injected.  In this post I will cover Property Injection and how write API and XML configuration.
The following code has a dependency on the ILogger class exposed through a public property in line 10 (Property [...]

Bookmark It

Add to Del.icio.us Add to digg Add to DotNetKicks Add to DZone
Add to Google Bookmarks Add to reddit Add to Slashdot Add to Stumble Upon
Add to Technorati Add to Twitter Add to Yahoo My Web

Continue reading...

Tags: IoC, Unity

no comment

22

Sep

POCO and Unity Application Block Part I

Posted by randypatterson  Published in C#, Unity Application Block

Using Plain Old CLR Objects (POCO) with the Unity Application Block
Plain old CLR objects is a term borrowed from Java (POJO) that refers to objects that are not entangled with framework specific code or dependencies.  For Example, when classes have multiple constructors you can add the [InjectionConstructor] Attribute to the constructor that you want Unity [...]

Bookmark It

Add to Del.icio.us Add to digg Add to DotNetKicks Add to DZone
Add to Google Bookmarks Add to reddit Add to Slashdot Add to Stumble Upon
Add to Technorati Add to Twitter Add to Yahoo My Web

Continue reading...

Tags: IoC, Unity

1 comment

21

Sep

POCO and Unity Application Block Part I

Posted by randypatterson  Published in Unity Application Block

Using Plain Old CLR Objects (POCO) with the Unity Application Block
Plain old CLR objects is a term borrowed from Java (POJO) that refers to objects that are not entangled with framework specific code or dependencies.  For Example, when classes have multiple constructors you can add the [InjectionConstructor] Attribute to the constructor that you want Unity [...]

Bookmark It

Add to Del.icio.us Add to digg Add to DotNetKicks Add to DZone
Add to Google Bookmarks Add to reddit Add to Slashdot Add to Stumble Upon
Add to Technorati Add to Twitter Add to Yahoo My Web

Continue reading...

Tags: IoC, Unity

no comment

16

Sep

Presentation on the Unity Application Block at the Sarasota Users Group

Posted by randypatterson  Published in Events, Unity Application Block

I will be speaking about the Unity Application Block, Dependency Injection and Inversion of Control at the Sarasota .Net Users Group.
Wed, September. 17, 2008 at 6:00pm – 8:00pm.   Location: Sarasota Community Foundation, 2635 Fruitville Rd., Sarasota, FL 34237 (just west of Tuttle on the north side of Fruitville).
The Microsoft Unity Application Block is a [...]

Bookmark It

Add to Del.icio.us Add to digg Add to DotNetKicks Add to DZone
Add to Google Bookmarks Add to reddit Add to Slashdot Add to Stumble Upon
Add to Technorati Add to Twitter Add to Yahoo My Web

Continue reading...

Tags: CodeCamp, IoC, Unity

no comment

RSS

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Tags

Azure CodeCamp IoC Podcast Presentation ReSharper TFS Unit Test Unity VS2010

Categories

  • C# (8)
  • Deals (2)
  • Events (11)
  • Patterns (4)
  • Podcast (5)
  • ReSharper (3)
  • TFS (1)
  • Uncategorized (7)
  • Unit Tests (1)
  • Unity Application Block (7)
  • What Burns Me (1)

Recent Posts

  • Support The National Day of Prayer
  • ReSharper and the Method Group Refactor
  • Moved my Blog
  • Installing VS 2010 in XP Mode
  • TFS Basic Version

Twitter

  • RT @dotnetblogs: #shanselman: A New Podcast for Developers - This Developer's Life http://ow.ly/18RfJQ-3 hours ago
  • going to go see vampires suck with my daughter. I'll have to laugh when she does because I wont understand a thing-3 days ago
  • WIndows Live Sync is the new Live Mesh http://tcrn.ch/ceh2oR-4 days ago
  • got a signed copy of @sdorman new C# book!!-1 week ago
  • RT @devfish: tampa/orlando web firestarters - http://bit.ly/9opxrF #fldev-1 week ago
  • I am constantly impressed with the quality and content of the RadioLab Science poscast http://bit.ly/Od4Ek-1 week ago
  • Reality is frequently inaccurate - Douglas Adams-1 week ago
  • Reminder: IASA Meeting tonight: @absolutdeno presenting Delivering SOA with Silverlight and WCF RIA Services http://bit.ly/aRCSuc-1 week ago

Comments

  • olegsych on Moved my Blog
  • Ed Holloway on TFS Basic Version
  • Jeff P on The Power of the Predicate<T>
  • Jeff Odell on Beginning ReSharper
  • Jeff Odell on POCO and Unity Application Block Part I

Recent Entries

  • Support The National Day of Prayer
  • ReSharper and the Method Group Refactor
  • Moved my Blog
  • Installing VS 2010 in XP Mode
  • TFS Basic Version
  • Windows Azure Commercial Release this year!
  • Orlando Code Camp 2009 – Unity Presentation Slides and Code
  • Speaking at the South Florida Code Camp
  • Call for Speakers
  • Beginning ReSharper
  • Random Selection of Posts

    • POCO and Unity Application Block Part I
    • Presentation on the Unity Application Block at the Sarasota Users Group
    • Speaking at the South Florida Code Camp
    • Tampa User Group Meeting for October
    • MSDN Article on Dependency Injection
    • Moved my Blog
    • ReSharper and the Method Group Refactor
© 2008 Randy Patterson. WordPress. Free email sender software
Theme designing by Mark Hoodia