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

WaitHandle, AutoResetEvent and ManualResetEvent Classes

In my previous article on Thread Synchronization in .Net, we have discussed following Synchronization techniques: Interlocked class lock keyword Monitor class In this article we will examine a...

View Article


Mutex Class

In my previous articles on Thread Synchronization in .Net, we have discussed following Synchronization techniques: Interlocked class lock keyword Monitor class WaitHandle, AutoResetEvent and...

View Article


ReaderWriterLock Object

In my previous articles on Thread Synchronization in .Net, we have discussed following Synchronization techniques: Interlocked class lock keyword Monitor class WaitHandle, AutoResetEvent and...

View Article

COM+ and Windows Forms Synchronization

In my previous articles on Thread Synchronization in .Net, we have discussed following Synchronization techniques: Interlocked class lock keyword Monitor class WaitHandle, AutoResetEvent and...

View Article

Volatile Keyword & Conclusion

In my previous articles on Thread Synchronization in .Net, we have discussed following Synchronization techniques: Interlocked class lock keyword Monitor class WaitHandle, AutoResetEvent and...

View Article


C#: Thread Synchronization

This article describe .Net classes that can be used to synchronize access to resources in multithreaded applications. One of the benefits of using multiple threads in an application is that each thread...

View Article

What’s a Web Service?

What’s a Web Service? The buzz word around IT these days is Web Services. A web service is not a website that a human reads. It is not anything with which an end user would directly interact. A web...

View Article

string.GetHashCode() and HashTable calls GetHashCode() Differ?

—–See below code, string str = “blair”; string strValue = “ABC”; string str1 = “brainlessness”; string strValue1 = “XYZ”; int hash = str.GetHashCode() ; // Returns 175803953 int hash1 =...

View Article


Garbage Collection in .NET – A deeper look for the beginners

Introduction Garbage collection is a process of releasing the memory used by the objects, which are no longer referenced. This is done in  different ways and different manners in various platforms and...

View Article


Template Method Pattern

When the standard library of ASP.NET controls doesn’t meet your needs, you have several options on how to create your own. For simple controls that only need to be used in a single project, a user...

View Article

ASP.Net 3.5 VS 2008 Precompilation

Pre-compilation For Deployment Pre-compilation for deployment creates an ‘executable’ (no source code) version of your web application. With pre-compilation for deployment you give the aspnet_compiler...

View Article

Patterns in the ASP.NET Pipeline

When a client requests an ASPX page from the Web server, the request travels through many steps before ultimately ending up as HTML displayed by the client’s browser. First, the request is processed by...

View Article

How to choose from Viewstate, SessionState, Cookies and Cache

Problem with Web Applications Web applications are stateless, means once a web page is rendered from server to client, nothing in the page remains on server and the next time user submits the page, the...

View Article


Copying Large Files

Windows Server 2008 provides at least three different command line utilities for copying files. The familiar COPY and XCOPY commands have been around since the early DOS days. And ROBOCOPY, a more...

View Article

Replacing File.Copy

The easiest way to copy a file in a .NET program is to call the File.Copy method, supplying it the source and destination files. It could hardly be simpler than this: File.Copy(srcFilename,...

View Article


Composite Pattern in ASP.NET

The ASP.NET request/response pipeline is a complex system. Patterns are used in the design of the pipeline itself and in the control architecture to effectively balance its performance with...

View Article

Shared Assembly

Introduction: When you install the Visual Studio .NET, the common language runtime has the Global Assembly Cache (GAC). The GAC stores assemblies that are shared by the several applications on the...

View Article


State Management in ASP.NET

Web form pages are HTTP-Based, they are stateless, which means they don’t know whether the requests are all from the same client, and pages are destroyed and recreated with each round trip to the...

View Article

.Net Interview Questions

Do you want to prepare for the Interview, Here is a list of interview questions and answer related to .Net asked by MNCs will help you to prepare for the interview quick and test your skill –...

View Article

OOPS Interview Questions

Do you want to prepare for the Interview, Here is a list of interview questions and answer related to OOPs asked by MNCs will help you to prepare for the interview quick and test your skill –...

View Article
Browsing all 100 articles
Browse latest View live