Query Providers ARE Still Data Access Code!!

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 the purposes of this discussion. We’re instead focusing on real applications with non trivial…

0

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 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 source tree so that we…

0

Handling the Tri-state asynchronous result dilemma

So in most programming languages and environments you have will define an operation that performs some type of interesting work. Let’s call that ReallyInterestingMethod()™. ReallyInterestingMethod accepts any number of inputs and returns exactly one output (void or value as some type). The language contract (if supported i.e. Java) or documentation will also state the number…

0

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 collection. You can read the fully bits here before continuing. I decided that methinks this is a case for some extension methods! If you are someone that wants to tweak this behavior to support the pattern outlined by Spook…

0

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 of the newer interesting ones at least). He’s been kind enough to put me up squating on his site for years now but I really should just leverage the MSDN blog access I have. Big…

0

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 expression would look like on the wire, provided it has limited capabilities allowed such as F(G(K(x))) = y F(G( [K(x) {attribute}] )) = y where selector was evaluated as some XPath perhaps?   In addition, the…

0

Services discussion with Alex James

This is a posting part of a converstation going on between myself an Alex James, metadata thinker/engineer/PM par excellence here at Microsoft. You can find the start of the conversation here. I’ve decided to not be an ass and write a disertation in the comments section of his blog and am posting here instead. Now…

0

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 to read. Reusable IQueryable base classes Where and reusable Expression tree visitor Local variable references Select Improved Column binding Nested queries Join and SelectMany OrderBy Removing redundant subqueries GroupBy and Aggregates More of everything…

0

If only…

0

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 versions of IIS, the anonymous user allowed classic ASP content to be isolated by using a different anonymous user for each site. Isolation was accomplished by preventing ASP scripts from reverting back to the process identity,…

0