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.
  • 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.
  • 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.
  • Template for Designing Web ApplicationNov 14, 2005. This article explains to develop a web application with ease and make it more robust and scalable.
  • 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.
  • 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.
  • 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.
  • Creating MenuItem With WPFSep 03, 2007. In any desktop application it is very important to have menu bar to the application/system, so that user will find easy to access it. In this tutorial I will be talking about how we can create Menu bar in WPF application using XAML.
  • 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.
  • C# Code reviews using StyleCopNov 14, 2008. In this article we will discuss an upcoming code review tool StyleCop. We will understand the basics and do a small sample of code review practically to understand how StyleCop works.
  • MyCollegeMyFriend - An Open Source Project developed using ASP.NET 2.0Jan 14, 2009. MyCollegeMyFriend is an open source Website project developed using C# and ASP.NET 2.0. Anybody can download and make changes to this project and upload the changes.
  • 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.
  • Extending Logging Functionality From Enterprise LibraryApr 17, 2009. The Microsfot Enterprise Library provide us a collection of reusable software components, so software developers can take advantage of them to put them into enterprise use. Now I will share my personal experiences with my friends of how to extend current enterprise library functionality and improve the performance of enterprise applications.
  • Customizing GridView control for data modificationsApr 29, 2009. This article is intended to illustrate how to customize GridView controls for data modification.
  • How to Preserve Password in a TextBox between Page PostbacksMay 15, 2009. This quick tip shows how you can preserve a password in a TextBox between page postbacks.
  • A Programmer's Guide to Starting a Software Company and Building an Enterprise Application - Article 3Jun 20, 2009. This is the third in a series of columns in which I will tell you how I started SplendidCRM Software, Inc.
  • 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.
  • WPF Animations Part I- Color AnimationSep 07, 2009. WPF is a new framework that has many advanced capabilities. Animations are one of those capabilities, where an object can be animated via rotating, stretching, scaling, moving it across the screen, changing its color, etc. In this article I am going to show color anmiation on a coltrol.
  • 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.
  • Uploading file with Progress BarNov 03, 2009. In this article I am going to show how to upload a file with progress bar in asp.net .
  • .Net Batch Job TemplateDec 07, 2009. This article shows how to create a reusable batch job template.
  • ResourceDictionary in WPFJan 15, 2010. In this article you will learn how to use the ResourceDictionary in WPF.
  • 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.
  • 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.
  • AutoCompleteTextBox in WPFApr 12, 2010. In this article I am going to show about AutoCompleteTextBox in WPF.
  • Magnifying Glass Effect in SilverlightApr 19, 2010. In this article I am going to show how we can zoom a part of an image.
  • 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.
  • The DocumentName Property and Marginal Printing in GDI+Jun 03, 2010. In this article I will explain about the DocumentName Property and Marginal Printing in GDI+.
  • 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.
  • A Beginners Article about XAML and the WPF EngineJul 31, 2010. An article that describes WPF for the Beginner and Provides Some Tips for the Intermediate
  • 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.
  • Reading and Parsing a CSS file in ASP.NetSep 01, 2010. In this article I am going to show how we can read and parse a CSS file in asp.net.
  • 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.
  • Setup your Windows Azure PlatformDec 23, 2010. This article helps to create or setup your account for Windows Azure Platform (Introductory Special Offer), Pay per Use offer.
  • 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.
  • What is WCFJan 02, 2011. Windows Communication Foundation (WCF) is an SDK for developing and deploying services on Windows. WCF provides a runtime environment for your services, enabling you to expose CLR types as services, and to consume other services as CLR types.
  • 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.
  • Data Binding in Silverlight with RIA and Entity Framework (Updating Data)Jan 17, 2011. This is a continuation of my earlier article where we discussed how to fetch and display data from a database using DomainServiceContext via entity model. Here in this article we will take the StatesOfIndia application further, where it will accept the state information to be modified as well as accept new state as addition.
  • Data Binding in Silverlight with RIA and EntityFramework (Displaying Data)Jan 17, 2011. Silverlight DataBinding With a Real World scenario.
  • 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.
  • Populating AutoCompleteTextbox via WCF Service Asynchronously in SilverlightFeb 02, 2011. So here in this article we will use a WCF web Service to pull the data and populate in textbox, and also apply custom filtering to populate only those data for which user is requesting.
  • Importance of TimeZoneInfo class in ASP.NETFeb 03, 2011. The TimeZoneInfo class represents any time zone in the world. It contains a set of static methods/properties that allows us to get the current time zone information, convert datetime values between time zones etc.
  • jQuery SplitterFeb 03, 2011. A light weight splitter using jQuery that I used in one of my applications. Thought to share the same to you all.
  • How to configure User Profile Service application in partition modeFeb 03, 2011. Here we see how to configure User Profile Service application in partition mode.
  • AutoComplete in Windows Phone 7Feb 03, 2011. AutoComplete is used for when you type something into a textbox a popup window opens with a list of words that begin with the prefix typed into the textbox.
  • Tracing and Cropping an Image in Expression Design 4Feb 03, 2011. Today I read about the way of Tracing and cropping an Image in Microsoft Expression Design4.S o I want to share this with you all in the form of an Article hoping that you will like it.
  • Creating Logo Using Expression Design 4Feb 04, 2011. Creating a logo is not easy without Photoshop but Microsoft Expression Design 4 make it possible.
  • Verbatim strings in C# - Use of @ symbol in string literalsFeb 04, 2011. In this article we will understand use of the @ symbol in C# strings.
  • 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.
  • How to make a Twitter Application using Windows Phone 7Feb 04, 2011. This article describes how to use the Twitter API and show all tweets on a page using Windows Phone 7.
  • Working with Isolated Storage in SilverlightFeb 04, 2011. Isolated storage gives you access to a small segment of hard-disk space, with certain limitations. For example we don't know exactly where our files will be stored.
  • 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.
  • SQL Server Default/System DatabasesFeb 04, 2011. SQL server is a relational model database server designed for client/server use, It is a computer application used to create desktop and maintains a set of system-level databases.
  • How to assign the Subscriptions to the Partitioned User Profile Service Application Proxy in SharePoint 2010Feb 04, 2011. How to assign the subscriptions to the partitioned user profile service application proxy in SharePoint 2010.
  • Understanding Isolated Storage in SilverlightFeb 05, 2011. In the previous article we learned the fundamentals of Isolated Storage and how to write to files in isolated storage using the same classes you use for ordinary file access in a .NET application, such as StreamWriter and BinaryWriter.
  • Data Binding in Silverlight with RIA and Entity Framework (Validating Input Data)Feb 05, 2011. Data Validation in Silverlight 4 RIA application with Entity-framework.
  • Append and Wrap using JQueryFeb 06, 2011. Using Append and Wrap in JQuery

About Article-Template

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