Sign in
Objects, Services, and the rants of a lunatic operating out of Microsoft
Have coffee, will travel...
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search Blogs
Tags
.Net
Analysis Services
AppFabric
ASP.Net
C#
Data Access
Dependency Injection
Entity Framework
Free Code
humor
IIS
LINQ
OLAP
Patterns and Practices
Reflection
Security
Services
SOA
SOAP
TDD
Threading
T-SQL
Visual Studio
WCF
Windsor
Archive
Archives
March 2013
(1)
February 2013
(1)
October 2012
(1)
September 2012
(1)
May 2012
(1)
April 2012
(1)
March 2012
(2)
February 2012
(1)
October 2011
(1)
August 2011
(2)
June 2011
(1)
January 2011
(1)
October 2010
(1)
September 2010
(1)
July 2010
(4)
June 2010
(1)
April 2010
(1)
March 2010
(1)
December 2009
(1)
September 2009
(2)
August 2009
(2)
July 2009
(6)
November 2008
(3)
September 2008
(1)
August 2008
(1)
July 2008
(2)
June 2008
(2)
May 2008
(1)
February 2008
(1)
MSDN Blogs
>
Objects, Services, and the rants of a lunatic operating out of Microsoft
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Objects, Services, and the rants of a lunatic operating out of Microsoft
Free Code: Windsor Castle Autofactory Facility
Posted
2 months ago
by
Jimmy Zimms
0
Comments
So I recently was working on a system that used extensive need of delayed factory support for dependencies on our components. Effectively if ClassDepending needed to use ClassDepended, the constructor parameter was instead Func<ClassDepended>. This...
Objects, Services, and the rants of a lunatic operating out of Microsoft
Free Code: WriteOnlySet<T>
Posted
2 months ago
by
Jimmy Zimms
0
Comments
So had a fun business entity that needed a write only set of data that contained no duplicates (involved a security auditing trail if you care to know). That's when I realized we didn't have anything like this in the BCL. So here's a fun little ISet<T>...
Objects, Services, and the rants of a lunatic operating out of Microsoft
Yes you can execute PARAMETERIZED sprocs with EF Fluent API Code Only (and more!)
Posted
7 months ago
by
Jimmy Zimms
0
Comments
This is really an add-on to this post here . Turns out most people were only thinking that you could execute SQL strings only as opposed to detailed parameterized SQL statements. That's not correct. It's all supported and approved. Scenario 1. Using...
Objects, Services, and the rants of a lunatic operating out of Microsoft
A Case for Test Driven Development
Posted
8 months ago
by
Jimmy Zimms
0
Comments
Powerpoint outline for a class I used to teach regarding the topic of TDD. Recently was asked by a coworker to use this and decided to share with the world. Download as use as needed for your own training. Written in 2005 and references Visual Studio...
Objects, Services, and the rants of a lunatic operating out of Microsoft
Simple WCF netMsmq Example (or Step 1 to stop reinventing yet another MSMQ clone)
Posted
11 months ago
by
Jimmy Zimms
4
Comments
It's pretty obvious that MSMQ is a bit of a dark art out there. People know it exists, everyone knows someone somewhere that knows a guy who once did something with it, and like practitioners of esoteric arts, the technology is looked upon with distrust...
Objects, Services, and the rants of a lunatic operating out of Microsoft
There's no kill switch on awesome...
Posted
over 1 year ago
by
Jimmy Zimms
0
Comments
Been meaning to post this for a long while now. Pretty much sums me up :) thanks to Scott Adams and his wonderful wit!
Objects, Services, and the rants of a lunatic operating out of Microsoft
Powershell Automation and Remoting (a c# love story)
Posted
over 1 year ago
by
Jimmy Zimms
2
Comments
OK all of you readers out there should know and love Powershell by now and you are using it constantly, right? If not get on with it! One of the most exciting things that came out of version 2 was the ability to perform remoting. Basically the ability...
Objects, Services, and the rants of a lunatic operating out of Microsoft
Estimating the size a cube
Posted
over 1 year ago
by
Jimmy Zimms
0
Comments
where the set of D is dimensions and the set of M is measures. Let F(x) calculate the number of members and G(x) the size of the member. Debate. edit: I should have noted this is the approximation of the size. Depending on storage system there...
Objects, Services, and the rants of a lunatic operating out of Microsoft
Yes you can execute sprocs with EF Fluent API Code Only
Posted
over 1 year ago
by
Jimmy Zimms
1
Comments
OK let’s make this clear. You can totally call SQL Functions, SQL SPROCS, or any other raw SQL statement and use it in EF Code Only. What you don’t get is automatic or fluent API configuration statements that perform this mapping work for...
Objects, Services, and the rants of a lunatic operating out of Microsoft
Yes, you CAN use "firm" XAML Services in AppFabric
Posted
over 2 years ago
by
Jimmy Zimms
0
Comments
First of all, I don't actually have a better term for tradtional use of XAML compiled as part of an assembly (BAML format) other than to coin the term "firm" XAML in response to the now common term, "loose xaml" (.xamlx files). If you have a better term...
Objects, Services, and the rants of a lunatic operating out of Microsoft
Map private properties with EF Fluent API
Posted
over 2 years ago
by
Jimmy Zimms
3
Comments
So until we get EF 4.2 and the support for enumerations as first class citizens those of us needing support have resigned ourselves to the simple fact that we are forced to expose a property for the integer value for EF to use and wrap that value with...
Objects, Services, and the rants of a lunatic operating out of Microsoft
Specifying Specific Dependencies with Windsor Fluent Registration
Posted
over 2 years ago
by
Jimmy Zimms
0
Comments
So it's become apparent that the documentation (actually concrete examples in my personal opinion) for Windsor Container are a little lacking in the area of showing people how to indicate a specific component instance registration for depenency injection...
Objects, Services, and the rants of a lunatic operating out of Microsoft
SQL Tip of the Day
Posted
over 2 years ago
by
Jimmy Zimms
2
Comments
HAd this passed to me from the SQL Tips DL here at the 'soft and decided to repost it here to 1. remember about it and 2. share the tidbit INSERT MULTIPLE RECORDS WITH TABLE VALUE CONSTRUCTOR Author: Saleem Hakani (Microsoft Corporation) ...
Objects, Services, and the rants of a lunatic operating out of Microsoft
Windsor Container Series
Posted
over 2 years ago
by
Jimmy Zimms
0
Comments
It's no secret that I am a fan of Windsor Container. Here's a really great series of Advanced Windsor Container Tricks posts that I am linking here for reference Registering Delegates & A Delegate Factory Facility Auto registration How...
Objects, Services, and the rants of a lunatic operating out of Microsoft
Silverlight, Faults, and HTTP Status Codes
Posted
over 3 years ago
by
Jimmy Zimms
0
Comments
So plenty has been written about the mismatch in between the Silverlight browser plug-in and WCF messaging with fault use cases over HTTP. For those of you that didn't know about this then here's your chance to catchup: According to the documentation...
Objects, Services, and the rants of a lunatic operating out of Microsoft
Using reflection to determine if an event is static
Posted
over 3 years ago
by
Jimmy Zimms
0
Comments
So if you happen to have an EventInfo class and need to determine if the event is static or instance, it isn't actually immeidately clear if this is supported. Most of the MemberInfo basic types expose a property named IsStatic that indicates if this...
Objects, Services, and the rants of a lunatic operating out of Microsoft
Interested in POCO Entity Framework 4?
Posted
over 3 years ago
by
Jimmy Zimms
0
Comments
Editorial note: EF 4.1 was released as part of the .Net 4 Platform Update 1 release. You should use the information at http://blogs.msdn.com/b/adonet/archive/2011/04/11/ef-4-1-released.aspx for training now. For those of you interested in POCO In EF4...
Objects, Services, and the rants of a lunatic operating out of Microsoft
Making exception messages meaningful
Posted
over 3 years ago
by
Jimmy Zimms
0
Comments
Now that’s a great exception message. I think we all can take a clue from the Castle team when it comes to making exceptions meaningful. Instead of next time effectively saying "something went wrong" with our exceptions, really spell out exactly...
Objects, Services, and the rants of a lunatic operating out of Microsoft
Modifying ASP.Net Providers at Runtime
Posted
over 3 years ago
by
Jimmy Zimms
1
Comments
How to add providers at runtime programmatically So if you are like me, you are a fan of not reinventing the wheel. This is especially true of components like Membership, Roles, Authentication, Personalization and whatnot. While I take some issue with...
Objects, Services, and the rants of a lunatic operating out of Microsoft
Unit Testing Repositories, a rebuttal. Or "How to use proper decoupling to unit test the repository pattern"
Posted
over 3 years ago
by
Jimmy Zimms
0
Comments
For primers, you need to read this post first: http://buffered.io/2008/07/29/unit-tests-boldly-crossing-boundaries-and-gently-breaking-rules/ So the other day I received an email from a group that I am assisting in understanding TDD, Test Concepts...
Objects, Services, and the rants of a lunatic operating out of Microsoft
Indispensable Visual Studio Gallery Extensions
Posted
over 3 years ago
by
Jimmy Zimms
0
Comments
A simple list of items no developer should be without. VS 2010 Productivity Tools http://visualstudiogallery.msdn.microsoft.com/en-us/d0d33361-18e2-46c0-8ff2-4adea1e34fef OData Visualizer http://visualstudiogallery.msdn.microsoft.com/en-us/f4ac856a...
Objects, Services, and the rants of a lunatic operating out of Microsoft
Yet Another WCF Service Instance Provider
Posted
over 3 years ago
by
Jimmy Zimms
0
Comments
So here's a lightweight handy WCF service instance provider that takes a slightly different approach than most of what we've seen so far. Usually most people want to use an IInstanceProvider implementation to work with their DI container of choice. Common...
Objects, Services, and the rants of a lunatic operating out of Microsoft
DataServices, IErrorHandlers, Exceptions and the Gulf between them.
Posted
over 3 years ago
by
Jimmy Zimms
0
Comments
OK I am going to let you in on a dirty little secret about Astoria based services. This secret is probably not even known to you. Ready to hear it? Really? Well here it is: You'd better never have anything go wrong as you'll never know it. It devours...
Objects, Services, and the rants of a lunatic operating out of Microsoft
Query Providers ARE Still Data Access Code!!
Posted
over 4 years ago
by
Jimmy Zimms
0
Comments
So everyone reading this (or at least hopefully everyone) will know that putting data access logic into the UI is anti-pattern of all anti-patterns. I am going to sidestep the issue of simple utilities and one-off screens and trivial applications for...
Objects, Services, and the rants of a lunatic operating out of Microsoft
An alternative to the WIF ClaimsPrincipal IsInRole implementation (free code)
Posted
over 4 years ago
by
Jimmy Zimms
0
Comments
So let me start with by saying that I love the Geneva Framework. Stuart Kwan and team have so far produced a most excellent product. In fact, we were so impressed with it we struck an agreement with the WIF team back in early 2008 to get access to the...
Page 1 of 2 (45 items)
1
2