C# Corner

Resources  
  • FTP Server in C#Mar 26, 2001. The application is a simple implementation of FTP Protocol RFC 959.
  • Simple SMTP MailerMar 26, 2001. This is a simple program which shows how to send mail via SMTP without using any framework support. While using the .NET SMTP classes may be a little easier, it is good to be able to go under the hood and get your hands dirty to understand what is going on at the socket level. For simple text messages, this implementation works fine.
  • Data Structure Sample ExampleJun 04, 2001. Source code for Data Structure implemetation of Stack, Queue, Doubly linked list and more..
  • Resurrection and the .NET Garbage collectorJul 13, 2001. This article will explain and demonstrate a phenomenon that is unusual in the .NET implementation of the garbage collector. The phenomenon is known as resurrection. As the name suggests, an object is marked for destruction and in the last possible moment it is resurrected from the ‘dead’ and reactivated.
  • Messaging between Threads using Message LoopAug 20, 2001. MessageLoopLib is a stripped down version of a complete, threading communication subsystem Ive written. This implementation is a single thread created in the GUI constructor. Ive dropped all thread management and have had to change some of the message code to accommodate this.
  • Multiple Inheritance in C#Aug 29, 2001. Can you inherit from multiple classes in C#? Simply put, this cannot be done. However there are ways around it. From a design perspective you must ask yourself, will a Class fully represent an object?
  • Visual Inheritance in C#-Part1Sep 24, 2001. We all know that Inheritance means a extending a class with more Features without worrying about the implementation of features of hidden inside the class to be inherited.
  • Socket ChatSep 24, 2001. This is an implementation of a Chat program using sockets. Along with basic chat capability,
  • Visual Inheritance Part 2 Sep 26, 2001. We all know that Inheritance means a extending a class with more Features without worrying about the implementation of features of hidden inside the class to be inherited.
  • Implementing Stacks in C#Nov 06, 2001. With the help of C# we can also implement ADT (Abstract Data Types) with little effort. An example of ADT is a simple stack of integers.
  • Operator Overloading in C#Dec 03, 2001. All unary and binary operators have pre-defined implementations, that are automatically available in any expressions. In addition to this pre-defined implementations, user defined implementations can also be introduced in C#.
  • Building a 3-Tier Application Using ASP.NetDec 17, 2001. This article explains 3-Tier Architecture and the implementation in an ASP.NET example.
  • Bridge Patterns in C# Jan 17, 2002. Bridge Pattern is commonly known as Handle/Body idiom in C++ community. This pattern is used for decoupling an abstraction from its implementation so that the two can vary independently.
  • XML Signatures in Microsoft .NETMar 28, 2002. In this article we will explore XML Signature specification from W3C and its implementation in .NET using C#.
  • XML Signatures in Microsoft .NETMar 28, 2002. In this article we will explore XML Signature specification from W3C and its implementation in .NET using C#.
  • Simple NSLookUp Implementation in C#Apr 01, 2002. This is code implementation for simple nslookup. As you can see from the code listing, I've used classes defined in the System.Net namespace.
  • SMTP and POP3 Mail ServerSep 13, 2002. This is simple implementation of SMTP and POP3 server. Two new features are added to the original code.
  • Spiro DesignerSep 16, 2002. Spiro designer is a partial implementation of Spirograph. Spiro Designer uses the Matrix and GraphicsPath classes with their Transform and Rotate methods to build a spiro.
  • Remoting Calls RecommendationSep 19, 2002. The goal of this article is not to describe remoting technology in details. It is more focused at the practical design and implementation mistakes development process concerning garbage collection and performance.
  • Remoting Calls RecommendationsSep 19, 2002. The goal of this article is not to describe remoting technology in details. It is more focused at the practical design and implementation mistakes during development process concerning garbage collection and performance.
  • FreeCell Game using Windows FormsNov 14, 2002. FreeCell is an implementation of the FreeCell card game using Windows Forms.
  • Cryptography in Microsoft.NET Part III: Digital CertificatesJan 08, 2003. Part-I and II of this article discussed the basics of cryptography and its applications in real world enterprise solutions. Part-I discussed the nitty-gritty of encryption and its implementation in Microsoft .NET Framework Class Library (FCL). Part-II discussed the hashing and signature algorithms and their implementation in FCL. It also discussed the two common cryptography applications namely digital envelope & digital signature.
  • PERST: A Simple, Fast, Convenient Object Oriented DatabaseMar 05, 2003. PERST is a simple Object-Oriented Database implemented with pure C-Sharp and Java implementations.
  • Mersenne Twister Random Number GeneratorApr 01, 2003. The attached source code is the C# implementation of the Mersenne Twister algorithm, developed by Makoto Matsumoto and Takuji Nishimura in 1996-1997.
  • SmallPOP: Hackish Implementation of POP RFC in .NETJun 02, 2003. The attached source code and this article contains the details for the C# version of SmallPOP, a quick and dirty component for retrieving e-mail from POP servers.
  • Implementing Caching in ASP.NetJun 10, 2003. This article explains the concepts, advantages and types of caching and the implementation of caching in ASP.NET applications.
  • Java Like StringTokenizer in C# Jun 11, 2003. The StringTokenizer class is yet another implementation of a java-like StringTokenizer in C#.
  • SMTP InternationalizationJul 16, 2003. You can find many articles dedicated to C# SMTP implementation on this or other sites.
  • Trapezoidal Rule Implementation in C#Jul 23, 2003. The attached source code implements trapezoidal rule for numerical integration in C#.
  • FTP Server in C#Oct 13, 2003. The attached source project is a simple FTP server implementation. This version is very early release of FTP Server.
  • Object Oriented Concepts in C#Dec 24, 2003. In this article we will discuss key concepts of object orientation with their practical implementation in C#. We will discuss here basics of OOPS including Interfaces, Access Modifiers, inheritance, polymorphism etc.
  • Oracle Data Provider for .NET: Part VFeb 20, 2004. Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features from any .NET application.
  • Oracle Data Provider for .NET : Part IIFeb 20, 2004. Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features from any .NET application.
  • Oracle Data Provider for .NET : Part VIIFeb 20, 2004. Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features from any .NET application.
  • Oracle Data Provider for .NET : Part IVFeb 20, 2004. Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features from any .NET application.
  • Oracle Data Provider for .NET : Part IFeb 20, 2004. Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features from any .NET application.
  • Oracle Data Provider for .NET : Part IIIFeb 20, 2004. Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features from any .NET application.
  • Oracle Data Provider for .NET : Part VIFeb 20, 2004. Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features from any .NET application.
  • New Features in C# 2.0 : Part 1Mar 08, 2004. In a two part series I will explain new features introduces in C# language version 2.0. In this article I will talk about generics.
  • Normal Distribution Implementation in C#Apr 13, 2004. The attached source code is a C# normal distribution class. The probability density function (PDF) and cumulative distribution function (CDF) can be computed for a given x-value.
  • Adding Discovery Features to BizTalk Server 2004: Part ISep 13, 2004. This article explores the concepts of the BizTalk-UDDI mapping process and the similarity with the WSDL-UDDI mapping process. By the other way the second article is focused in the implementation and use of the BizTalk Server 2004 UDDI Publishing Wizard tool.
  • Design Issues & Architectures in .NET Application DevelopmentMar 09, 2005. The design and structure of an application is more important, as the technical details of its implementation. Upon developing any new project, we should settle on the issues such as the Technologies to use, Database Engine to employ, the Physical Architecture of the application etc.
  • How to Call a .NET Assembly From a SQL Server Scheduled JobApr 27, 2005. This article shows you a step-by-step implementation of a COM client (a SQL Server scheduled Job) using .NET and C#.
  • Custom Exception Handling in C#May 17, 2005. This article discusses the implementation of Custom Exception Handling using the existing features of C# .Net.
  • Creational Patterns - SingletonMay 31, 2005. This article discusses the implementation of the Singleton Design Pattern.
  • OOPs Concepts and .NET Part 1: Classes, Objects, and StructuresJun 22, 2005. The following article kicks off a three-part article series that will present definitions and samples for different Object-Oriented Programming concepts and its implementation in .NET. The first part will examine the concepts of classes, objects, and structures. The second part will examine the concepts of inheritance, abstraction, and polymorphism. The third and last part will examine the concepts of interface, multiple interface inheritance, collections, and overloading.
  • OOPS Concepts and .NET Part 1: Classes, Objects, and Structures Jun 22, 2005. The following article kicks off a three-part article series that will present definitions and samples for different Object-Oriented Programming concepts and its implementation in .NET.
  • OOPS Concepts and .NET Part 2: Inheritance, Abstraction, & PolymorphismJun 22, 2005. The following article is the second of a three-part article series that presents definitions and samples for different Object-Oriented Programming (OOP) concepts and its implementation in .NET. The first part examined the concepts of classes, objects, and structures. This part examines the concepts of inheritance, abstraction, and polymorphism. The third and last part will examine the concepts of interface, multiple interface inheritance, collections, and overloading.
  • OOPS Concepts And .NET Part 2: Inheritance, Abstraction And PolymorphismJun 22, 2005. The following article is the second of a three-part article series that presents definitions and samples for different Object-Oriented Programming (OOP) concepts and its implementation in .NET
  • Building Stacks with C#Jun 23, 2005. The following article presents a general definition of the stack data structure and its most common functions. This article explores a sample stack implementation as a .NET class in C#, as well as some interesting usage scenarios.
  • Building Stacks with C#Jun 23, 2005. The following article presents a general definition of the stack data structure and its most common functions. This article explores a sample stack implementation as a .NET class in C#, as well as some interesting usage scenarios.
  • Simple Captcha with ASP.NetAug 01, 2005. A solution to block bots submitting to your database using C#.
  • Generic 'T, K' Database ComponentDec 17, 2005. I have written a C# 2.0 (Visual Studio 2005), Generic <T, K> Database component, The component has simplified the architecture and the implementation by allowing me to keep the number of overloaded methods to a minimum.
  • Authorization and Programmatic ImpersonationFeb 03, 2006. By default, ASP.NET applications usually do not impersonate the original caller for design, implementation, and scalability reasons. For example, impersonating prevents effective middle-tier connection pooling, which can have a severe impact on application scalability.
  • Using Dispose method in C#Feb 17, 2006. This artice will explain about Finalize and Dispose method implementation in C#.
  • MVC architecture in ASP.Net using C# and Microsoft Data Access Application blockFeb 28, 2006. In this article we will learn how to use Microsoft Data Access Application block in ASP.Net using C#, I have used Microsoft Data Access Application block in conjunction with MVC architecture, here you will learn lot about class libraries, interface, implementation etc.
  • C# Interface Based DevelopmentMar 06, 2006. When trying to build maintainable, reusable, and flexible C# code, the object oriented nature of C# only gets us 50% of the way there. Programming to interfaces can provide us with the last 50%. Interfaced-based design provides loose coupling, true component-based programming, easier maintainability and it makes code reuse much more accessible because implementation is separated from the interface.
  • Data Access Component and the Factory Design PatternApr 05, 2006. A generic Data Access Component implementation written in C# that supports SQL, Oracle, OLEDB and ODBC data providers. Using the Factory design pattern for instantiating the data provider correct and specific objects determined at run time.
  • Bit Flags Type ConverterJun 23, 2006. This article shows an implementation of TypeConverter which allows you to edit bit flags enumerations in PropertyGrid.
  • Introduction to the GOF Strategy Pattern in C#Aug 08, 2006. For this article, we’ll be building an exciting calculation engine that does remarkable things like adding, subtracting, multiplying and dividing through implementation of the strategy pattern.
  • The .NET 2.0 Framework Provider PatternAug 11, 2006. The Provider Model Design Pattern was first introduced with the .NET 1.1 framework, specifically in the ASP.NET starter kits and was formalized in ASP.NET Whidbey as a membership management provider API (Application Program Interface). It's primary purpose is to separate the definition for an API from the implementation. This keeps the API flexible by enabling the core functionality to be flexible and easily changed.
  • C# Friendly Assemblies: Looking at Building Truly Reusable ComponentsNov 01, 2006. This article discusses how we can hide our base class implementation and require referencing of our objects through their interfaces. This keeps our own projects loosely coupled and also allows us to publish our assemblies as truly reusable components because they are 100% “Black box”.
  • The Difference Between the Two GOF Patterns "Strategy" and "State"Jan 18, 2007. The GOF Strategy and State patterns are remarkably similiar and it is really only a minor implementation detail that distinguishes the two.
  • Implementation of MD-5 Jan 22, 2007. Describing, how can we implement MD5 and how it works and what is purpose of Hash algorithm.
  • SHA-1 Bit Implementation in C#Mar 15, 2007. This is a bit implementation of the SHA-1. It supports messages 2^32 - 65 bits long.
  • A Strategy for Using Delegates in C#Jun 15, 2007. In a recent article comment I was asked for a sample of how to use a delegate and so I wanted to put together a sample of how we can use delegates in order to implement a strategy pattern in a way that requires much less code that is easier to maintain than when approaching the same solution deriving sub classes using an OOP implementation.
  • KillerBeam - A Game in C#Jul 17, 2007. KillerBeam is a .Net implementation of the game called Laser Chess which appeared in Compute! Magazine in the early eighties.
  • How C# is Different From JavaJan 17, 2008. This article describes the various differences between C# and Java.
  • Where Did All the Designers Go! Jan 24, 2008. Software is one of the fastest paced industries in the business world. As quickly as software languages come and go, skill sets require constant learning. In trying to keep up with implementation aspects of software, did we somehow forget about the priority of creating a good design? This article describes how we came about with a void of software design skills in the programming world.
  • Implementing the Passive View -- a Derivative of the Model-View-Control Jan 27, 2008. This article demonstrates an implementation of the "Passive View Pattern" (based on the "Model View Control Pattern") for windows user controls.
  • Building ASP.NET bot protection (CAPTCHA-like)Feb 29, 2008. This article shows how to build captcha-like protection from spam and other bots in ASP.NET.
  • Generic Data Access using LINQ to SQL and C#Jul 22, 2008. This article discusses the construction of a generic data access layer built on top of a LINQ to SQL implementation.
  • C# and XAML within a Silverlight 2 context - INotifyCollectionChanged implementation: Part VDec 18, 2008. In this article I will demonstrate different techniques of how implement the INotifyCollectionChanged interface as a part of the article how does XAML interact with C#
  • C# and XAML within a Silverlight 2 context - INotifyPropertyChanged implementation: Part IVDec 18, 2008. In this article, I will expose the implementation technique of the INotifiedPropertyChanged interface as a part of the article How does XAML interact with the C# code
  • UI Object Connector Implementation of Mediator Pattern Jan 30, 2009. When we consume business objects in UI, the logic can become pretty complex for activities like setting the business object value, getting the object value and setting the user interface from the object value. We can minimize the complexity of UI interaction with the business object using mediator pattern.
  • Introduction to Enterprise Library: Part VFeb 05, 2009. This article explains about implementation of Self Validation using Validation Application Block.
  • Introduction to Memorization PatternFeb 13, 2009. This article explains about implementation of Memorization Pattern in C#.
  • Introduction to Loosely Coupled CollectionsFeb 16, 2009. This article explains about Implementation of Loosely Coupled Collections in C#.
  • Secrets of Map and Filter FunctionsFeb 19, 2009. This article explains about C# Implementation of Map and Filter Functions
  • Introduction to Enterprise Library: Part IXFeb 23, 2009. This article explains about Implementation of Custom Validator using Validation Application Block.
  • Introduction to Memento PatternFeb 24, 2009. This article explains about Memento Pattern and its Implementation in C#
  • Choosing a technology for your data access tierApr 04, 2009. What are the criteria that software architects and developers should consider when choosing a technology to build their database access tier?
  • MVP (Model View Presenter) – Supervising Controller.Apr 12, 2009. This articles discusses a general implementation of the Supervising Controller MVP (Model View Presenter) pattern for a win-forms application and the use of a dialog broker to allow pulling additional logic into the controller class.
  • Validation in ASP.NET using jQueryApr 21, 2009. Validation is an important requirement in every enterprise application and every platform has its own implementation to this regards. In this article, I will illustrate how to implement client-side validation in ASP.NET using jQuery.
  • Implementing optimistic concurrency control in ASP.NET 2.0May 05, 2009. This article is intended to illustrate how to implement optimistic concurrency control in ASP.NET. Optimistic concurrency control is a mechanism to check when multiple users concurrently access and change a common data item; they don’t overwrite one another’s change. I’m going to illustrate a common scenario in an enterprise application and to show how we can solve the concurrency problems using optimistic concurrency control and the underlying implementation using Microsoft technologies.
  • this keyword in C#May 22, 2009. Simple explanation of this keyword to make user understand its way of using and implementation.
  • What are interfacesJun 01, 2009. In this article I will be explaining you about interface, there types and implementation.
  • MVC Declarative BindingJun 08, 2009. One of the things that makes the bar to implement any “MVC-ish” pattern high is the tremendous amount of plumbing required just to get started in order for the different entities to communicate state changes. This article introduces a utility library that can be used to declaratively bind the model and view encapsulating all the wiring required and making implementation much easier.
  • How to read and write ODF/ODS files (OpenDocument Spreadsheets)Jul 25, 2009. This article will explain basics of ODF format, and specifically its implementation in spreadsheet applications (OpenOffice.org Calc and Microsoft Office Excel 2007 SP2). Presented is a demo application which writes/reads tabular data to/from .ods files.
  • LINQ FAQ Part3Aug 01, 2009. This is the third series in my LINQ FAQ series. In this series we will cover LINQ FAQ’s related to concurrency handling, compiled queries, CRUD implementation and mapping simple .NET classes with XML file configuration. I love to write articles in FAQ format for the only purpose that they are to the point and you can get to know more by reading less.
  • Chess Knight Tour with C# and GDI+Aug 31, 2009. In this article you will learn how to wrap the Graphics object to create a Board class to render and maintain the state.
  • Custom CacheManager Implementation for Windows/Console applicationsSep 30, 2009. Mainly the term caching is used in web applications environments to store commonly used database values.
  • Passing Data from Child Window to Parent Window in Silverlight 3Oct 12, 2009. In this article we will see a sample implementation of this requirement to pass the value from the ChildWindow to the Parent Window.
  • Understanding the DOM ImplementationNov 30, 2009. In this article I will explain you about DOM implementation in C# and .NET.
  • Multiple Attachment Custom Control in SharepointJan 19, 2010. We will now explain the most important part of our Multiple upload attachment control implementation, which is the class that implements all the logic of our control.
  • A simple concretization of MVVM patternFeb 23, 2010. In this article I will show a simple MVVM implementation to help understand this pattern and how to deal with it, first let’s introduce the pattern.
  • MVVM implementation for Windows formsMar 03, 2010. In this article we will see how to implement the MVVM for the case of the Windows Forms.
  • Tooltip in DataGrid in WPFMar 06, 2010. I was just having hands on DataGrid in WPF, I was thinking how we can utilize Tooltip in DataGrid. In this article we will see some good implementation here.
  • AUDIT TRAIL SYSTEMMar 10, 2010. In this article I will explain the method I prefer for implementing an audit trail. Next, I will introduce a script to automate the implementation of the audit trail in the database.
  • Implementing Effects in JQueryMar 20, 2010. In previous article, we looked into events of JQuery. In this article, we will cover Effects and its implementation.

About Implementation-of-captcha

NA

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
techbash 2016