TechBubbles

Microsoft Technology BLOG

Latest stories

WCF Terms

The following are the terms used in WCF Message A message contains data which consist of body and headers. Service A service is a construct which exposes one or more endpoints. Each endpoint exposing one or more service operations. Endpoint Endpoint contains a location (an address) that defines where messages can be sent, a specification of communication mechanism(a binding) that describes how...

Windows Communication Foundation

Introduction WCF provides a common platform for all .NET communication between the applications.Using WCF we can develop ASMX, Remoting and COM+ Applications.It allows the developers to work distributed applications. WCF is a runtime and contains set of API’s for creating applications that send messages between services and clients. Messages and Endpoints WCF based on message-based...

Working with Configuration files

Introduction Configuration files are central place to configure your web or windows applications. The web.config file is used for configuring the web applications and app.config for windows applications. The ASP.NET Application comes with web.config file with default configuration sections and you can easily manage them at the intialstage of the project development. As soon as your project grows...

LINQ Architecture

Introduction Language-Integrated Query (LINQ) is a new feature introduced in visual studio 2008 and .NET Framework 3.5. Developers can write the queries in the code to retrieve the data from various types of data sources like SQL,XML and XQuery. Earlier developers has to learn the syntax for writing queries for each data source. LINQ simplifies by offering a model to work with the data across...

Lambda Expressions in C# 3.0

Lambda expressions is one of the features introduced in the C# 3.0. Lambda expressions help you to ease the burden of writing verbose Anonymous Methods. I will explain the where to use the Anonymous methods first then we see the example on lambda expressions Anonymous Methods Anonymous Methods is the feature in C# 2.0. The idea behind writing the anonymous methods is to write methods inline to...

Extension Methods Feature in C# 3.0

It is one of the new feature introduced in C# 3.0 “As the name implies, extension methods extend existing .NET types with new methods.” Here i am going to extend the String type to write an extension method. Example Adding a IsValidEmailAddress method onto an instance of string class: namespace Extensions { class TestProgram {      static  void  Main(string[]...

Object and Collection Initializers Feature in C# 3.0

C# 3.0 introduced the another interesting feature Object and Collection initialization expressions. Object Intialization  Expressions allows you to initialize an object without invoking the constructor and setting its properties. If you take Employee Class as an Example: public class Employee { private int iEmpId; private string strFirstName; private string strLastName; public int ID{ get{...

Automatically Implemented Properties Feature in C# 3.0

Introduction of Automatic Properties in C# 3.0 make property declaration more concise. It saves some of your time in typing a lot of code. Example: class Employee { public string FirstName { get; set; } } Benefit of using Automatic Properties We have been creating properties in so many projects and notice that we are writing so many lines of code just for creating a simple property. Example:...

Visual Studio Team System 2008 Team Suite Overview

Microsoft Visual studio team system 2008 is an integrated Application development and management solution which contains tools, processes and guidance to help everyone on the team to improve their skills and work more effectively together. VS 2008 Team Suite provides set of tools for architecture, design, development, database development,and testing of applications.Team members can...

Test driven development using C#

This post explains how TDD can be implemented in C# using NUNIT. You can read the Introduction TDD to get an idea on TDD. Nunit is a open source framework to for .NET which helps you to automate the unit testing. Nunit can downloaded from the Nunit site. current version is 2.5. Nunit provides two utilities for running the automated tests nunit-gui.exe – GUI tool nunit-console.exe – Command...

TechBubbles Microsoft Technology BLOG

Follow me

Archives

Tag Cloud