This post was originaly published on my previous blog and moved here. Some links and resources might not be up to date.

Have you ever had a problem with a user complaining on and on that when he clicks some button in your application his computer hangs but it works fine on any other machine where you have tested it? The web service is consuming all the available memory in completely indeterministic way? Or maybe your web application is magically crashing on production machine when it works in the same usage scenario on development and test environment? If not, you are probably in about 1% of the most luckiest developers in the world (or you are not the developer).

Last year I attended in Norwegian Developers Conference 2011 in Oslo where among many other great presentations I’ve watched the one presented by Ingo Rammer - “Hardcore .NET Production Debugging”.

→ Read more

This post was originaly published on my previous blog and moved here. Some links and resources might not be up to date.

There are many popular tools for web performance profiling/debugging these days. From my personal tool set I could mention Firebug, IE Developers Toolbar (integrated with IE from version > 8) or Fiddler. The common problem with those tools is that they are installed and run locally on developers machine. Sometimes, for example when behaviour of the web app depends on loading all elements in the specific order or time, it is important to determine if those factors vary in different geographical locations. The download speed for China and Germany could be very different. If you face with this kind of problems I could recommend you a great distributed web performance profiler - WebPageTest.

→ Read more

This post was originaly published on my previous blog and moved here. Some links and resources might not be up to date.

I’m working in a team that builds and maintains a big document management system. Since SharePoint itself is not the best option for storing large amount of files (which can be also quite large) and serving them (performance, content DB size limitations etc.) I was evaluating some options for content externalization. I will not get into much details about the reasons for using such solutions because there are many well written articles about this on the Net (like “SharePoint 2010: Storing Documents on the File System with Remote Blob Storage” by Damon Armstrong). I will focus on one - Metalogix StoragePoint.

→ Read more

This post was originaly published on my previous blog and moved here. Some links and resources might not be up to date.

Lately I was looking for some example on how to replace the attachment in document library (SP2010) without changing the version number but without any results. If you’ve faced the same problem here is the solution

→ Read more

This post was originaly published on my previous blog and moved here. Some links and resources might not be up to date.

Few days ago I faced with the problem of linking to default view page of custom document library (for purposes of redirection with Source parameter after uploading new document and filling it’s meta data form).

At first I tried using SPList.Forms collection indexed with PAGETYPE enumeration as I found in article “How To Always Link to the Right Application Pages”. But every time I was trying to get the default view object this way:

var defaltViewUrl = documentLibrary.Forms[PAGETYPE.PAGE_DEFAULTVIEW].Url;
→ Read more