-
Before anything, I have to say that I do not advocate uncritical use of this solution. A good system should validate all input and keep its entities valid at all times. If you end up needing this one, you shold be needing it because you're creating...
-
I've been writing one too many protected void OnThisEvent() and OnThatEvent() handlers lately, and what's bugging me the most is having to if (Event != null) every time. So I wrote a wee little helper giving me just a wee bit less code to write...
-
I had a small challenge today (yay!) when trying to localize some strings based on a boolean in the domain. Boolean's ToString() methods only returns the static strings "True" and "False", hence String.Format(MyLocalizedString...
-
I just read an article about norwegian organizations who suggest a bunch of road requirements today. It struck me that they fit well with programming practices: «The Peoples Road Requirements» 1. Norway should have a good and uniform roadnet securing...
-
I've been sure the ASP.NET theme framework fixed the url's of pictures with equal paths under the application as the themes. Looks like it doesn't. The only way to theme images is to have a skin file in each theme. Why would I want to duplicate...
-
I got the brilliant idea of displaying multiple queues today, and boldly stated it could be done easily with SharePoint and URL addressable views. Well, I was wrong, although the solution is quite simple. CRM Queues does not support URL addressing as...
-
I've had some fun with Python.Net today. I'm sure we can find some use for python scripting some time. Stepped over a few stones to get a working example running, here's a couple of points: - import CLR has to be stated to interact with .Net...
-
Just had to post this hilarious reply from the IT department. My screen and the following comments over msn: Lars-Erik says: (screen now says 40000 days) ok, done copying in 109 years Evert says: I'll notify my grandson
-
I'm following up on that case here, still clinging to some hope: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4172128&SiteID=1&mode=1 (This is mostly educational, still under consideration for production use if you should wonder ;...
-
I had the pleasure of getting a rather large pivoted list of numbers to import today, where of course the data to import were niftily marked with a green color. Of course I have my "convert pivoted stuff to tabluar data" macro ready, but I was...
-
I thought of this the other day and wrote a post about it, but my browser crashed when I hit "publish". Might have been a cosmic hint to think it through, but here goes again. :P To fix a long demanded requirement of uploading multiple files...
-
We got an urgent request today to help a client wrap an internal web application in a custom FireFox browser with an accompagnying .msi installer. We started hacking along on a fresh 3.0.3 setup package, modding userchrome.css to remove menu items and...
-
[Edit: The problem of eager-loading the stuff I ask for in expand is solved] I didn't remember when first writing the code and this post that I've got a DataLoadOptions override in a custom context wrapped around the original Linq to SQL model...
-
[Edit: This post is a continuation of this post . The latter contains some links to some of the code used. For instance VarianceWorkaround] It didn't actually turn out quite as I had hoped, (the DataServiceQuery don't know how to translate interface...
-
[Edit: Once again, I revisit this one, and it's probably still flawed as h***] I guess the VarianceWorkaround posted here will give you the complete table contents before filtering based on the interface properties. At least that's what happens...