Monthly Archives: April 2017

Reflections in C#

Hi friends, Reflection are used for obtaining type information of objects at run time. System.Reflection namespace is used to get meta data information at run time. The System.Reflection namespace contains classes that helps to obtain information about the application. Please refer the example below

What is MVC ?

MVC is an architectural pattern. It separates the representation and the user interaction in an Application. In MVC there are three important sections. Model,View and Controller. Please see details below. View is responsible for look and feel. Model provides data to the View. Controller is responsible to take the end user request and load the… Read More »

DTO (Data Transfer objects) in C#

DTO (Data Transfer objects) is a container for passing data between layers. DTO’s are also termed as transfer objects. DTO is used to pass data and does not contain any business logic in it. Setters and Getters are used in DTO.

Using Shelvesets in TFS

Using Shelvesets in TFS we can set aside pending changes in Visual Studio 2015. We can set aside a batch of pending changes from our current work space temporarily using the feature Shelvesets . We can later restore these changes into our work space or can into work space of another user. * Shelvesets comes… Read More »

Routing in MVC

Hi All, Routing actually simplifies URL. If we want to give friendly names for URL then routing is the option in MVC. RoutConfig class under App_Start handles all routing in MVC. If we type MyHome along with base URL then it will navigate to Home controller Index action. If there is no routing specified then… Read More »

Installing and Uninstalling Windows Services

Hi Friends, This post describes how to install or uninstall a .NET Windows Service using C#. To install or uninstall Windows Service which  was created using the .NET Framework – Use the utility InstallUtil.exe. This tool can be found in the path – C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe. Note – v4.0.30319 will be different according to the version of… Read More »

Category: C# Tags:

What is Entity framework?

Entity framework is an Object/Relational Mapping (O/RM) framework. Entity frame work is an enhancement/feature to ADO.NET that helps developers for accessing & storing the data in the database. With the help of  Entity Framework, developers write queries using LINQ to retrieve and manipulate data as objects. Entity framework can be used in following cases. Already… Read More »

How to solve – Insertion into replicated table failure ?

Hi All, In SQL data base, data  insertion to a table fails due to identity range check constraint for replicated tables, if the identity is managed by replication.This issue may be faced in SQL insertion. How to Solve this ? In SQL there are two types of users for a replicated table. First One is… Read More »

Encryption for Stored Procedure in SQL Server

Hi Friends, Stored Procedures are very important in software development.While developing software we use stored procedures to fetch and insert different critical data from and to data base. Sometime it is very important to hide the business logic from end user due to security reasons. Once Stored procedures are encrypted it is not possible to… Read More »