Randy Patterson

Code To Live, Live To Code

  • Home
  • About

26

Sep

How to design a Fluent Interface

Posted by randypatterson  Published in C#, Patterns

Martin Fowler coined the term “FluentInterface” to describe objects that expose an interface that flows, and is designed to be readable and concise.  The cost of this fluency is additional effort required to design the interface for your object and the slight increase in complexity.  These types of interfaces are often utilized to create configurations [...]

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...

2 comments

23

Sep

International Association of Software Architects, Tampa Chapter

Posted by randypatterson  Published in Events

 
This is the inaugural meeting for the Tampa chapter of IASA.  In this meeting we will discuss a number of topics about the group and what to expect going forward.  We are also fortunate to have a Microsoft Architect Evangelist coming into town to speak.
Speaker: Jeff Barnes, Microsoft Architect EvangelistTopic: The Role of the [...]

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...

no comment

21

Sep

Useless Unit Test

Posted by randypatterson  Published in What Burns Me

This is one of the most useless unit tests I’ve encountered

/// <summary>
///A test for GetByLegalCaseID (int)
///</summary>
[TestMethod()]
public void GetTicketByLegalCaseID_Test()
{
TicketEntityModel target = new TicketEntityModel();
int ID = 1;
TicketDataSet actual = target.GetByLegalCaseID(ID);
 
Assert.IsNotNull(actual, “TicketDataSet was not returned.”);
Assert.IsNotNull(actual.Citation, “No Citation table [...]

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...

5 comments

19

Sep

The Power of the Predicate<T>

Posted by randypatterson  Published in C#

The very flexible generic collection List<T> contains several methods that take a predicate as it’s parameter.  Coupled with Anonymous Methods this provides powerfully concise code for filtering, searching and sorting your collections.

List<Person> People = new List<Person>();
People.Add(new Person("Randy", "Patterson", 40));
People.Add(new Person("John", "Smith", 15));
People.Add(new Person("Caity", "Johnson", 13));
People.Add(new Person("Jody", "Patterson", 39));
People.Add(new Person("Chloe", "Dog", 30));
People.Add(new Person("Corey", "Patterson", 18));

For [...]

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...

9 comments

15

Sep

Free Conference Calls in less than 60 seconds

Posted by randypatterson  Published in Deals

Not really related to software development but Instant Conference is one of those gems occasionally found while surfing the tubes.
 
You just give them an email address and you get back a conference number and an access code……..that’s it! The dial in number and access code are dedicated to you and never expire.  While in [...]

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...

no comment

15

Sep

Welcome

Posted by randypatterson  Published in Uncategorized

Welcome back to my Blog.  I’ve had a blog for awhile but, due to a heavy work load,  I haven’t posted anything in over a year.  In the past year I’ve implemented many of the principles of GTD to better manage my professional, personal and online time.  This will, hopefully, allow me to Work, Live [...]

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...

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-2 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

    • Speaking at the South Florida Code Camp
    • Alt.NET Podcast Launched!
    • TFS Basic Version
    • POCO and Unity Application Block Part II
    • Support The National Day of Prayer
    • Windows Azure Commercial Release this year!
    • Orlando Code Camp slides and sample code
© 2008 Randy Patterson. WordPress. Free email sender software
Theme designing by Mark Hoodia