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

Lambda Expressions supersede Anonymous Methods

Lambda expressions introduced in the C# 3.0. Lambda expressions help reducing the burden of writing Anonymous Methods. Before Anonymous Methods there was only way to declare the delegate was to use...

View Article


Issues with Multithreaded Programming: Part 1

Multithreaded (Parallel) programming is difficult for many reasons. Developer always has to put extra care to protect the program from issues like race condition, deadlocks, livelocks, priority...

View Article


Issues with Multithreaded Programming: Part 2

In my previous article Issues with Multithreaded Programming : Part 1 I have explained about two most common issues of Multithreading programming 1) Race Condition and 2) DeadLock. Continuing to my...

View Article

Issues with Multithreaded Programming: Part 3

In my previous articles “Issues with Multithreaded Programming: Part 1” and “Issues with Multithreaded Programming: Part 2” I have explained about four issues of Multithreading programming 1) Race...

View Article

All about Multithread Programming (Concept, Issues and Synchronization)

Multithreading ensures that the program never “goes to sleep” by keeping UI more responsive to the user. In my blog I covered numbers of articles on multithreading programming, issues with...

View Article


Optimize your string search

Suppose you have an application that needs to search for all occurrences of multiple strings in a text stream. For example, you might want to search a large text file for all occurrences of “cycling”,...

View Article

Velocity Usages and advantages

Velocity provides highly scalable distributed caching environment for Microsoft .net framework. By using Velocity, frequently used data can be stored in distributed cached environment for faster access...

View Article

IBM WebSphere MQ security methods

In WebSphere MQ, there are three methods of providing security: The Object Authority Manager (OAM) User-written, or third party, channel exists Channel security using Secure Sockets Layer (SSL)   The...

View Article


Compare two tables record (SQL Server)

Sometime we want to compare the records between two database tables. These databases could be on same server or on different servers. Here is some information about how we can compare records between...

View Article


LINQ to SQL – how to run Fulltext search

LINQ to SQL LINQ to SQL (One of the ORM solutions) provides a run-time infrastructure to manage relational data as objects without losing the ability to query. It does this by translating...

View Article

Trace SQL commands generated by LINQ to SQL provider

There are three ways that frequently used to trace the SQL commands which are generated by LINQ to SQL provider: DataContext.Log DataContext.GetCommand, and LINQ to SQL Debug Visualizer. Trace SQL...

View Article

Cookieless sessions raises issues with links

Cookieless sessions – Issue with Links When you enable cookieless session for your asp.net website, the session ID get inserted in a particular position within the URL instead of storing into client...

View Article

Garbage Collection Types and Server GC vs Workstation GC

In my previous article (Garbage Collection – up to .Net Framework 3.5) I explained basic concept of Garbage Collection. In this article I will explain about types of GC in CLR. The CLR provides two...

View Article


Types of Serialization and uses

This post will cover followings: What is Serialization in .NET Types of Serialization Why we need it while developing an application?   What is Serialization? The serialization is the process of...

View Article

ChannelFactory over Proxy class in WCF

This post will cover the uses of ChannleFactory over Proxy in WCF. When to use a proxy? If you have a service that you know is going to be used by several applications or is generic enough to be used...

View Article


Clustered and Nonclustered index Considerations

It is import to know the use of Clustered and NonClustered index, this article will help you understeand following: When to use Clustered Index When to use NonClustered Index Impact of Cluster index on...

View Article

When to use Database Index

Before you create index on a table, you should evaluate to see whether you should use index. In this post, I am covering some of the general rules that may help to decide the use of index.   When to...

View Article


Improve your database Index performance

We all know the use of index like when to use index and how to use index. However, most of us are lacking some of the important consideration which can boost the performance of database index. In this...

View Article

Difference between Function and Stored Procedure

In this article I am answering the very basic question – Difference between Function and Stored Procedure. This was specially demanded by one of my reader who has just started his development career....

View Article

Design Guidelines for Component

Following guidelines should be considered when designing components for use in your applications:  Apply the SOLID design principles to the classes within your component. The SOLID principles are,...

View Article
Browsing all 100 articles
Browse latest View live