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# (7)
  • Deals (2)
  • Events (11)
  • Patterns (4)
  • Podcast (5)
  • ReSharper (2)
  • TFS (1)
  • Uncategorized (6)
  • Unit Tests (1)
  • Unity Application Block (7)
  • What Burns Me (1)

Recent Posts

  • 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

Twitter

  • Made it to Houston airport in time. Rush hour traffic is brutal-17 hours ago
  • Just wanted to mention that @olegsych (Tampa C# MVP) has finally joined Twitter!!-21 hours ago
  • RT @unclebobmartin: Nancy Pellosi: "We have to pass the bill so that you can find out what is in it."-1 day ago
  • any of your books preloaded on it? RT @ambroselittle: RT Win a Kindle at #MIX10. Follow @Infragistics to learn how.-1 day ago
  • RT @esawdust: RT @HacknMod: 137 Years of Popular Science now Available for Free http://bit.ly/bRNNip-1 day ago
  • Running Win 7 64-bit? Fix the broken preview thumbnails for PDF files. http://bit.ly/dAVVnH-1 day ago
  • Don't forget to follow @OrlandoCC for the latest news on the Orlando Code Camp later this month-2 days ago
  • Lots of buzz about Amazon releasing a better browser for the #Kindle, I'd rather see better EBook oranization via Folders.-2 days ago

Comments

  • 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
  • Jeff Odell on Resharper Tip #1 – Highlight Usages

Recent Entries

  • 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
  • POCO and Unity Application Block Part II
  • POCO and Unity Application Block Part I
  • Random Selection of Posts

    • ]InBetween[ Microsoft Community Summit 2008 – Free Weekend of Training
    • The Power of the Predicate<T>
    • Mix08 Videos Posted Online
    • Martin Fowler has a Podcast!
    • POCO and Unity Application Block Part I
    • Moved my Blog
    • Welcome
© 2008 Randy Patterson. WordPress. Free email sender software
Theme designing by Mark Hoodia