Author Archive: detroitpro

Castle Windsor Web.config or App.config AppSettings Interface

1: container.Register( 2: Component.For<IApplicationConfiguration>().UsingFactoryMethod(() => new DictionaryAdapterFactory() 3: .GetAdapter<IApplicationConfiguration>(ConfigurationManager.AppSettings)));  

Continue Reading

Your open source report card

  Checkout this out. http://osrc.dfm.io/detroitpro Except that it is full of lies! 51% JavaScript to 49% C#

Continue Reading

SQL Replication is too confusing

Here is my SQL use case: Customer has invested in P2P transactional replication in SQL Server 2008R. Their database has many unique and composite key constraints that is likely to cause merge conflicts. Question: Is there a method to automagicly resolve conflicts (ie: merge replication business logic resolvers) when using P2P transactional replication Is Merge […]

Continue Reading

CSS and JavaScript bundles & Super Simple View Engine

This might be a little bit of a hack but here is how I was able to create a simple asset pipeline when using NancyFx with Super Simple View Engine. I am using SquishIt but I think you can do the same with Cassette. Install SquishIt Install-Package SquishIt -Version 0.9.5 In your Nancy bootstrapper Here […]

Continue Reading

ASP.NET Identity IUser*Store Implementations for ASP.NET MVC5 OWIN

  Here is a gist that I can’t believe does not exist. https://gist.github.com/detroitpro/8928899

Continue Reading

Xamarin.Android and the ART of crashing

  At this time developers and power users are moving over to ART. Xamarin.Android does not yet have support for ART. Side note: Everything compiles, deploys and runs…..until it doesn’t. Xamarin has API support usually the same day something is released. I don’t think the community is looking for ART support the very same day […]

Continue Reading

Pretending to be dumb.

Reading data and displaying it on a screen. It’s most of the applications that we build. Each application has a problem area but it’s often a small part of the application. Why do we pretend that we don’t have common patterns that can be used to accomplish common tasks? What value is gained from “driving […]

Continue Reading

On bounded context

I’ve been spending a ton of time thinking about DDD, systems, components, SOA, and all that junk. Coming around to the concept of bounded context. Here are some of the descriptions of bounded context. Wikipedia says (emphasis mine): Explicitly set boundaries in terms of team organization, usage within specific parts of the application, and physical […]

Continue Reading

I’m pretty good with a bo staff too….

Continue Reading

How to make pair-programming worthless……dumbass

Reflection When we work in an environment that offers us the ability to practice agile development its easy to forget that pair-programming is not the norm. We are a small minority and we need to put our best foot forward. Not only to our external customers but our new members. Not long ago you were […]

Continue Reading