C# Corner

Resources  
  • Creating and Using Custom Attributes in C#Feb 27, 2000. Attributes are classes that allow you to add additional information to elements of your class structure.
  • Using Transforms with GDI+ in C#Mar 15, 2001. Transforms are matrices that allow you to rotate and translate your graphics shapes. In this example we are going to rotate a very powerful element in C# called the GraphicsPath.
  • Complex Numbers ClassMar 20, 2001. This small example demonstrates using some of the interesting language elements of the C# language.
  • Assemblies : The Ins and Out : Part IApr 13, 2001. In Part 1, I will cover what exactly an assembly is, and what an assembly contains.
  • Assemblies : The Ins and Out : Part IIApr 16, 2001. In this part, I will discuss both Private and Shared assemblies and how to create a "Shared Assembly".
  • Assemblies : The Ins and Out : Part IIIApr 20, 2001. In this part I will discuss in more detail than Part 2, the available utilities for manipulating assemblies.
  • Understanding Structures in C#Oct 23, 2001. A structure in C# is simply a composite data type consisting of a number elements of other types.
  • Web Forms Code ModelJul 23, 2002. ASP.NET introduces a new programming model for Web Forms to separate the code and visual elements in different files.
  • Consumer/Producer Multithreaded ProgramNov 04, 2002. This is simple multi-threading program that adds and removes elements in an ArrayList. Producer button will creates a producer thread that adds elements in to the ArrayList. The maximum number of elements can be added to this ArrayList are 100 elements and the producer thread has to wait until the consumer thread/threads (creates by pressing consumer button) removes elements from the ArrayList. Then Producer thread starts to add more elements to the ArrayList.
  • The "ins" and "outs" of Using Stored Procedures in C#Jan 27, 2003. This article reviews the creation of stored procedures with parameters using the Visual Studio IDE.
  • Basics of Extending Your Working Environment in Visual StudioApr 10, 2003. All of us have used Macros in Microsoft Office and Add-ins in Visual Studio 6 and I am very sure all of us have been impressed as well by their power to control their own working environment.
  • Developing Secure Web Site with ASP.NET and IIS: PartIIMay 07, 2003. Authentication is a very important element of developing secure sites. It is the starting point of a secure environment for the protected resources. I have discussed several authentication mechanisms available in ASP.NET and how they join with IIS to provide a secure platform to develop sites in Part I of this article. I will be looking at Form Authentication and how to implement it in several sample web applications.
  • Developing Secure Web Site with ASP.NET and IIS - PartIIMay 07, 2003. Authentication is a very important element of developing secure sites. It is the starting point of a secure environment for the protected resources. I have discussed several authentication mechanisms available in ASP.NET and how they join with IIS to provide a secure platform to develop sites in Part I of this article.
  • Fundamentals of Function Point Analysis Part IIFeb 18, 2004. Function points are a unit measure for software much like an hour is to measuring time, miles are to measuring distance or Celsius is to measuring temperature.
  • 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.
  • Thread Safe Collections ArrayList and QueueSep 24, 2004. The attached project provides a dll containing a wrapper around the non-thread safe ArrayList and Queue classes. The wrapper implements the most common functions of this collection elements.
  • How Count Sort worksJan 15, 2005. Count Sort is Linear Sorting algorithm which sorts elements in O(n) time , the other linear sorts include Bucket and Radix sorts.
  • Insert Master-Detail Data using Transact-SQLJun 24, 2005. Microsoft SQL Server 2000 SQLXML allows among other things to manage batch operations in a database, which reduces significantly the need of more than one round-trip to a database. OpenXML is a Transact-SQL statement that allows to represent data in XML format and can be used to insert, update, and delete more than one row (represented by an element) in a table or group of tables.
  • Fetching Data from a Database in XML FormatJan 28, 2006. In this article we will see how to fetch data from database in XML format.
  • Atlas: Floating Server Elements in ASP.Net 2.0Sep 26, 2006. In this article, we will see how easily Atlas allows setting up a server element as a floating element, which the end users of the web page can drag to any location in the web page.
  • LED Control EmulationFeb 06, 2007. This project describes an approach for constructing a hardware emulation of a segmented seven element LED display.
  • XAML TextBoxApr 10, 2007. XAML <TextBox /> element represents the XAML TextBox control. This article discusses how to create a TextBox and set its various properties such as background and foreground colors, setting size and positions, fonts, wrapping, scrolling, and input validations.
  • XAML Layout using the Panel ClassApr 12, 2007. This article describes how to use the DockPanel element to achieve standard layouts in XAML. While there are a number of interface elements that can be used to position controls in your application, DockPanel provides one of the easiest mechanisms for defining scalable layouts.
  • Introduction to Building a Plug-In Architecture Using C#Sep 10, 2007. In this article we'll take another look at how we can use the state pattern to build a plug-in architecture that will allow us to change the behavior of our application by placing differnt plug-ins into a folder.
  • Generate XML based Resource Files on the fly in ASP.NET 1.x applicationsSep 11, 2007. If internationalization was not part of your application’s initial development cycle, but required to extend it globally at a later point of time, then creating resource files from all the UI elements is a very tedious & manual process in ASP.NET 1.x. The framework presented in this article saves a developer from manually updating the resources and keeps the resx files in sync with the webforms and user-controls by automatically generating the resx files.
  • Free Book: Programming XML with C#Sep 15, 2007. Programming XML with C# is a 65 pages book written for C# programmers who wish to learn how to work with XML documents using C# language. In this book, you will learn the basic elements of XML and classes and objects available in .NET Framework to work with XML.
  • Configuration Sections; Introducing the Custom Configuration Section Concept: Part IApr 14, 2008. Custom sections of an ASP.NET Configuration File are customized sections that a developer configures by himself. In this case, the developer also sets their attributes and elements to suit special application needs in terms of settings.
  • Media Player in WPFAug 04, 2008. This tutorial shows you how to play and control media files in WPF and XAML using WPF Media controls.
  • Handle resource files - Generate a class with strong typed properties using StronglyTypedResourceBuilder: Part VIISep 03, 2008. You can generate a class with strongly typed properties issued from a given resources file elements or attributes using other way than in Part VI handle resource files where the resgen.exe is invoked to achieve such task.
  • Creating art using Silverlight and BlendNov 05, 2008. This article shows how you can draw attractive shapes and artistic elements using Silverlight and Blend.
  • Cropping or Clipping in WPFNov 06, 2008. The Clip property of an element (defined in the UIElement class) is used to clip a region and represents the geometry that defines the content of an element.
  • Using the Media Element control in Silverlight 2Dec 02, 2008. This article describes how to use the Media Element control in Silverlight 2.
  • Introduction to Page Layout using DIV elementFeb 03, 2009. This article explains about benefits of using DIV tag over TABLE in page layout design.
  • Introduction to Visual Studio Add-insMar 03, 2009. This article explains about Visual Studio 2008 Add-ins.
  • Introduction to Interfacing Win Forms with VS Add-insMar 04, 2009. This article explains about integration of Windows Forms with Visual Studio Add-ins.
  • Elements in XAMLMar 10, 2009. This article will explain Elements and their types in XAML.
  • Paging and Sorting ListViews with ASP.NET MVC and jQueryMar 23, 2009. This article provides a simple example of using jQuery along with the jQuery tablesorter and tablesorter.pager plug-ins to provide sorting and paging support for a listview within the context of an ASP.NET MVC application. JQuery has partnered with Microsoft and is now integrated within the IDE to include the availability of intellisense support.
  • Display Image in SilverlightMar 23, 2009. Image element represents an image control in Silverlight. This article demonstrates how to use an Image control in Silverlight to display images.
  • Parsing Markup to represent it as ObjectsApr 01, 2009. Here I place a project I made that takes any markup and turn it in form of a MarkupDocument with elements and attributes, content etc.
  • Drag n Drop an element from one Panel to another in Silverlight 3Aug 01, 2009. In this article we see the code to drag and drop an element from one panel to another in Silverlight.
  • Element to Element Binding in Silverlight 3 using Blend 3Aug 07, 2009. This article is all about element to element binding in Silverlight using Blend 3.
  • Find Controls by Name in WPFOct 03, 2009. FindName method of FrameworkElement class is used to find elements or controls by their Name properties. This article shows how to find controls on a Window by name.
  • Element to Element Binding in Silverlight 3.0Nov 09, 2009. In this article I am going to discuss new feature of Silverlight 3.0 called Element to Element Binding. I will show three samples to understand Element to Element Binding.
  • An XML Document and its ItemsNov 19, 2009. In this article I will explain you about XML Document and its Items.
  • Understanding the DOM ImplementationNov 30, 2009. In this article I will explain you about DOM implementation in C# and .NET.
  • Using PLINQ to Improve Learning AlgorithmsNov 30, 2009. PLINQ is a welcome addition to the .NET 4.0 framework, allowing us to operate on collection elements in parallel. This article examines the performance improvements of PLINQ over LINQ when doing heavy calculations on a large collection of genomes in a particular learning algorithm.
  • How to Quickly Build Attractive Mobile UI in VSDec 01, 2009. Every developer wishes his application was not only efficient but also attractive, full of beautiful graphical elements and easy to operate. It is definitely one of the most important factors deciding whether the app will be commercially successful or not.
  • Content Alignment in WPFDec 06, 2009. This article demonstrates how to align contents of elements in WPF.
  • Grouping and Sorting in ListBox in WPFDec 07, 2009. In this article we will see how we can group elements in ListBox.
  • Canvas in WPFDec 14, 2009. In this article, you will learn how to use a WPF Canvas panel using XAML and C#.
  • Border in WPFDec 18, 2009. This article discusses how to use the Border element to place borders around other elements in WPF using XAML.
  • Clipping or Cropping Images in WPFFeb 10, 2010. Clipping a region is a process of displaying partial area of a region by setting the outline of a region. In WPF, the clipping has been extended to all elements that are inherited from UIElement that includes controls, images, panels, Windows, and Pages.
  • SkewTransform in WPFFeb 14, 2010. SkewTransform is used to skew or shear an element. Shear can be used to add depth to elements to give them a 3-D look.
  • ScaleTransform in WPFFeb 14, 2010. Scaling is a process of stretching or shrinking an element. The ScaleTransform scales an element by a given factor.
  • RotateTransform in WPFFeb 14, 2010. This article demonstrates how to rotate elements and controls in WPF using XAML and C#.
  • TranslateTransform in WPFFeb 14, 2010. TranslateTransform is used to move an element from one position to other. The X and Y properties are used to move an element towards the x and y axes.
  • Video Brush in WPFFeb 20, 2010. This article demonstrates how to implement video brushes in WPF using MediaElement XAML element.
  • Transparent Brushes in WPFFeb 21, 2010. All elements in XAML including all brushes have an Opacity attribute that defines the transparency of an element. This article demonstrates how to use Opacity to implement transparent brushes in WPF using XAML.
  • LINQ to XML Part 1 - XAttribute ClassFeb 21, 2010. In this article, I will give explanation on XAttribute class. This class is used to construct Attributes in XML Elements.
  • Take Screen Shot From Media Element in WPFFeb 22, 2010. In this article we will see how can we take the screenshot of the Media (Video) we are playing.
  • Seek Bar For Media Element in WPFFeb 22, 2010. In this article we will see how we can add a Seek Bar that will seek to the desired position.
  • Media Element in WPFFeb 22, 2010. In this article we will see how to use Media Element in WPF and we will explore some of the basic functionalities such as Play, Pause, Stop, Back and Forward.
  • LINQ to XML Part 2: (XElement Class)Feb 23, 2010. In this article I describe the XElement class. This class is used to construct XML Elements.
  • Full Screen View for Media Element in WPFFeb 24, 2010. In this article we will see how we can make the Media Element to run FullScreen.
  • Hyperlink in WPFMar 07, 2010. The Hyperlink element is an inline-level content element that is used to add a hyperlink to a FlowDocument contents. You can add hyperlink support to any Inline element.
  • Selectors in JQueryMar 15, 2010. In this article, we will look into the selectors available for accessing elements of DOM.
  • Adding Elements to DOM using JQueryMar 20, 2010. In this article, we will cover functions to insert elements dynamically into the DOM.
  • Accessing Array and Collection using LINQApr 05, 2010. This article will teach you about how you can Access Array elements and Collections using LINQ.
  • WPF And User Interactivity Part I: Dealing With Geometries And ShapesApr 27, 2010. This first article will show the manner to handle elements within the scene. Indeed, WPF provides us a very helpful class, namely the VisualTreeHelper class.
  • Using Silverlight Grid ControlMay 03, 2010. The Grid control is the most flexible layout panel, and supports arranging controls in multi-row and multi-column layouts. It is conceptually similar to an HTML Table element.
  • Selecting and Modifying Elements using JQuerySep 13, 2010. In the following article we will see how to fetch and modify the elements on the page.
  • Inserting element in sorted Generic list (List) using binary searchSep 20, 2010. This article shows how we can insert an item into a sorted generic list such that after insertion the list will remain sorted.
  • 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.
  • Play Video in SilverlightOct 15, 2010. The MediaElement control is used to display and play videos in Silverlight. This article demonstrates how to use a MediaElement control in Silverlight to play videos with the help of XAML and C#.
  • 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.
  • Chapter 3: Data-Tier ApplicationsNov 30, 2010. With the release of Microsoft SQL Server 2008 R2, the SQL Server Manageability team addressed these struggles by introducing support for data-tier applications to help streamline the deployment, management, and upgrade of database applications. A data tier application, also referred to as a DAC, is a single unit of deployment that contains all the elements used by an application, such as the database application schema, instance level objects, associated database objects, files and scripts, and even a manifest defining the organization’s deployment requirements.
  • Working with Elements and Properties in Windows Phone 7 Dec 01, 2010. This article explores text and bitmaps in more depth, and also describes other common elements and some important properties you can apply to all these elements, including transforms.
  • How to Handle Manipulation Events and Properties in Windows Phone 7 Dec 02, 2010. This article describes common elements and some important properties you can apply to all these elements, including transforms. This lays the groundwork for the subject of Panel elements that provide the basis of Silverlight’s dynamic layout system.
  • Data Bindings in Silverlight for Windows Phone 7Dec 14, 2010. Data bindings are most easily demonstrated using two visual elements such as a Slider and a TextBlock, and that’s where I’ll begin.
  • Basic Drawings with OpenGL using C#Dec 15, 2010. The purpose of this paper is to show the functions and elements used to plot basic shapes and implement their transformations.
  • Dynamic Polygons, Geometries and ArcSegment in Windows Phone 7Dec 22, 2010. When a property backed by a dependency property is changed at runtime, the element with that property changes to reflect that change. This is a result of the support for a property-changed handler built into dependency properties.
  • Working with Animating Attached Properties, Splines-Key Frames and Easing Functions in Windows Phone 7Dec 30, 2010. You can use Silverlight animations in a couple different ways to move an element around the screen. One way is to target a TranslateTransform set to the element’s RenderTransform property.
  • XMLDocument (DOM) and XDocument (LINQ)Jan 20, 2011. Before LINQ to XML we were used XMLDocument for manipulations in XML like adding attributes, elements and so on. Now LINQ to XML uses XDocument for the same kind of thing. Syntaxes are much easier than XMLDocument and it requires a minimal amount of code.
  • Find nth element from last in a Linked ListJan 27, 2011. One very interesting problem is to find the nth element from the end in a linked list. Now it's very easy to find the nth element from the beginning of the list and can be done in one traverse. So what are the various solutions we can think of.
  • Understanding Routed Event in SilverlightFeb 04, 2011. Silverlight elements use KeyDown and KeyUp events to notify you when a key is pressed. These events use bubbling, so they travel up from the element that currently has focus to the containing elements.
  • Working with Routed Event in SilverlightFeb 04, 2011. In .NET we all are familiar with events, which are messages that are sent by an object, which can be any Silverlight element, like button, textbox etc., to notify code that something significant has happened. So in a typical .NET application, the control which fires an event also raises it / handles it.
  • How to Access/Manipulate HTML Elements/Javascript in SilverlightFeb 08, 2011. I recently came across a situation where I wanted to add Silverlight content to an existing page and allow the HTML and Silverlight portions of the page to interact.
  • Load External File to an HTML Element Asynchronously using jQueryFeb 09, 2011. Here I have used the jQuery AJAX method load() to show the external text file content to a DIV element.
  • Access/Manipulate HTML Elements/Javascript in SilverlightFeb 09, 2011. Trying out a few more helper classes, and do some practical exercises to access HTML in Silverlight
  • Programmatically Finding Binding Elements in WCF BindingFeb 26, 2011. How to enumerate the binding elements in a binding.
  • Canvas in HTML 5Mar 17, 2011. As you well know HTML5 has some new elements including the Canvas element. A Canvas is an object that displays graphics in it.
  • Scene Order (Layer Order) in XAML SilverlightApr 11, 2011. In this article, you will learn how to order elements or scenes.
  • Types of Transformation in XAML SilverlightApr 12, 2011. In this article, you will learn how to transform 2D elements by rotating, scaling, skewing and moving objects.
  • Basics of Transformation in XAML SilverlightApr 13, 2011. In this article, you will learn how to transform images (elements).
  • Types of Transformations in XAML SilverlightApr 14, 2011. In this article, you will learn how to transform 2D elements by rotating, scaling, skewing and moving objects.
  • Sharepoint list and data typesApr 29, 2011. Here we Understand the concept of Database, SharePoint List table in SQL server VS, SharePoint List Template, SharePoint and custom data types and Column Name and will see to add, delete, edit the elements in SharePoint List
  • CSS: Change Image of Button On Hover and DisabledMay 06, 2011. This article helps to understand how CSS is changed automatically when a button is disabled from the server side. Further, how to define CSS when a user hovers over an element.
  • Groping Elements in Expression Blend SilverlightMay 12, 2011. In this quick article, you will see how to group controls in Expression Blend.
  • REST API in SharePoint 2010 for Excel Services: Part 1Jun 20, 2011. The REST API in Excel Services is new in Microsoft SharePoint Server 2010. REST API is used to access workbook parts or elements directly through a URL.
  • Working With Area Tag in HTML5Jul 05, 2011. The <area> tag is used only within a <map> tag. The <area> tag is used to define the areas on the image map that whenever user clicks on the area user will navigate to other page.

About element-in-typescript

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!
VSLive! Anaheim