VS 2010 Beta 2 Released – No More VSTS

Beta 2 of VS 2010 is released. This is supposed to be the final release before the official launching in March 2010.

Visual Studio Team System (VSTS) does not exist anymore as a terminology in VS 2010. In the 2008 version, different Team Editions where available:
– VSTS Team Suite
– VSTS Developer Edition
– VSTS Test Edition
– VSTS Architecture Edition
– VSTS Database Edition
In addition to that you had the VS 2010 Professional Edition which contained all the basic VS features without any Team features.

Well, that was a lot of naming and caused a lot of confusion when it came to licensing.
MS has made a decision to ship 3 editions starting VS 2010 and no more is in use the term VSTS. These editions are:
– VS Ultimate
– VS Premium
– VS Professional
All previous VSTS 2008 team editions (plus more) features are still there but under the 3 above versions.
A full feature comparison can be found here

Passing Large Messages in WCF: maxItemsInObjectGraph, maxReceivedMessageSize, and maxBufferSize

in WCF it is known that you can pass messages up to multi GBs between a client and a service. however, there are certain configurations that you need to tweak.

in one of my projects i had a SQL table with around 100,000 records. i had a service which simply reads all the records and pass them to a client.
i decided to use the netTcpBinding for binary encoding which will enhance performance..of course i had .NET-based apps on both ends. Continue reading

Introducing WF4.0: Building Distributed Apps with WF 4.0 and WF 4.0 Services

In 2006, Microsoft released .NET Framework 3.0, which basically consisted of extensions to .NET Framework 2.0. WCF was the biggest hit back then and gained the most attention. That even continued with the 3.5 release of the framework.

With .NET Framework 4.0, Microsoft made WF the major focus, and with the many enhancements they have in place, it is evident the importance that WF 4.0 will have for building .NET-based applications.

Read Full Article Here

.NET 4.0 Code Contracts

One of the great features of .NET 4.0 is Code Contracts. Code Contracts aid in the unit testing process of code and make catching bugs before deploying the code much easier.

This post shows a sneak preview of Code Contracts in .NET Beta1 and VS 2010 Beta1. Note that by the time of the current writing, you need to install an Add-On to visual studio 2010 in order to work with code contracts. Continue reading

C# 4.0 Dynamic

one of the core functionalities of .NET 4.0 is its support for Dynamic languages. this is done primarly through the Dynamic Language Runtime (DLR) on top of the CLR. this post shows some of the usages of dynamic in C# 4.0.

consider the following class:
public class Sample
{
public static int Add(int x, int y)
{
return x + y;
}
Continue reading

Cool C# Code

i was reviewing a piece of code of a colleague, and i came across a very familiar pattern of code. basically he had a list of employees where he wanted to “loop” over and exclude any employees with age over 30. so his first attempt was the most common one: he used a foreach loop to remove all employees with age > 30. the code looked like the following

foreach (Employee empl in lst)
{
if (empl.age > 30)
lst.Remove(empl);
}
Continue reading

WCF Queued Messaging

One common requirement for all MEPs is message durability; that is the ability to preserve the message under all conditions and make sure that a message will arrive where it is supposed to.

Microsoft Message Queuing service is a proven method to provide a queue for messages to reside inside until recipients are ready to pick them up. WCF offers implicit MSMQ integration through the NetMsmqBinding which is the topic of this article…

Read my full article

.NET Delegates and Events

Many developers tend to use events and delegates “as is” without truly understanding the internal stuff – which, trust me, once understood, can help you do many cool stuff. When I first started .NET coding, I used to just double click the “Button” or “DataGrid” control, go to the code-behind, and write my code inside the event handler. Well, then a few years ago, I decided enough is enough, and I dug deep to really understand .NET events and delegates: This article is an attempt to share with you what I came up with…

Read my full article

SSO Security Configuration Error

I was configuring BTS 2006 R2 on a machine. After I ran the configuration wizard I got an error saying that “login failed for user on SQL server. Cannot create database SSO”.

The logical resolution was to go to SQL Server and give the specified user the appropriate permissions; which I did. I re-ran the configuration again and again I got the same error. Continue reading