For a long time I’ve been under impression that rule engine that comes with Microsoft Windows Workflow Foundation is slow, very slow. We used it to execute some of our business rules, and soon found out that rule processing slows down application execution. What was strange is that the rules were really...
I just read a very cool NHibernate trick to let your application start faster that was mentioned by Ricardo Peres: Configuration cfg = new Configuration().Configure(); IFormatter serializer = new BinaryFormatter(); using (Stream stream = File.OpenWrite("Configuration.serialized")) { serializer...
Lately, I am relatively a lot working with the CrossListQueryInfo. This is a way to query multiple lists at once, crossing multiple SPWebs, if you want to. And, the main reason why I used it, it's possible to use the cached lists of the sitecollection, to improve performance! The first steps with...
When looking to the Stored Proscedures debate, there is always those three factors you should measure by. Productivity - Span code base over multiple staging environments is a pain and harder to maintain. - Versioning sp code is way harder than versioning application code. - Minor change to the design...
Today's tip is a quick look at both not widely used C# operators and why prefer one to another.. Casting using is-operator: if(p is Product) // CLR?: Could i cast this to product? { Product x = (Product)p; // CLR again??: Could i cast this to Product? } This work but comes with performance cost so...
Those are a subset of Hanselman's tool list , those are very helpful during my daily job... so i thought i share with you.. to boost your productivity as well. Query Express - A light weight Query analyzer like application .NET Reflector - Amazing utility reflect over .NET Assemblies you can use...
So I was optimizing a query that displays a timetable of television programming. I'm working to try to optimize it because its currently taking 3-10 seconds per execution, which is less than optimal, considering that the query needs to be made 48 times per pageload, to load 48 timetables. The query...
I was yet again busy with a generic data layer. I like type safety as it provides compile time safety instead of run-time. The current released Db4o build (6.1) does not support type safe result list thus I had a need to convert these. My first approach was to just do a foreach like the following example...
I have 3 harddrives in my home computer and today I though lets experiment with software RAID. So I first made some room on my drives and then created a 3 disk wide software RAID partition in Windows. After that I migrated my development virtual machine and started it. The damn thing is flying now! So...
This post is particularly for me as I always forgot those great tips and hard to find them back in MSDN Magazine or other resources, so I figure by putting them here will end up using them more also dear reader enjoy them too I'm sure you will find something you don't know or forgot a while ago. fire...