SharePoint

The book review: Developing Microsoft SharePoint Applications Using Windows Azure

Posted on by osmirnov Posted in .NET, Clouds, Life, SharePoint, WCF | Leave a comment

In the O’Reilly Blogger Review program I decided to write a review of Developing Microsoft® SharePoint® Applications Using Windows Azure™ by Steve Fox. As the title hints, the book introduces the basics of the development of SharePoint solutions for Windows Azure operating system. Generally, I liked this book even though it has some drawbacks. Let’s talk about it in more detail.
Read more

Procrustean repository

Posted on by osmirnov Posted in .NET, Patterns, SharePoint | Leave a comment

We have already examined the Repository pattern. For example, here and here. Today, let’s see how many examples of this pattern force a developer thinks that any repository must include concrete methods and nothing more. Often it is correct and you have pure DDD application. But what if your data source differs from database and has specific methods to modify data?

Read more

Foreach for outer services

Posted on by osmirnov Posted in .NET, SharePoint, WCF | Leave a comment

Foreach one of the most frequently used statements in C#.  But sometimes this simple cycle leads to problems in performance.  Of course, an issue  in an Enumerator and cost of its call, but foreach multiply this value as many times as elements are contained at destination collection. In this post we will discuss why it is happening and how to avoid it.
Read more

DLR & Microsoft SharePoint

Posted on by osmirnov Posted in .NET, DLR, SharePoint | 1 Comment

Many developers can’t find a scenario to use such feature of .Net framework 4.0 as Dynamic Language Runtime (DLR). I guess of main reason for it is static thinking. Yes, hardly to start thinking in dynamic context if you work with static-compile programming language like C#. But if you can study to do it you’ll greatly simplify your code. In this post I’m going to show how we can apply a dynamic data type for SharePoint development.
Read more