Objects, Services, and the rants of a lunatic operating out of Microsoft

Have coffee, will travel...

Free Code: Deferred calls to IDispose

I've been dealing with heavy use of Stream types recently. Not as in the fairly common usages of...

Author: Jimmy Zimms Date: 06/18/2014

IIS Kerberos Authentication Checklist

Just cross posting so I don't lose track of this....

Author: Jimmy Zimms Date: 05/19/2014

Free Code: Windsor Castle Autofactory Facility

So I recently was working on a system that used extensive need of delayed factory support for...

Author: Jimmy Zimms Date: 03/01/2013

Free Code: WriteOnlySet

So had a fun business entity that needed a write only set of data that contained no duplicates...

Author: Jimmy Zimms Date: 02/28/2013

Yes you can execute PARAMETERIZED sprocs with EF Fluent API Code Only (and more!)

This is really an add-on to this post here. Turns out most people were only thinking that you could...

Author: Jimmy Zimms Date: 10/15/2012

A Case for Test Driven Development

Powerpoint outline for a class I used to teach regarding the topic of TDD. Recently was asked by a...

Author: Jimmy Zimms Date: 09/04/2012

Simple WCF netMsmq Example (or Step 1 to stop reinventing yet another MSMQ clone)

It's pretty obvious that MSMQ is a bit of a dark art out there. People know it exists, everyone...

Author: Jimmy Zimms Date: 05/29/2012

There's no kill switch on awesome...

Been meaning to post this for a long while now. Pretty much sums me up :) thanks to Scott Adams and...

Author: Jimmy Zimms Date: 04/10/2012

Powershell Automation and Remoting (a c# love story)

OK all of you readers out there should know and love Powershell by now and you are using it...

Author: Jimmy Zimms Date: 03/23/2012

Estimating the size a cube

where the set of D is dimensions and the set of M is measures. Let F(x) calculate the number of...

Author: Jimmy Zimms Date: 03/14/2012

Yes you can execute sprocs with EF Fluent API Code Only

OK let’s make this clear. You can totally call SQL Functions, SQL SPROCS, or any other raw SQL...

Author: Jimmy Zimms Date: 02/16/2012

Yes, you CAN use "firm" XAML Services in AppFabric

First of all, I don't actually have a better term for tradtional use of XAML compiled as part of an...

Author: Jimmy Zimms Date: 10/28/2011

Map private properties with EF Fluent API

So until we get EF 4.2 and the support for enumerations as first class citizens those of us needing...

Author: Jimmy Zimms Date: 08/31/2011

Specifying Specific Dependencies with Windsor Fluent Registration

So it's become apparent that the documentation (actually concrete examples in my personal opinion)...

Author: Jimmy Zimms Date: 08/08/2011

SQL Tip of the Day

HAd this passed to me from the SQL Tips DL here at the 'soft and decided to repost it here to 1....

Author: Jimmy Zimms Date: 06/23/2011

Windsor Container Series

It's no secret that I am a fan of Windsor Container. Here's a really great series of Advanced...

Author: Jimmy Zimms Date: 01/19/2011

Silverlight, Faults, and HTTP Status Codes

So plenty has been written about the mismatch in between the Silverlight browser plug-in and WCF...

Author: Jimmy Zimms Date: 10/18/2010

Using reflection to determine if an event is static

So if you happen to have an EventInfo class and need to determine if the event is static or...

Author: Jimmy Zimms Date: 09/18/2010

Interested in POCO Entity Framework 4?

Editorial note: EF 4.1 was released as part of the .Net 4 Platform Update 1 release. You should use...

Author: Jimmy Zimms Date: 07/26/2010

Making exception messages meaningful

Now that’s a great exception message. I think we all can take a clue from the Castle team when...

Author: Jimmy Zimms Date: 07/23/2010

Modifying ASP.Net Providers at Runtime

How to add providers at runtime programmatically So if you are like me, you are a fan of not...

Author: Jimmy Zimms Date: 07/22/2010

Unit Testing Repositories, a rebuttal. Or "How to use proper decoupling to unit test the repository pattern"

For primers, you need to read this post first:...

Author: Jimmy Zimms Date: 07/20/2010

A simple list of items no developer should be without. VS 2010 Productivity...

Author: Jimmy Zimms Date: 06/09/2010

Yet Another WCF Service Instance Provider

So here's a lightweight handy WCF service instance provider that takes a slightly different approach...

Author: Jimmy Zimms Date: 04/14/2010

DataServices, IErrorHandlers, Exceptions and the Gulf between them.

OK I am going to let you in on a dirty little secret about Astoria based services. This secret is...

Author: Jimmy Zimms Date: 03/01/2010

Query Providers ARE Still Data Access Code!!

So everyone reading this (or at least hopefully everyone) will know that putting data access logic...

Author: Jimmy Zimms Date: 12/11/2009

An alternative to the WIF ClaimsPrincipal IsInRole implementation (free code)

So let me start with by saying that I love the Geneva Framework. Stuart Kwan and team have so far...

Author: Jimmy Zimms Date: 09/30/2009

Handling the Tri-state asynchronous result dilemma

So in most programming languages and environments you have will define an operation that performs...

Author: Jimmy Zimms Date: 09/24/2009

Extension methods to reduce AspNet Cookies Collection bugs

My buddy Spook was lamenting the other day about the unintuitive behavior of the ASP.Net Cookies...

Author: Jimmy Zimms Date: 08/07/2009

The blog is dead! Long live the blog!

Well today I decided to take the plunge and move all of my posts out of my buddy's blog (well some...

Author: Jimmy Zimms Date: 08/03/2009

So what would this actually take?

This is a followup on my followup here. After rapping some with Alex I was thinking about what an...

Author: Jimmy Zimms Date: 07/31/2009

Services discussion with Alex James

This is a posting part of a converstation going on between myself an Alex James, metadata...

Author: Jimmy Zimms Date: 07/29/2009

LINQ: Building an IQueryable provider series

A set of links that I'm posting because 1) I don't want to lose them and 2) they're handy for people...

Author: Jimmy Zimms Date: 07/22/2009

If only...

Author: Jimmy Zimms Date: 07/20/2009

Executing IIS7 Requests via Application Pool Identity as Anonymous User

This is handy article I want to keep around for reference. The original thread can be here In prior...

Author: Jimmy Zimms Date: 07/10/2009

Services Thinking: My 2 cents

The genesis of this occured in a personal conversation regarding a friend's issue they are running...

Author: Jimmy Zimms Date: 07/07/2009

WCF VS Item Template Grabbag

The latest in this series. Here's a 'grabbag' of VS item templates you are welcome to. The set...

Author: Jimmy Zimms Date: 11/11/2008

WCF Solution Template

Another in the series of free Visual Studio templates I personally use being posted. This one...

Author: Jimmy Zimms Date: 11/06/2008

NUnit Project Template

This is the first in a long line of custom templates that I use on a daily basis. Nothing too fancy,...

Author: Jimmy Zimms Date: 11/05/2008

Active Directory Sites Tidbit!

FYI, there’s built-in support for Active Directory sites (since 2.0), including support for adjacent...

Author: Jimmy Zimms Date: 09/04/2008

Work Around Your ASP.Net Session Serialization Issues

OK. We're going to assume everyone here knows about ASP.Net Session state. We also will assume that...

Author: Jimmy Zimms Date: 08/24/2008

Creating Nullable When You Don't Know T

This bit came about from a post from Brad Wilson back in July that some of my Magenic buddies sent...

Author: Jimmy Zimms Date: 07/17/2008

Handy Extension Methods

This entry was edited July 16th, 2008 to include an additional extension method courtesy of Alex...

Author: Jimmy Zimms Date: 07/16/2008

Server Side Pagination in T-SQL / LINQ

OK it came as a shock to me that so many people were building huge sets of query data that they are...

Author: Jimmy Zimms Date: 06/25/2008

SIDs in T-SQL

If you are in a situation where you need to pass a windows domain user into SQL then you might want...

Author: Jimmy Zimms Date: 06/25/2008

Who says that Microsoft doesn't have a sense of humor?

Here's my team at Microsoft's EULA Microsoft CorporationEnterprise Services and Business...

Author: Jimmy Zimms Date: 05/14/2008

Threads, meet Transactions...

Using multi threading and transactions in .Net OK this is a pretty simple idea but one that I don't...

Author: Jimmy Zimms Date: 02/19/2008