The concept of Optional parameters is not new and exists in other languages such as C++. Infact, the functionality is a part of the .NET framework and exists is in VB.NET. Optional parameters will be introduced in C# 4.0 and can be used to call a method without having to specify all the arguments. T
Tag: Development
Introduction to Microsoft Synchronization Framework: Part II
(Sateesh Kumar) In previous article, we had discussed about the basics of sync framework. In this article, we will look into algorithm used by this framework for synchronization. The core of the sync framework is its synchronization algorithm. Sync framework synchronizes data stores using session an
Using DataKeyNames in the ASP.NET GridView control
(Malcolm Sheridan) Recently I was asked by a work colleague about what was the best way to hide primary keys when displaying data in a GridView control. I mentioned the DataKeyNames property and got a blank stare. This little gem is a property on the GridView control that allows you to set an array
Code Contracts in .NET
(Marius Bancila) Visual Studio 2010 beta 1 ships with a new feature called Code Contracts. This is the result of a Microsoft Research project. They allow you to specify coding assumptions in .NET programs. These assumptions can be pre-condition, post-condition and object invariants. However, this ne
IIS Search Engine Optimization Toolkit
(Scott Guthrie) SEO (search engine optimization) is one of the important considerations that any Internet web-site needs to design with in mind. A non-trivial percentage of Internet traffic to sites is driven by search engines, and good SEO techniques can help increase site traffic even further.
Implementing Incremental Navigation with ASP.NET
(Andrew Wrigley) Traditionally, website navigation has been focused on minimizing the number of clicks required to open a given page. However, this goal has nothing to do with the real purpose of navigation, which is to make finding information easy, consistent, and transparent to the user. Also, as
How to Iterate Through All the Properties of a Class
(deepak choudhari) The following code gets all the properties of an Employee class using Reflection. Here’s the Employee class code:
A BuildProvider to simplify your ASP.NET MVC Action Links
(David Ebbo) One downside of using Html.ActionLink in your views is that it is late bound. e.g. say you write something like this:
Dimensional Analysis of Data Architecture
(Anupama Nithyanand, S. V. Subrahmanya and P. A. Sundararajan) Business intelligence (BI) is the activity of monitoring the key business processes (KBPs) of an enterprise for key performance indicators (KPIs) of its business activities measured across various dimensions of the business environment.
User defined Silverlight 2 DataGrid
(Jonas Fagerberg) We are now going to have a look at how you can create a DataGrid control. The DataGrid control consists of three intrinsic controls; DataGrid, GridRow and GridColumn. DataGrid is the container that displays the columns and rows. GridColumn is a single column that will be used multi
