C# Corner

Resources  
  • Yahtzee Program using C#Jan 24, 2000. The Visual C# environment has given the programmer the ability to create applications in RAD mode without the steep learning curve for the C++ programmer. (I do miss templates though!). The above application, yahtzee, is based on a popular poker-like dice game.
  • Using Interfaces in .NET RemotingNov 30, 2001. In this article, we will create a remote object that will return rows from a database table. For the sake of simplicity I have used the NorthWind database that is packed with the installation of the Microsoft SQL Server.
  • N-Tier Development with Microsoft .NET : Part IFeb 15, 2002. The purpose of this article is to examine a proof of concept on an architecture that follows the DNA pattern on concept only.
  • JIT CodingMar 11, 2002. One not so well known feature of .NET platform is possibility to invoke compiler and practically create code and assembly from running instance of application. It is possible to do that in two ways. First one is a bit simpler and involves namespaces System.CodeDom and System.CodeDom.Compiler, second one is more efficient and utilizes namespace System.Reflection.Emit. Since there are very few examples about how to use System.CodeDom.Compiler I will start with it.
  • Programming Template in Web Server ControlsJul 15, 2002. Templates play a major role in managing the layout and format of the data being displayed in ASP.NET data bound controls.
  • Hex Colors in C#Sep 05, 2002. Currently I am developing a shareware application for generating image galleries for the web. There is a template engine built in that allows the user to specify colors as hexadecimal values, plus many other features.
  • 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.
  • ODBC usage in .NETSep 24, 2003. This article will provide a template of how to represent a smallint, integer, decimal, varchar and other ODBC data types that are used in the SQL Server environment in COBOL.
  • Reading and Display Source of Web PagesDec 30, 2003. This sample project is made to help ASP.NET developers. This projects highlights how to add HTML page inside your ASP.NET page which is hosted on same or different webserver. This page can still run on that server and only output is included in the ASP.NET page.
  • Automate the process of documenting your codeDec 04, 2004. The Visual Studio .NET IDE allows to document your code in a way that the compiler can create an XML document describing your classes, methods, properties, etc. This article explains how to use this feature and then create a basic help file out of it.
  • MADLibs.NET and C# and ASP.NETMar 22, 2005. The MadLib.NET game will continue to prompt the user with each grammar only in the <> brackets. When the programming engine reaches the end of the template, the story is displayed.
  • Using Snippets in Visual Studio 2005Nov 10, 2005. Visual Studio contains several built-in intellisense code snippets. Snippets are like templates and can be described completely in XML. If you understand the snippet xml schema, you can easily begin to create your own snippets.
  • Presenting Child Data along with Parent Row in Data GridNov 10, 2005. This article explains how we can bind the parent and child data to a Data Grid with minimum code effort using the Repeater control.
  • Template for Designing Web ApplicationNov 14, 2005. This article explains to develop a web application with ease and make it more robust and scalable.
  • Master Pages in ASP.NET 2.0Nov 15, 2005. Master pages is a new concept in ASP.NET 2.0, which allows site developers to build master templates for their site's look and feel and put all common code which is shared by all the pages.
  • Building Windows Longhorn Applications using Visual Studio codename WhidbeyNov 15, 2005. The preview version of the next version of Visual Studio 2003 is called Visual Studio codename Whidbey. Visual Studio Whidbey has a support for building applications for Windows codename Longhorn, which is a new addition to the Windows operating systems series and successor of Windows XP.
  • Creating Custom Template for Web User Control in Visual Studio.NET 2003 Nov 25, 2005. This article shows you how to create custom template for web user control in visual studio 2003. The attached sample application will install the custom template for the name given for either VB or C# language and also uninstall the custom template.
  • A Loader and Game Pad for Playing SudokuJan 13, 2006. This C# application will allow you to load existing Sudoku games, manually create your own games, save, print, and check Sudoku puzzles, and more. The article also describes how to use the XmlDocument class to persist Sudoku templates and games in progress.
  • Creating Custom Templates in SharePointJan 29, 2006. This article is all about creating custom templates in SharePoint.
  • Generics in C# 2.0Feb 02, 2006. In this article we will see how we can use generics in C#, we have read this concept as templates in C++.
  • An Introduction to C# GenericsFeb 06, 2006. There is a reality; most of the developers confuse about C# Generics. Actually, there is no reason for that. If your background comes from C++ or Java you may understand more easily. What “Templates” tell you from your C++ knowledge or “Generics” from Java.
  • AJAX Repeater control Feb 19, 2006. AJAX has been in shadows for a decade now but it started buzzing right after the launch of the Google Earth. This article shows how to create an AJAX Repeater control with item, header, footer, alternative item, and seperator item templates using AJAX and ASP.NET.
  • An Elegant C# Data Access Layer using the Template Pattern and GenericsMay 22, 2006. The GOF Template pattern coupled with .NET 2.0 Framework generics provides an awesome synergistic alliance. This article demonstrates how to drastically reduce the amount of code required in building a data access layer. Less code to debug... less code to break... less code to maintain... what could be better?
  • Dynamic Data Grouping using MS Reporting ServicesAug 07, 2006. This article shows to generate multiple outputs from a single physical report template using dynamic data grouping.
  • Enhanced way to send E-mail with a TemplateOct 06, 2006. E-mail is used to send notification to customer nowadays, and since any smart developer try to send any notification in a professional format, one of these issues to send your notification in a template, this template might be your employer template or any other template you want to send it from your application.
  • XML Data Binding in WPFApr 11, 2007. This article describes how to bind XML data using a data template in WPF and XAML. For ease of demonstration, the XML is defined as a resource within the XAML document.
  • Host a combo box column within a DataGridView control Feb 26, 2008. In this article I willl show how to host a data grid view combo box column within a data grid view control.
  • Nested Master Pages in ASP.NET 3.5Sep 02, 2008. Nested Master pages are used when you are build a hierarchy of templates for your web site. This article explains the improved designer for creating Nested Master pages in Visual Studio 2008 and ASP.NET 3.5.
  • SharePoint Quick Start FAQ: Part IIIJan 15, 2009. This is my third series of SharePoint Quick Start FAQ. We will cover page templates , page instances , WSS model , understand safe mode processing , deploy custom controls and understand WebParts. So let’s drink the SharePoint wine series by series, slowly , maintain the hangover and enjoy this great product.
  • Introduction to Dynamic Data Web Application Model: Part IJan 15, 2009. This article gives an introduction to Dynamic Data Web Application Template
  • Introduction to Dynamic Data Web Application Model: Part VIFeb 18, 2009. This article explains about interfacing Stored Procedures and Dynamic Data Entities Web Application template.
  • Introduction to Template Method PatternFeb 27, 2009. This article explains about Template Method Pattern in C#
  • Introduction to Templates in Visual Studio 2008Mar 04, 2009. This article explains about Visual Studio Templates.
  • 8 Steps to create workflows using SharePoint designer Apr 15, 2009. Workflows are now an integral part for any project. You can build a SharePoint work flow using the available templates, SharePoint designer and using visual studio 2005 / 2008. This tutorial will mainly concentrate on work flow creation using Sharepoint designer. We will walk through the basic 8 steps needed to create work flows using Sharepoint designer.
  • Customizing GridView control for data modificationsApr 29, 2009. This article is intended to illustrate how to customize GridView controls for data modification.
  • Button Control Template In Silverlight 3Jul 07, 2009. Using Blend 3 Creating Button Control Template in Silverlight 3
  • 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.
  • Developing a New Control Using VSM in Silverlight 3Jul 31, 2009. Silverlight provides a Visual State Manager (or VSM) that manages different states as users interact with controls. For example, you might want to change the background of the Button as the user mouses over it and make it look slightly bigger or smaller when a user clicks it. All of this can be done using the Visual State Manager. The discussion that follows will walk through show how custom templates and VSM states can be created visually.
  • Show Data in WPF DataGrid using DataSet data templateOct 26, 2009. This article will demonstrates how to show data in wpf datagrid using dataset data template.
  • .Net Batch Job TemplateDec 07, 2009. This article shows how to create a reusable batch job template.
  • Working with Data in ASP.NET 2.0: Master Pages and Site NavigationFeb 25, 2010. ASP.NET 2.0 introduces two new features that greatly simplify implementing both a site wide page layout and navigation scheme: master pages and site navigation. Master pages allow for developers to create a site wide template with designated editable regions.
  • Dynamically creating bound and template columns in GridView using ASP.NetMay 03, 2010. Here in this article I will explain how one can develop or implement runtime dynamically create bound column as well as template column of a GridView control and also how to bind data into the dynamically created GridView.
  • Customizing Alert Templates in SharePoint Foundation 2010May 07, 2010. In this article we will see how to customize alert templates in SharePoint Foundation 2010.
  • UriTemplate Class in WCF REST Service: Part IJun 03, 2010. This article will give explanation about UriTemplate class in WCF REST Service. We will see how UriTemplate class helps us to construct the URI for the methods.
  • How-to store FastReport.NET report templates in databaseAug 25, 2010. Some applications require the storing of report templates in a database. This simplifies template support - all reports are stored in one place, and allows to differentiate the access rights to different templates. I noted only one shortcoming of this technique - slight complication of the code in the client application.
  • Add a Data Connection to SharePoint List or Library in InfoPath Form TemplateSep 07, 2010. This article will help you bind the SP list or library in InfoPath. Below article contains only few basic steps which will help you to display the sp fields in InfoPath Form template.
  • Publish an InfoPath form template as SharePoint site content typeSep 07, 2010. This is how to publish an InfoPath form template as a new SharePoint site content type.
  • How to Display SharePoint Blog Post ArchivesSep 08, 2010. In this article I am showing how to make a share point blog post archive using share point calculated column and Data view. It will be helpful with default SharePoint blog template.
  • Using NVelocity and WithClass to Generate C# CodeSep 22, 2010. NVelocity is a powerful template engine for rendering text. When NVelocity is used in conjunction with a UML tool such as WithClass, you can generate code from diagrams you create with the tool. This article steps you through generating C# classes using the NVelocity engine inside of WithClass.
  • Change Image in Silverlight using Control TemplateOct 20, 2010. This article will demonstrate how to change image using ControlTemplate in Silverlight 4.
  • Using Quota Template to manage site collection storage limits (Power Shell, SharePoint 2010)Oct 22, 2010. In this article I am showing you how to set limit for SharePoint 2010 site collection using Quota Template. Here I am using Power Shell to define Quota Template.
  • Using Quota Template to manage site collection storage limits through Central AdministrationOct 22, 2010. In this article I showing you how t o create a managed path using SharePoint Central Administration.
  • Chapter 1: From 2003 to 2010: Business Logic and DataNov 22, 2010. After reading this chapter, you will be able to: Use the Entity Framework (EF) to build a data access layer using an existing database or with the Model-First approach Generate entity types from the Entity Data Model (EDM) Designer using the ADO.NET Entity Framework POCO templates Get data from Web services Learn about data caching using the Microsoft Windows Server AppFabric (formerly known by the codename “Velocity”)
  • Chapter 5: From 2005 to 2010: Business Logic and DataNov 30, 2010. After reading this chapter, you will be able to Use the Entity Framework (EF) to build a data access layer using an existing database or with the Model-First approach .Generate entity types from the Entity Data Model (EDM) Designer using the ADO.NET Entity Framework POCO templates. Get data from Web services Learn about data caching using the Microsoft Windows Server AppFabric (formerly known by the codename “Velocity”)
  • Create Document Templates for Document LibrariesDec 09, 2010. In SharePoint we have a good feature that helps protecting source for document templates.
  • 3-Column CSS LayoutDec 14, 2010. 3-Column CSS Layout, 3-Column CSS Template
  • SharePoint 2010 Site Templates: Create, Save and UseDec 15, 2010. SharePoint site is the key place to bring together all content and activities associated with a particular process, project or group. And there are situations when these processes or projects are regularly repeated within an organization. So to ensure consistency and facilitate continuous improvement a site template can be helpful and time saving.
  • Creating Installable InfoPath form Template and deploying in SharePointDec 19, 2010. In this article I will explain how can we create and publish browser enabled InfoPath form in SharePoint site.
  • Creating, Hosting and Consuming WCF Service with WCF Service Library Project TemplateDec 27, 2010. In this article we will walk through creation of a WCF Service by choosing the WCF Service Library project template.
  • WPF DataGrid StyleJan 01, 2011. The DataGrid control provides a flexible way to display a collection of data in rows and columns. The DataGrid includes built-in column types and a template column for hosting custom content. The built-in row type includes a drop-down details section that you can use to display additional content below the cell values.
  • Sharing and Reusing Styles and Templates in Windows Phone 7Jan 03, 2011. The new Style can add to those Setter objects or override them. However, it is not possible to derive from a ControlTemplate. There’s no way to reference an existing ControlTemplate and specify an additional piece of the visual tree, or a replacement for part of the visual tree.
  • Work with Template, Visual Tree and Visual State Manager in Windows Phone 7Jan 03, 2011. This article will demonstrate how to write templates by hand so you’ll be in a better position to understand Expression Blend output if you later decide to go that route.
  • Chapter 8: From 2008 to 2010: Business Logic and DataJan 20, 2011. After reading this chapter, you will be able to Use the Entity Framework (EF) to build a data access layer using an existing database or with the Model First approach. Generate entity types from the Entity Data Model (EDM) Designer using the ADO.NET Entity Framework POCO templates Learn about data caching using the Microsoft Windows Server AppFabric (formerly known by the codename “Velocity”)
  • How to use iTextSharp .Net Library to insert text to PDF TemplatesJan 23, 2011. In this article you will learn how to use iTextSharp .Net Library to insert text to PDF Templates.
  • Behavioral Design Pattern for .NET: Part 2Feb 18, 2011. Behavioral Design patterns are the patterns for .Net in which there is a way through which we can pass the request between the chain of objects, or we can say that it defines the manner to communicate between classes and object.
  • Creating a "Hello world" application in AzureMar 01, 2011. In this article we will see how to create a "Hello World!!!" application in Azure using .Net. I used Visual Studio 2010 along with the Azure SDK 1.3 installed. Start Visual Studio and select a new project. In the cloud template select Windows Azure Cloud Service.
  • Differences between site definition and site templatesMar 07, 2011. In this article I am describing the differences between site definition and site template. Many people have asked me in which situation should we go with site definition and in which should we go with site template. All these questions will be answered in this article.
  • Step Towards Windows Communication Foundation: Part 3Mar 22, 2011. In this article we will see how to develop our first WCF service without using a Visual Studio template. Follow the steps given.
  • Expression Web 4: Importing a CSS TemplateApr 01, 2011. Microsoft Expression studio is a collection of professional design tools to create standards based websites, rich desktop applications also enabling designers and developers to create dynamic applications.
  • Create automatic Razor view code from Controller Class using scaffold template in asp.net mvc3Apr 04, 2011. In this article I will describe how to generate or create automatic razor view (Cshtml) page from the controller Class Action Result Method.
  • Expression Web 4: Creating Master page Apr 07, 2011. In a previous Article Expression Web 4: Importing a CSS Template you learned about how to import the CSS template outside the expression web.Now, I am here to discuss that how you can create a master page using that CSS template and use this master page to create pages.
  • 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
  • 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.
  • Quota Templates in SharePoint 2010May 13, 2011. In this article we will be seeing about the quota templates in SharePoint 2010.
  • Get the list template ID in Visual Studio 2010May 26, 2011. In this article we will be seeing how to get the template ID for a particular list in SharePoint site from visual studio 2010.
  • Experiencing SQL Server 2008 Database Projects in Visual Studio 2010May 31, 2011. This article explains or gives a small introduction to the new project template available under .NET Framework 4. Here, I am trying my best to explain the template because I am also exploring and learning this new template.
  • How to Use Implicit Templates in Silverlight 5 BetaJun 05, 2011. In this article we are going to see how to use the new feature of Silverlight 5 called “Implicit Data Templates” in our Silverlight applications.
  • How to Create and Use the New Data Screen in LightSwitch Beta 2Jun 06, 2011. In LightSwitch, designing a screen is pretty simple. We are going to design our application screen using the available default screen Templates in LightSwitch.
  • TileGame in WPFOct 07, 2011. In this WPF article you will see how to create a TileGame in WPF with Undo and Replay.
  • Repeater control with custom template and paging using LINQ Oct 25, 2011. A repeater control in ASP.NET is a databound control. Here you will see how to use repeater controls in scenarios where we need to display data that changes.
  • Tangrams in WPFNov 07, 2011. In this article we will see how to use the WPF move and rotate concepts to implement a tangram game
  • Template Method PatternNov 15, 2011. Template Method is a widely used design pattern and it provides great flexibility in our designs. This is one of my favorite patterns.
  • Manipulation of appearance using templates in ASP.NET MVC ApplicationNov 24, 2011. In this article you will learn the use and implementation of Templates in ASP.NET MVC Application
  • Creating Templates in Expression Web 4Nov 29, 2011. In this article you will learn how to create a Dynamic Web Template by yourself.
  • WCF Basics: Part 3Dec 01, 2011. In this article we will develop a WCF service using the template provided by Visual Studio 2010 and consuming the service by a WPF client. So let’s start step-by-step.
  • Accessing Controls from DataGrid ColumnHeader - SilverlightDec 02, 2011. Access the controls defined in Data Template from the code behind .
  • Work with UpdatePanel Control in AJAXDec 18, 2011. Master pages allow you to create a consistent look and behavior for all the pages (or group of pages) in the web application. A master page provides a template for other pages, with shared layout and functionality.
  • 4 Common Use of Template Design pattern: - Design Pattern SeriesDec 23, 2011. In this article we will explain 4 important uses of template design patterns. Template design pattern is one of those patterns which are used unknowingly or knowingly in many places.
  • Login Template Creation on Windows Phone with Navigation ServiceJan 22, 2012. Today, in this article let’s deal with mostly used login template which is seen in most of the projects, So, today let’s create this template and perform the operations on Windows Phone and we will navigate from one page to other via navigation service.
  • Modifying or Adding the Default Code Generation/Scaffolding Templates in ASP.NET MVC3 Using T4 Code GenerationJan 31, 2012. In this article I will describe how to modify existing code or adding our own custom code generation for a scaffolding column for generating a Controller class and view in ASP.NET MVC3 using T4 Code Generation.
  • Database Programming in MVC 3 in 5 MinutesFeb 13, 2012. In this article you are going to learn Database Programming in MVC 3 in 5 minutes. In this article I will take the advantage of Entity Framework 4.1 code first to create my database. I will also take the advantage of Scaffold templates. You can also watch the audio-less video given in the article.
  • Data Binding and Data Templating in Windows Store AppFeb 13, 2012. In this article we are going to explore building a Windows Store App using JavaScript and HTML5, which is how to bind your data model to the UI layer.
  • Create Template Using VSIX in Visual StudioFeb 18, 2012. In this article I would like to show the steps in creating a multiple project template inside Visual Studio. Visual Studio is one of the best Programming IDEs in the market and it provides vast amount of extensibility.
  • Expression Blend 5 Templates in Windows Store AppFeb 21, 2012. In this article we will explain how the Expression Blend 5 template works in Windows Store App.
  • Singleton Design PatternFeb 27, 2012. A design pattern is a general repeatable solution to a common problem that occurs in the software industry. A design pattern is not completely a form of code, but it is a template for how to solve the problem and also can be used in many other problems.
  • Saving and Reusing Your Custom Queries as Template Using Template Explorer in SQL Server 2008Apr 04, 2012. In this article we are going to see how to save your custom queries as a template and reuse the queries instead of saving as a file.
  • Crystal Report in Visual Studio 2010Apr 22, 2012. Crystal Report is not built-in Visual Studio 2010 but it can be installed from the SAP website. In this step by step tutorial, I will show you how to install Crystal Reports template and create a report in Visual Studio 2010.
  • Let's Play Around With Factory Design PatternApr 22, 2012. Today, in this article let’s play around with one of the interesting and most useful concepts of design patterns, which will be hosted in a web app.
  • Working With Control Template in Windows Store AppApr 23, 2012. In this article we are going to explore how to change an image using a Control Template in Windows Store App.
  • Working With Enterprise Content Type in SharePoint 2010Apr 29, 2012. In this article we will discuss how to create a new content type, set a custom property in a Word document, associate the document to the content type as a template, and then create a new item using the document template and new content type.

About SplitPage-Template

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