Quantcast
Channel: Ashish Khandelwal
Browsing all 100 articles
Browse latest View live

.NET Managed Code Execution Process

Introduction The .NET CLR provides a common context within which all .NET applications execute, regardless of teh language in which they are written.CLR is responsible for handling every aspects of the...

View Article


Windows Communication Foundation: Communication-based Activation

Earlier to .Net Framework 4.0, it was must to provide the .svc file when you host a Windows Communication Foundation (WCF) service under Internet Information Services (IIS) or Windows Process...

View Article


WCF: Target Framework Attribute

With .Net Framework 4.0, the target framework attribute is introduced to specify the version of the .NET Framework for the application hosted in IIS or WAS is targeting. It allows you to build...

View Article

WCF – Security Overview (Fundamental)

Windows Communication Foundation – Why security is needed? Using WCF, we can create applications that function as both services and service clients. One service could be transmitting, creating and...

View Article

WCF – Authenticate the Client using User Name and Password

WCF is a distributed technology, you build the WCF service to serve the functionality to the Client, The Client could be on Intranet or on Internet. It is almost always mandatory for the Service to...

View Article


Introduction to Objects and Classes in C#

In this article we will understand some of the concepts of object-oriented programming in C# like objects and classes. To read this article you must have C# programming basics. Introduction: OOP stands...

View Article

How to improve garbage collection performance

Introduction DotNet developers can free themselves from tedious memory management for their application as Microsoft Framework and CLR do it automatically.CLR provides a mechanism called as Garbage...

View Article

Events Programming in C# and .NET

In the early days of computing, a program would begin execution and then proceed through its steps until it completed. If the user was involved, the interaction was strictly controlled and limited to...

View Article


C#: lock vs Monitor

They both are same but each one has some draw back and advantages. lock is more concise over monitor; it releases the lock from the blocked code even if there is exception generated within blocked...

View Article


Understanding Destructors in C#

Introduction This article is about understanding the working concept of destructor in C#. I know you all may be thinking why a dedicated article on simple destructor phenomenon. As you read this...

View Article

Interface vs Abstract class

An Abstract class without any implementation just looks like an Interface; however there are lot of differences than similarities between an Abstract class and an Interface. Let’s explain both concepts...

View Article

Why to migration from .net 1.1 to the latest framework

Some days back one of my readers asking me a question about why one should migration from .net 1.1 to the latest framework. Here is the part of discussion: Reader: Why the product should be migrated...

View Article

Garbage Collection: .Net Framework 3.5

Here I am covering some basic information about how GC works in CLR. More detailed informations are covered @   .Net Framework 4.0: The Background and Foreground GC Differences between Server and...

View Article


.Net Framework 4.0: The Background and Foreground GC

In my previous article I have explained about concurrent GC for workstation version of the CLR (Differences between Server and Workstation GC (types of garbage collection)). The CLR 4.0 has come with...

View Article

Database Indexes

In this article I have explained about following: What is Index Types of Indexes Clustered index Nonclustered Indexe Clustered and Nonclustered index Considerations When to use Database Index Improve...

View Article


Socket programming vs. WCF

A very simple scenario where client sends a request to server to perform certain action. There is no much data transfer between two parties – Probably no more than 50 bytes. We need to decide whether...

View Article

Why Distributed Caching

One of the key techniques used to develop high-performance and scalable application is Distributed Caching. In this article I will cover: -          What is Distributed Caching and -          What is...

View Article


Hyperlink in ListBox

Today, one of my friends was asking me a question about how to add hyperlink text into the ListBox. I replied by adding respective control directly to the ListBox. Here in reply to my friend question,...

View Article

LINQ to SQL Vs Entity Framework

LINQ to SQL and Entity Framework both are designed for ORM (Object Relational Model) support. They are developed to avoid the difficulties involved in writing Object Oriented code to perform RDMS...

View Article

Create Database from Entity Model – Entity Framework Model First Approach

In my last article LINQ to SQL Vs Entity Framework I discussed about how powerful the ADO.Net Entity Framework compare to LINQ2SQL. In this article I will discuss about how to create Database from...

View Article
Browsing all 100 articles
Browse latest View live