C# Corner

Resources  
  • Ouch! There is a Hook in My C#May 15, 2001. As an extension to the J++ design practice, C# has a syntactic construct, called Attributes, which let you drop hooks to Windows API or modify the runtime semantics, like threading synchronization behavior. The C# has legalized the hooking practice by calling them Attributes, and including them in ECMA C# specification.
  • Virchk.cs: A C# file Scan Utility for Generating MD5 Signature FootprintsJun 13, 2001. Virchk.cs is a file scanner utility, which traverses the files in a directory and all it's sub directories, to generate a MD5 hash signature footprint of the targeted extensions file.
  • Understanding Properties in C#Oct 15, 2001. In C#, properties are nothing but natural extension of data fields. They are usually known as 'smart fields' in C# community.
  • Animate with Pocket PCApr 29, 2002. If you are lucky enough to get the Smart Devices Extensions you will finally be able to target devices like Pocket PCs using C# however like all good things there are a few snags.
  • Getting NASDAQ Quotes with a Pocket PCMay 22, 2002. If you have been lucky enough to get the Compact Framework or Smart devices extension beta for April 2002 you may be wondering what you can do with it.
  • TWINXBASE ServiceSep 09, 2002. This service scans in a directory by using FileWatcher component and when a file arrives, then the service will check the extension of the file, if the file has the extension .DBX then it will read the contents of the file and communicate with the database (C:\FILESERVICE\DB\MyDB.mdb) and insert / update / delete the records in the database -table.
  • Data Access Overview for Smart Device ExtensionsDec 23, 2002. In this article we will take a brief look at ata Access for Smart Device Extensions.
  • Integrating Web Services with SDE Oct 01, 2003. In this article, we will see how to integrate Web services with a smart device application.
  • Using SOAP Header and SOAP Extensions in a Web ServiceApr 12, 2004. In this article, we will develop a web service that would authenticate users for web sites. The web site needs to pass the user ID as well as the password for the user. Apart from this the web site also needs to pass the site’s ID and password.
  • HTTP Handlers in ASP.NETAug 24, 2004. The low level Request and Response API to service incoming HTTP requests are HTTP Handlers in ASP.NET. All handlers implement the IHttpHandler interface, which is located in the System.Web namespace. Handlers are somewhat analogous to Internet Server Application Programming Interface (ISAPI) extensions.
  • Generics in C#Oct 06, 2004. Generics are the most useful C# 2.0 language extensions, beside Anonymous methods, Iterators, Partial types And Nullable types.
  • Language Extensions in C# 2.0Apr 21, 2005. This article intends to the C# 1.x developers and covers what-why-how the new enhancement .The philosophy behind the document is to have quick update on C# 2.0 and leverage this in your day to day development work.
  • Message-level Declarative Security Using WSE 3.0Mar 06, 2006. Web Services Enhancement version 3.0 (WSE 3.0) is a SOAP extension managed API (Microsoft.Web.Services3.dll) compatible with the .Net Framework 2.0. This article explores WSE 3.0 in terms of implementing message-level declarative security to Web services and Web service clients.
  • Introduction to .Net Framework 2.0 Nullable TypesAug 23, 2006. Sometimes you work with a value type that does not have a defined value in certain circumstances. For example, a field in a database might need to distinguish between having been assigned a meaningful value and never having been assigned a value. Value types can be extended to take either their normal values or a null value. Such an extension is called a nullable type
  • Getting Started with AJAX 1.0Feb 09, 2007. After fruition of this article, you will have a better understanding of AJAX 1.0 extensions and will learn how to build AJAX enabled Web applications using ASP.NET 2.0 and Visual Studio 2005.
  • Preview of What's New in C# 3.0Mar 02, 2007. This article discusses about the new enhancements expected in C# 3.0.
  • ASP.Net 2.0 AJAX Extension 1.0 ApplicationMar 21, 2007. This article will explain you in dept of creating AspNet Ajax-Enabled Application I have explained with the help of product management example, where you can add new product, edit, update & cancel the product related activity.
  • Introduction to Functional Programming in C#Jan 13, 2008. With the release of the 3.5 framework, we have a completely different coding style available (functional programming). We could actually do functional programming in the 2.0 framework, but the resulting code was ugly and hard to understand at a glance and thus hard to maintain. Now, with lambda method syntax and extension methods, we can produce very human-readable code written in a functional style.
  • Functional Programming with C#: Asynchronous Method CallsJan 20, 2008. With the functional programming style and extension methods it is extremely easy to execute methods asynchronously. This article cover some simple extension methods that will allow you to easily execute your methods asynchronously with threads from the thread pool.
  • Chapter 32: Web Service Standards and ExtensionsFeb 07, 2008. This chapter describes two most important web service protocols: SOAP and WSDL. SOAP is an incredibly lightweight protocol for messaging. WSDL is a flexible, extensible protocol for describing web services.
  • Extending The String ClassMar 17, 2008. This article will show you a technique (new for C# 3.0) that allows you to extend the string class inside the .NET framwork to include your own string methods.
  • Extension methods under .NET Framework v2 and v3Mar 31, 2008. This artilce tells you how to implement extension methods when using the .NET Framework v2 or v3 within Visual Studio 2008.
  • An Introductory look at the ASP.Net 3.5 Model-View-Controller FrameworkMay 14, 2008. In this article we will take a brief look at the Model View Controller Framework extension for ASP.Net 3.5.
  • Database Server-side Applications.Extensions to SQLJul 09, 2008. Developers have struggled with the power and limitations of SQL. SQL is language oriented to manipulate data set, but enterprise applications always need to implement business logic that goes beyond the reach of SQL. This article is intended to illustrate the main constructs in these database management systems.
  • Secrets of Extension Methods: Part IDec 22, 2008. This article gives an introduction to Extension Methods.
  • Secrets of Extension Methods: Part IIDec 23, 2008. This article explains how Extension Methods are used in LINQ.
  • Extension Methods in C#Mar 17, 2009. In this article I would like to introduce one of new C# 3.0 enhancements “Extension Methods” and so on.
  • What is an ASHX file Handler or web handlerMar 27, 2009. In this article you will get the knowledge about ASHX file Handler or web handler.
  • Focus on the Extension of WCF BehaviorMay 17, 2009. WCF provides the flexible and extensible architecture for the developer. The most common situation is to customize the extension of behavior. It is not complex, but some issues should be noticed. This article is prepare to discuss how to extend the behavior in WCF.
  • Extension Method Jun 10, 2009. This article will explain about Extension method with a complete example.
  • Parallel Extension in .NetJun 10, 2009. This tutorial gives the idea of Parallel Extension being built by Microsoft to many of its existing features.
  • Parallel Extension to LINQ Jun 18, 2009. This article gives you an idea how to utilize Parallel Extension to Linq or PLINQ.
  • Adding Custom Menu in Html Helper class using Extension Method in ASP.Net MVCJul 03, 2009. This article will show how to add new functionality in HtmlHelper class using Extension method. This will give step by step explanation of, how to create or add MENU functionality n Html helper class and then use that in view of ASP.Net MVC application.
  • Dynamic Data in ASP.Net 3.5 Extension Part#1Jul 08, 2009. This is Part#1 of Dynamic Data article series. This article will give an introduction of Dynamic data and how to create a very basic data driven web application on North wind database using Dynamic data feature of ASP.Net 3.5 extension.
  • Dynamic Data Web Application in ASP.Net 3.5 Extension Part#2Jul 10, 2009. This is Part#2 of ASP.Net Dynamic Data article series. This article will give introductions of different scaffold templates. This article will explain how to customize the templates also. This article is containing three samples which is demonstrating, how to update the default templates.
  • Ajax with Postback RitalinAug 01, 2009. Recently I noticed a simple and nice control giving more functionality to partial postback, it is Postback Ritalin. This is built on top of ASP.NET Ajax extensions and offers a nice solution to a common problem i.e. disabling button during partial postbacks.
  • Extension Methods in C#Aug 31, 2009. This article explains the new extension methods feature in C# 3.0 and how to user it.
  • Introduction to LINQ, Extension methods and Lambda ExpressionsOct 18, 2009. This article is an introduction of LINQ, Extension methods and Lambda Expressions. In my following articles, I will delve into more details.
  • String Format Extension in XAML Binding in Silverlight 4 May 13, 2010. In Silverlight 4, an extension property called StringFormat is added to display formatting display. There are some predefined formats available. In this article we will see some of them.
  • MSChart - How to create a column chart or graphAug 18, 2010. Updated Version with samples code attached..This article will help you in creating a column chart or graph using MSChart and how to use MSChart extension with 3.5 framework.
  • Extension Methods for Daily UseSep 01, 2010. Extension Methods allows the programmer to extend the functionality of a type without having to derive from the type.
  • Build Dynamics CRM mobile Apps That Work on WM, TabletPC, iPhone or iPadSep 02, 2010. Resco MobileCRM Studio is a developer platform that assists in the development of mobile applications which are used as extensions to Microsoft Dynamics CRM.
  • .NET 4.0 MEF FAQ (Socket, Plug and Extension)Sep 03, 2010. This FAQ deep dives in to .Net 4.0 MEF fundamentals (Import and Export) and also explains when to use MEF over DI / IOC. This article also explains step by step on how to use MEF in various technologies like Silverlight, WPF and ASP.NET.
  • C# Extension MethodsSep 06, 2010. In this article you will learn how to use Extension Methods in C#.
  • How to Debug WPF Data Binding markup extensionSep 13, 2010. In this article we will see How to debug WPF Data Binding markup extension.
  • Iterator Design Pattern Sep 20, 2010. The Iterator pattern provides a way of accessing elements of a collection sequentially, without knowing how the collection is structured. As an extension, the pattern allows for filtering elements in a variety of ways as they are generated.
  • What is Iterator Design Pattern?Oct 24, 2010. The Iterator pattern provides a way of accessing elements of a collection sequentially, without knowing how the collection is structured. As an extension, the pattern allows for filtering elements in a variety of ways as they are generated.
  • Using StaticResources in WPFOct 26, 2010. Here I describe Resource markup extensions.
  • C# Language EnhancementsOct 26, 2010. This article talks about some C# language enhancements.
  • What are Extension Methods and how to implement themDec 14, 2010. In this article you will learn what are Extension Methods and how to implement Extension Methods.
  • Silverlight with MEF, for dynamic downloading of XAP FilesDec 18, 2010. MEF i.e. Managed Extensibility Framework is a component of .Net Framework 4.0 and also added support to Silverlight 4.0. It actually simplifies the creation of extensible applications using extensions to develop encapsulated code without any hard dependencies, i.e we can load an assembly on demand from a specific location.
  • Extension Methods in C#Feb 11, 2011. Extension methods make it possible to write a method to a class that doesn't offer the method at first. You can also add a method to any class that implements a specific interface, so multiple class can make use of the same implementation.
  • Extending the DateTime structure: Part IApr 12, 2011. This article presents some "extension" methods which I hope will be useful for those developers who, like myself, work a lot with dates.
  • What's New in Silverlight 5 - XAML ChangesMay 09, 2011. In this article, we’ll have a brief discussion of the new XAML features of Silverlight 5.
  • Getting Familiar With the Type Related Extenstion Methods – Select(), Cast() and OfType()May 14, 2011. The class Enumerables.cs provides various extension methods for the built-in classes like IList, ArrayList, IEnumerable etc.
  • ToLookup Extension Method explainedMay 28, 2011. The ToLookup() method can be used to quickly create lookup items based on different conditions.
  • PIN Extension Method Using C#Jun 07, 2011. An extension method is a special kind of static method that allows you to add new methods to existing types without creating derived types. PIN stands for the three extension methods PreviousItem, IndexOfCurrentItem and NextItem.
  • Custom Markup Extension in Silverlight 5 BetaJun 15, 2011. This article will talk about Custom Markup Extensions.
  • Fetching Different Values in LINQ Concurrency ConflictJun 28, 2011. If you have not read my article Resolving Concurrency conflicts in LINQ then I strongly recommend that you read it first. This article is a simple added extension of the previous article.
  • Creating a Custom Markup Extension in WPFJul 08, 2011. Custom Markup Extension enables you to extend XAML and set any property that can be set in XAML using attribute syntax.
  • Extension Methods in .NETJul 21, 2011. In this article we will see what extension methods are, why we need them and how to create them.
  • Object Initializer in C#Jul 29, 2011. Here you will learn some new features in C# 3.0 ike Object initializer, implicitly typed variables, extension methods, anonymous types, object initializer, Collection initializer, and automatic properties.
  • ASP.NET MVC 3 Razor View And HTML HelpersAug 06, 2011. After reading this article, you will have a clear idea of the use of HTML helpers against razor view. I included 2 very simple examples of using an inline HTML helper inside the view itself and using HTML helper with an extension method and call the method inside view.
  • Custom Markup Extensions in Silverlight 5: Part 1Aug 20, 2011. In this article we are going to learn about the Custom Markup Extensions in Silverlight 5 .
  • Custom Markup Extensions in Silverlight 5: Part 2Aug 21, 2011. In this article we are going to continue to learn about the Custom Markup Extensions in Silverlight 5 .
  • How to load Skins dynamically in WPFSep 09, 2011. This sample demonstrates how to load skin files dynamically in WPF. A skin file has the file name extension .skin and contains property settings for individual controls such as Button, Label, Textbox, or Calendar controls.
  • Managed Extensibility Framework (MEF)Sep 17, 2011. MEF is a component of .NET framework 4.0, to create lightweight, extensible applications. It avoids hard dependencies and lets the application developer discover and use extensions without any configuration required.
  • How to create extensions for LightSwitchOct 07, 2011. In this article, we shall discuss how to create extensions for LightSwitch 2011 using Microsoft’s Visual Studio LightSwitch 2011 Extensibility Toolkit.
  • Extension Methods in C#Oct 17, 2011. .NET framework comes with a set of inbuilt classes and types which we use extensively in our applications. Integer, string, float etc are some of these which are very frequently used.
  • How to create my own shell for LightSwitch 2011Oct 21, 2011. In this article we shall discuss about how to create shell extension for LightSwitch 2011.
  • Extension Method in C#Nov 16, 2011. In this article we will define the Extension Method and perform the sum arithmetic operation in C#.
  • How to Use a Menu Control in MVC with TelerikNov 16, 2011. Let's Create a Simple Menu Control Application in MVC using Telerik.
  • Retrieving Database Values with Telerik Grid in Razor MVC 3Nov 17, 2011. In this article, we will see how to retrieve database values using telerik grid and show the output into new enhanced UI. So, here for this requirement, we need to use Telerik Extensions for MVC.
  • TabStrip and TreeView creation using Telerik in ASP.NET MVCNov 30, 2011. Today, we will see how to create a Tabstrip and Treeview using telerik in ASP.NET MVC.
  • An Extension of Assert.AreEqual for images in MSTestDec 05, 2011. It is an extension of Assert.AreEqual for Images as AssertImage.AreEqual. This extension will compare two images and based on condition it will assert.
  • How to Work with NuGet?Jan 09, 2012. NuGet is a Visual Studio extension. It helps you Add library and tools to Visual Studio .Net Framework project. Remove library and tools to Visual Studio .Net Framework project and update library and tools to Visual Studio .Net Framework project.
  • Minimal Shell Extension in Visual Studio LightSwitch 2011Feb 06, 2012. In this article you will see, how to use a minimal shell extension and how to attach a logo in your LightSwitch application.
  • Extension Methods in .NETFeb 06, 2012. To put it in a simple manner, Extension Methods have been introduced in the .NET 3.5 framework to add methods to a class without altering the code of that class.
  • Frequently Used Extension Methods in LINQApr 15, 2012. In this article we are going to see the frequently used extension methods in LINQ with the help of Lambda expressions.
  • Practical Usage of Complete Extension Methods in LINQApr 18, 2012. In this article we are going to see the complete usage of extension methods in LINQ with the help of a Lambda expression.
  • Custom Extension Method to Compare List in C#May 24, 2012. In this article, we will see how to create a custom extension method to compare 2 lists in C#.
  • XPath Using HtmlAgilityPack and WebClientJun 25, 2012. In this article we have used HtmlAgilityPack to get multiple nodes using SelectNodesByPattern, which is an extension method.
  • How to Get a File Extension in C#Jul 14, 2012. How to get a file extension using C# and .NET
  • C# Extension Methods: ExplainedAug 06, 2012. The intention of the article is to give an idea of what extension methods are and their benefits.
  • Overview of Extension Methods in C#Sep 21, 2012. This article is an overview of Extension Methods in C#.
  • Creating Extension Methods in ASP.NETSep 26, 2012. In this article we will create some extension methods for an ASP.Net application.
  • HTML Helper For Image (@Html.Image): Developing Extension in MVCOct 23, 2012. Today I worked on a project where I am required to display an image on the web page. As you know there is not a HTML Helper for images yet.
  • Understanding Properties in VB.NETNov 09, 2012. In VB.NET, properties are nothing but natural extension of data fields. They are usually known as ‘smart fields’ in VB.NET community. We know that data encapsulation and hiding are the two fundamental characteristics of any object oriented programming language.
  • Animate with Pocket PC in VB.NETNov 10, 2012. This article discusses programming for a Pocket PC in general. If you are lucky enough to get the Smart Devices Extensions you will finally be able to target devices.
  • Getting NASDAQ Quotes with a Pocket PC in VB.NETNov 10, 2012. This article describes about getting the NASDAQ Quotes with a Pocket PC. If you have been lucky enough to get the Compact Framework or Smart devices extension beta for April 2002 you may.
  • ASP.Net Toolbox (AJAX Extensions Control): Part 7 in VB.NETNov 10, 2012. In this article we will discuss, ASP.Net Toolbox controls and its uses. In this article I am only writing some lines on each and every control available in AJAX Extensions Control section.
  • WaterMarkTextbox Control in Windows Store Application Using XAMLNov 27, 2012. This article will introduce you to the WinRT XAML Toolkit and how to use this Toolkit to develop a Windows Store Application using XAML. The sample in this article uses a control (extension) of this Toolkit known as WaterMarkTextbox.
  • Play MKV File With Windows 8 Media PlayerDec 21, 2012. In this article we are going to explain how to play a Windows Media Player (.mkv or .avi extension or H264) file in Windows 8.
  • Bind List Using LINQ ExtensionDec 26, 2012. Throughout this article, you will learn how to create a group and sort the records by the group using LINQ.
  • List All Files in a Folder Based on File Extension in ASP.NETJan 14, 2013. This is a very simple article on how to search and list all the files in a folder based on the file extension provided.
  • Show Extensions For Known File Types in Windows 8Jan 24, 2013. In this article we are going to explain how to show extensions for known file types in Windows 8.
  • Read Trx File From C#Jan 29, 2013. A Trx file is nothing but a Visual Studio unit test result file extension. This file is in XML format. The result of a unit test is kept in the TestResult folder in the base directory. You can open these files in Visual Studio to see the results.
  • Show GIF Images in Windows Phone 7.1Feb 04, 2013. This article discusses how to load .gif extension images in Windows Phone 7.1.
  • Extending Alfresco SubsystemFeb 16, 2013. In this article you will learn how to extend the Alfresco subsystem.
  • Validate File Extension in ASP.NET Using JavaScriptMay 03, 2013. This article shows how to validate a file extension in ASP.NET using JavaScript.

About Extension

NA
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!
Download Free eBooks