Working with memory mapped files in .NET 4

oI have been exploring different new features that come with the .NET 4, beyond the most popular ones like dynamic types and covariance; I was interested in performance enhancements. For this reason I am going to publish a couple of blog entries were I explore these different features. Memory mapped files may sounds alien to…

0

Detecting Server.Transfer

How do you know when a page is being rendered as the result of a Server.Transfer, rather than a Response.Redirect or the user browsing directly to a page? Actually it’s quite easy, assuming you’re using the default ASP.NET pipeline. In reality the “thing” that is responsible for handling an HTTP request is aptly called an…

0

New .NET Attributes

The very first talk I gave on .NET was on custom attributes – some time way back in late 2000 or early 2001. At the time I was espousing the benefits of using custom attributes to add on details of unit tests and bug fixes. There have been many additions to .NET since then and…

0

Polymorphism in WCF

Polymorphism in any OO language is taken as a given – and people would be shouting about it a lot if a language didn’t support it. However, when you’re writing a service interface with WCF you might also want to permit some form of polymorphic behaviour at runtime. I was working with a customer yesterday…

0

Executing JavaScript after a Partial Render

I had a fun day debugging some ASP.NET plus jQuery this week, and came across something I’ve known is possible for some time, but that I’ve never actually needed to do… and that was to ensure a bit of JavaScript ran once an UpdatePanel had refreshed as part of a partial render. It turns out…

0

Background and Foreground GC in .NET 4

Another interesting new feature of the CLR 4 comes from the Garbage collection team. On this version, they are adding some performance enhancements on the memory allocation process. The feature is commonly called “Background GC”. But what does it actually mean? As applications are starting to consume more memory and some of them moving to…

2

Integration Services Design Principals

Whilst doing some design work today for a customer project I realised there are a set of principals I try and adhere to when creating SQL Server Integration Services packages. The list is no doubt incomplete but this is what I have so far. Minimise IO This is a general data processing principal. Usually disk…

0

Essential Tips On Kerberos for SharePoint Deployers

This definitely isn’t the first blog post on this topic, and it certainly won’t be the last – but hopefully it will bring some peace and understanding to those struggling to get Kerberos working in a live SharePoint deployment. First off, I must credit Martin Kearn’s excellent posts here that were invaluable in getting me…

0

Unshelving a Shelveset to a Different Branch in TFS

[Note: In this post, I am assuming that you are familiar with the TFS Branching Guidance. If you haven’t read the guide, I strongly recommend that you do so! I will be referring to the branch names suggested for the basic branch plan.] Scenario: After an application is released to the production environment, a defect…

0