-
Us, developers, are a bit like that comic strip ( from always great xkcd ): We can endlessly debate over tabs versus spaces (don't even get me started), whether to use optional semicolon or not, and other seemingly irrelevant topics. We can have heated...
-
I’ve been working on the Silverlight client for the RavenDB . In Raven, you can write a Linq query in the Silverlight client that will ultimately be executed against a Raven server somewhere. The execution of the query is asynchronous and we want that to be explicit in the api. It should be obvious to...
-
Following Kevin Pang’s request on my last post regarding my problems getting NHibernate, NH Spatial and SQL Server Fulltext queries to work , I am finally getting around to giving some tips and pointers, and the code that Steve Strong of iMeta knocked up for me. I needed to get these things working...
-
As if my life wasn't boring enough trying to get S#arp Architecture 1.0 out the door...
Posted to
Billy McCafferty
by
Billy McCafferty
on
05-03-2009
Filed under:
Filed under: Architecture, C#, .NET, Software Development, SQL Server, Algorithms, Refactoring, NHibernate, Project Management, Test-Driven Development, Agile Development, MVC.NET, S#arp Architecture, DDD
-
I just ran into the most interesting bug in recent recollection. What's wrong with the following code? ... public override IEnumerable<PropertyInfo> SignatureProperties { get { IEnumerable<PropertyInfo> properties; if (signaturePropertiesDictionary.TryGetValue(GetType(), out properties...
-
In WPF work, it is very common to work with implementations of INotifyPropertyChanged . We need support for change notification in order to bind to the UI, and this interface is frequently the best approach. This means I have lots of properties that look like this: public string FirstName { get { return...
-
We just spent far too long on what turned out to be a stupid problem ... we kept getting an error telling us that the view did not inherit from System.Web.UI.Page ... unfortunately the guy who was working on the particular view and controller could not think of a specific change he had made to cause...
-
Table of Contents Application Architecture I'm going to back up and bit discuss my overall approach to structuring this WPF project. So far the solution consists of four projects: ChumChase is the actual WPF project. FriendFeed is the official .NET api I downloaded from here , and patched so that...
-
Table of Contents So let's get back to this whole building a WPF application thing. A number of things went down since my last post: I was out sick with a stomach bug for few days, my infant son caught the same bug and subsequently we spent a few days in the hospital (he's fine now, it was nothing...
-
Table of Contents I actually meant to say in my last post that I had investigated the API options for FriendFeed and they have a C# wrapper already available here . It's packaged up in a single download with its Python and PHP counterparts. Unfortunately, it has compilation errors. I fixed the errors...
-
This is a somewhat made-up scenario based on a recent project. My client has not given me permission to discuss the specifics of the application (yet), so I apologize for keeping it vague. I hope you don't give up before the payoff. The Problem Imagine an application, where a user can create "styles"...
-
A discussion on the altdotnet list just came up around logging. After some various suggestions, I asked what was wrong with using optional dependencies and the built in logging facility in Castle Windsor . It seemed the most obvious answer Of course, I completely forgot that when I first tried to figure...
-
Oren always amazes me - I think he is psychic! Whenever I have a problem, I almost always find Oren blogged about it a few days before - and today's bugbear is a perfect example. I started the day off with a really weird timeout exception in WCF. The code was just fine apparently, and I spent a very...
-
Update: Re-published from old blog I found a need yesterday to test some code in particular security contexts. After some (as always) prompt guidance from the altdotnet mailing list, I had the (as it turns out) all too simple solution. xUnit includes an attribute for this, but as I'm using NUnit...
-
Update: Re-published from old blog I've done it before, but my mind went totally blank yesterday ... due to some typically quick responses from the Castle Users Google Group ... here is the code to do it for future generations to avoid my same silly mistakes ... 1: WindsorContainer container = new...