Objective In this article, I will show you how to fetch all the user name of a SharePoint site collection using program or Visual Studio. Step1 Create a SharePoint site and add few users in that by configuring the site in SharePoint. I have created a site called "Document Center" and added few users inContinue reading "Programmatically Fetching User Name of SharePoint site collection using Object Model"
Walkthrough on Creating a Task List in SharePoint
Objective In this article, I will give step by step explanation of how to add a task list in SharePoint site. I am going to add a list in existing SharePoint site. Assumption I have created a SharePoint site. I am assuming here, you do have basic idea of SharePoint sites and SharePoint list. WorkingContinue reading "Walkthrough on Creating a Task List in SharePoint"
Inversion of Control
What is Problem? Let, there is a class called Kids.cs. Purpose of this class is to maintain name and age of kids of a particular person. Kids.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication23 { public class Kids { private int age; private string name; Continue reading "Inversion of Control"
Singleton Pattern
The Singleton is a design pattern, which instantiates one instance of the class once it is first called, and maintains that single instance throughout the lifetime of the program. Once it is instantiated, all future requests will be through a single global point of access. Singleton provides a global, single instance by: MakingContinue reading "Singleton Pattern"
Unity Framework
Objective This tutorial will explain step by step explanation of how to use UNITY Framework in code. UNITY Framework is a framework of Microsoft to achieve Inversion of Control Design Pattern. To know more about, what is Inversion of Control and Dependency Pattern design pattern read my previous article Click here. Two very good articlesContinue reading "Unity Framework"
Lambda Expression
This article will explain about Lambda expression and its usage. This article will also give differences between Lambda expression and Anonymous method. This article will talk about type inference in Lambda expression. This will also talk about delegate type conversion of lambda expression. We will start with a code. This is a very simple codeContinue reading "Lambda Expression"
Events in c#
Windows based application are message based. Application is communicating with windows and windows is communicating with application by using predefined messages. .Net wrap up the messages with 'EVENTS'. And .Net reacting a particular message by handling events. Events are the message sent by an object to indicate the occurrence of an event. Event can alsoContinue reading "Events in c#"
Delegate in c#
A delegate in C# is simillar to a FUNCTION POINTER in C or C++. Delgate can be defind as an Object which contains the address of a method. Delegate is a reference type used to encapsulate a method with a speciific signature and return type. As written in MSDN " A Delegate isContinue reading "Delegate in c#"
Picture Gallery in ASP.Net MVC Application
Objective Objective of this aricle is to show, how to work with Images in ASP.Net MVC application. This article will explain, how to display images from Xml file and how to add images in Xml resourece. The Final Output would be something like below. Creating the Resource folder for Image Create an ASP.Net MVC application,Continue reading "Picture Gallery in ASP.Net MVC Application"
Unity Frame Work in ASP.Net MVC Application
Objective This article will explain step by step that how to inject dependency using UNITY framework in ASP.Net MVC Application Step 1 Create a MVC application Step 2 Add Unity references to the MVC application. Step 3 Idea here is to create a custom controller factory. This custom controller factory will create the controller andContinue reading "Unity Frame Work in ASP.Net MVC Application"