.NET

How to cook a loop

Posted on by osmirnov Posted in .NET, Visual Studio | Leave a comment

With coming of Linq we rarely write loops. Actually, the most part of data fetching tasks, those earlier was done by loops, today could be simply done by Linq-to-Objects. Nevertheless, the loops are widely used for different scenarios and a developer should try to write a good loop. This post was written for beginners, but I hope that experienced developers will find in it something useful.
Read more

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

Entity Framework: One step closer to LOB apps

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

Not so long ago I wrote about the problems of using Entity Framework (EF) in LOB applications. Just a few days EF team has announced June version. This release solves some of the problems I have described, so I could not pass by and decided to write this post. In it I ‘ll do a brief review of main features in the context of LOB apps.
Read more

Expression cannot contain lambda expressions

Posted on by osmirnov Posted in .NET, ORMs, Visual Studio | Leave a comment

Try to open any of  Watch / Immediate and Locals windows of Visual Studio in debug mode and to add lambda expressions, and you will see this message. Own reasons exist for it  and they are very detailed in these posts. Unfortunately, the posts also lack information about resolving this problem. While developers are confronted daily with the need to filter collections in debug windows and the support for lambda expressions would greatly simplify their work.
Read more

To repeat or not to repeat yourself?

Posted on by osmirnov Posted in .NET, Patterns, Visual Studio | 1 Comment

What do modern developers if they are forced to write repeated code? Of course, they follow DRY principle and try to write generic code that covers as much as possible cases and can easily be extended to the rest. But sometimes such a change is complex, inefficient, or simply impossible. Here template engines come into play that allow the developer to set the rules and get your service code. I propose to try to take the advantages of both these approaches.
Read more

Why Entity Framework is still not ready for LOB apps

Posted on by osmirnov Posted in .NET, ORMs | 6 Comments

I work hard and write about ORMs. Especially about Entity Framework. Naturally I have accumulated a list of problems that I hope the developers will solve in the near future. As now their solution is too expensive. Under expensive solution I mean a set of hacks that are difficult to maintain. Let’s start.

Read more

1 2 3 4 5 6 7   Next »