C# Corner

Resources  
  • Chat Server and Client in C# Using Remoting TechnologyFeb 16, 2001. This application is a simple Chat server and Client, which is conversion of Java RMI chat server and client. The Java client was a Applet and present application client in Windows Forms.
  • Writing Secure Code using C#Apr 06, 2001. Code access security is a mechanism that grants/denies access to resources within a method call. For example, code written by a person may be allowed to write to the disk while code from another one may be forbidden from accessing the disk. This control can be enforced even if the code written by both of them is used within a single application
  • File Merger and Splitter in C#Apr 10, 2001. This program can break up a large file into several files AND merge those files back into one single large file.
  • Control Statemenats - Part 1Jun 01, 2001. This lesson shows how to use c# control statements, and the difference between these controls in C++/ JAVA and c#. Sample includes single selection, if-else, and multi case ..
  • Post in Mobile FormsJul 27, 2001. Till now whatever we are doing is in single page and the traversing between forms take place only in a single Page. If you Remember Something of WML there our most effective funda is posting from one form to other.
  • Messaging between Threads using Message LoopAug 20, 2001. MessageLoopLib is a stripped down version of a complete, threading communication subsystem Ive written. This implementation is a single thread created in the GUI constructor. Ive dropped all thread management and have had to change some of the message code to accommodate this.
  • Encapsulation in C#Oct 12, 2001. In Object Oriented programming Encapsulation is the first pace. Encapsulation is the procedure of covering up of data and functions into a single unit (called class).
  • FlashCards Language Program : How to read and save Images in a Sql Server Database using ADO.NETNov 09, 2001. I thought it would be fun to write a simple program that displayed flashcards from a database and at the same time, show you how to read and write images to the database. This program is a simple flashcard program that talks to a single table in a Sql Server Database.
  • FlashCards Language Program : How to read and save Images in a Sql Server Database using ADO.NETFeb 19, 2002. I thought it would be fun to write a simple program that displayed flashcards from a database and at the same time, show you how to read and write images to the database. This program is a simple flashcard program that talks to a single table in a Sql Server Database.
  • .NET COM Interoperability - Part 1: Using COM Components from .NET FrameworkApr 02, 2002. The DotNet framework exposes COM objects through a proxy called the runtime callable wrapper (RCW). The primary function of RCW is to marshal call between a managed client (.Net) and unmanaged COM object. The runtime maintains a single RCW for each COM object.
  • File EncryptionMay 05, 2002. The classes in the .Net Framework cryptography namespace manage many details of cryptography for you.
  • Programming C#: Working with Arrays in .NETJul 09, 2002. This article concentrates on arrays in .NET and how you can work with arrays using C# language. Article also covers the Arrays class and its method, which can be used to sort, search, get, and set an array items.
  • Writing a Single Event Handler for Multiple ControlsJul 22, 2002. Writing a Single Event Handler for Multiple Controls by Giuseppe Russo. Jul 22, 2002. I have noticed that in many articles, I read, people use a longer method of clearing many textboxes, as well as handling more than one control at the same time.
  • Single Instance Control ComponentSep 23, 2002. This article is on a single Instance control component which checks whether any instance of your application is running on the System.
  • Synchronized Threading in .NETDec 11, 2002. Threads are a powerful abstraction for allowing parallelized operations: graphical updates can happen while another thread is performing computations, two threads can handle two simultaneous network requests from a single process, and the list goes on. Since threads are pretty simple to understand, conceptually, but, practically, they are a cause for programmatic headaches, I decided to write this program to describe how to make use of threads.
  • Filling out your 1040EZ Tax Form in .NETJan 21, 2003. Since the 1040EZ form is only a single page, I thought it would be fun to create a Window Form application that helped into the form. This program will allow you to fill out most of the fields and perform the calculations on certain fields as well.
  • Lengthy Operations on Single Thread in .NET ApplicationsJul 08, 2003. In this article I discuss how the lenghty operations can be handled in a .NET application. I also discuss how the stack trace can be examined to find any specific methods.
  • Building a Navigation System in ASP.NETJul 16, 2003. This article shows you how to display single record per page and navigate through single record using ASP.NET.
  • Events Programming in C# Nov 24, 2003. In this article, author discusses the events model in .NET and how to implement events in your applications using C#.
  • Working with Windows TabControl with C#Dec 16, 2003. Windows TabControl is a useful control that allows you display multiple dialogs tabs on a single form by switching between the tabs. In this tutorial, I will explain how to create and use a TabControl in your Windows applications with C#.
  • Report Generation in .NETFeb 27, 2004. Report generation is an integral part of enterprise application development. Choosing the right kind of report generation strategy decides the success of the application in terms of cost and performance. The white paper discusses some of the key factors that need to be considered when architecting reporting systems in .NET and C#.
  • Microsoft Application Center 2000 - An IntroductionMar 17, 2004. Application Center 2000 is Microsoft's deployment and management tool for high-availability Web applications built on the Microsoft Windows 2000 operating system. Application Center 2000 makes managing groups of servers as simple as managing a single computer.
  • Go Beyond the Limits of ASP.NET FormMar 22, 2004. One of the most common hitches that ASP developers encounter when they first approach ASP.NET is that managed Web applications must be written according to a single-form interface model.
  • Combine Multiple Streams in a Single .NET Framework Stream ObjectApr 11, 2004. This article represents a simple Stream class whose data is based on the number of another .NET Framework streams.
  • Using the Tablet PC as a Flashing Restaurant Menu in C# and .NETJun 08, 2004. This is a simple application written for a restaurant using Tablet PC that allows you to list such things as lunch specials and have the colors on the board change randomly to produce an interesting flashing sign effect.
  • Data Access Layer to execute Stored ProceduresJan 18, 2005. This article explains about executing a single stored procedure or batch of stored procedures from the application layer. As Data access layer completely decoupled from Application layer we just need to change the Application layer in case of any change in underlying database schema.
  • Building a Web Site using Visual Studio 2005Apr 13, 2005. This article gives you a glimpse of new features of Visual Studio 2005. In this article, you will see the power of Visual Studio and how easy it is to build Web sites using new controls without even writing a single line of code.
  • Introduction to ADO.NET 2.0 Data Source ControlsAug 19, 2005. ADO.NET 2.0 provides new data source and data-bound server controls, which allow developers to write full-fledged data-driven applications without writing even a single line of code. This article is an introduction to these new data source controls.
  • Delay Signing an AssemblyJan 18, 2006. In this article we will elaborate the terminology Delay Signing as well as what it means. How it works and the approach to achieve it.
  • Displaying Single Table Database Hierarchy with DataSet and DataRelationsMar 03, 2006. Hierarchies can be difficult to store SQL tables and even more difficult to query and display. This Example will show you how you can use DataRelation to convert single table hierarchy in to nested XML and then use XSLT to transform it to nested list.
  • Enhancements in Assemblies and Versioning in Visual Studio 2005May 01, 2006. The article discusses a couple of features introduced for assembly and versioning in Visual Studio 2005 such as referencing assemblies, registering assemblies to GAC, digital signing and friend assemblies.
  • Merging data into single table from multiple tables (resultsets)May 15, 2006. This article shows how to reduce the number of trips to improve performance by merging data into single table from multiple tables (resultsets).
  • When to Delay Sign AssembliesAug 03, 2006. Delay signing plays a vital role in development when you are building assemblies. In this article, I talk about the significance and process of delay signing the assemblies.
  • 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.
  • Generating a Report from Multiple Data Sources in Crystal ReportsOct 23, 2006. If you have to create a report in Crystal Reports from multiple data sources or provide multiple views of the data, you may find sticky situations because CR does not allow you to have multiple Detail sections in a single report.
  • TreeView Control in C#Apr 16, 2007. This is an article addressing some of the basics of working with a TreeView control; the article will address dynamically adding TreeNodes to a TreeView control, searching the nodes to find and highlight a single node or a collection of nodes.
  • Compress Folders with C# and SharpZipLibApr 25, 2007. This article shall describe an approach that may be used to collect files from multiple locations and zip them up into a single zipped folder. The code contained in the sample project may be useful if one needs to gather up multiple files, zip them up, and then do something with them such as upload the zipped files to a server location for storage or processing.
  • Spell check enabled RichTextBox custom controlMay 16, 2007. This article describes a quick and simple approach to applying a spell check function to the rich text box control and bundling both features into a single custom control. Of course there is nothing novel or particularly interesting about performing spell checking upon a selection of text using the Word.DLL.
  • MineSweeperJun 05, 2007. Minesweeper is a single-player computer game. The object of the game is to clear an abstract minefield without detonating a mine.
  • To Zip Multiple Files into one zip fileJul 26, 2007. Describing how to zip more than one file into single zip file and how to skip zip file more zipping.
  • Distributed Transaction Coordinator/Control in asp.net (DTC)Jul 31, 2007. A transaction is a series of work perform as a single unit of work consistency and reliability of the system, can be achieved by binding a set of related operations together in a transaction. Here I will be discussing how we can run distributed application in a application.
  • Connection PoolingAug 11, 2007. While performing any database activity it is necessary that every single connection need to be closed, but in case your application throws some exception in that case our connection wont’ get closed. And you will get error “Cannot open connection, it is already open” In this article I will be discussing what is connection pooling? Why connection polling & how we can enable connection pooling etc.
  • Selecting multiple Checkboxes inside multiple GridViewsOct 04, 2007. Ths article describes how to check/ uncheck multiple Checkboxes inside two or more GridViews on same page with Masterpage and usercontrols.
  • Functional Programming in C#: CurryingJan 13, 2008. Currying is a way to re-write a function with multiple arguments in such a way as it can be called as a chain of functions each with a single argument. This article covers using a few simple utility methods you can use to curry your methods.
  • DetailsView Rich Data ControlFeb 01, 2008. DetailsView is a data-bound control that renders a single record at a time from its associated data source.
  • Writing Better Code -- Keepin' it CohesiveFeb 15, 2008. One of the aspects of code quality we can look at is cohesion. If code is highly cohesive it is also much more testable, reusable, readable and maintainable (all the good things in life). Likewise, if code has a low level of cohesion it is often very hard to understand at a glance and difficult to test and maintain. In this article we'll take a look at a concrete example of code that does not follow the Single Responsibility Principle and as a result has low cohesion and walk through the refactoring it takes to modify the code to be more highly cohesive.
  • Writing Better Code - Keepin' it ExtensibleFeb 21, 2008. In a previous article I talked about how to keep code cohesive by applying the Single Responsibility Principle. I wanted to explore part of another principle of software engineering that will help our code be extensible and can handle growth and change.
  • Executing multiple stored procedures within a single transaction context from ADO.NetMar 20, 2008. This article discusses how we can execute multiple stored procedures in ADO.NET with different parameter values in a single Transaction context.
  • Multiple Active Result Sets (MARS)May 12, 2008. This article gives you information about the Mars a feature supported by MSSqlServer 2005 and .Net 2.0/3.x, which is a feature to execute more than one query with one single connection to database.
  • Save TreeView Nodes ExpansionJun 24, 2008. We frequently use an ASP.NET TreeView as a navigation menu. This works well on a single page but if you include the control on a Master Page, it looses its expansion state as you move from one content page to another.
  • Checking previous instance (single instance) of an C# windows application, also setting MDI child form to a MDI parentSep 04, 2008. In this article I will describe how to check previous instance (single instance) of an C# windows application and also whether a MDI child is set to a MDI parent
  • GridView Examples for ASP.NET 2.0Sep 15, 2008. In this article, I am going to show how you can display and edit data in an ASP.NET 2.0 GridView control without writing a single line of code.
  • Applying Multiple Transformations using the TransformGroup in Silverlight 2.0Jan 22, 2009. In this article we will see how to apply multiple transformations to a single object in Silverlight 2.0 using the TransformGroup class.
  • Manage your business visits and private appointments in a single mobile appFeb 04, 2009. In this article i will create controls which are part of Resco MobileForms Toolkit.
  • Simple & Complete GridView Functionality in .Net 2.0Feb 18, 2009. This article provides a single GridView which is capable of Displaying Data from database, Updateing it if required, Deleting the existing records from database based on a Confirmation Message and Inserting a new record(which is beyond the implicit usage of GridView).
  • Uploading Multiple Files in ASP.NET 2.0Mar 06, 2009. In ASP.NET 2.0, the FileUpload control enables users to upload file from your web pages. Here I going to show how can you upload multiple file on a single button click in ASP.NET 2.0
  • Financial Calculation using .NET: Part IIMar 23, 2009. In this article we will look how we can use “Microsoft.VisualBasic” namespace to do single line and double line depreciation calculation.
  • Uploading Multiple Files in ASP.NET 2.0: Part IIMar 27, 2009. In ASP.NET 2.0, the FileUpload control enables the users to upload the files from your web pages. Here, I am going to show you, "how can you upload multiple file on a single button click in ASP.NET 2.0." Here, in the same article I am adding one more functionality, i.e. the user can get the right to upload any number of images by clicking on Add button.
  • Single File Mode in ASP.NETJun 04, 2009. This article discusses step by step procedure of how to create a Single File Mode example in ASP.NET using Visual Studio 2005 / 2008.
  • Arrays in C#Jun 19, 2009. This tutorial describes arrays and shows how they work in C# and .NET.
  • Delegates in C#Jul 24, 2009. In this article let us learn about Delegates in C#.
  • Kiss your databse only once!!!Jul 29, 2009. This article explains about how to update the multiple records in the data controls to the server in a single transaction.
  • ViewBox in SilverlightAug 04, 2009. Silverlight ViewBox control defines a content decorator that can stretch and scale a single child to fill the available space. This article demonstrates how to use a ViewBox control.
  • Comments in C#Aug 27, 2009. In this article I will exlpalin about comments and there usage in code.
  • Receiving Messages With Multiple Schemas in a Single OrchestrationSep 18, 2009. In this article, I will cover how to receive two messages with different schemas in a single orchestration in order to process them instead of creating separate orchestrations for each message with identical business logic. For the solution, I will use the Listen shape along with two Receive shapes each of them listening for different messages.
  • Singleton Pattern in C#Nov 26, 2009. In this article we will see how to create a single instance of a class using Singleton Pattern.
  • Arrays in C# Language Jan 14, 2010. In this article I will explain you about Arrays in C#.
  • Convert Long, Short, Single to Byte Array in C#Feb 27, 2010. The BitConverter class in .NET Framework is provides functionality to convert base data types to an array of bytes, and an array of bytes to base data types.
  • Signing an Assembly in C# Mar 04, 2010. In this article I will explain you about Signing an Assembly in C#.
  • Single instance of application in C#Mar 25, 2010. There is some application that we want that only single instance of application works at a time. So here in this article is the logic for doing that.
  • Single Sign on (SSO) using Cookie in ASP.NetApr 30, 2010. I would like to give a brief overview of how to use cookie to implement Single Sign on(SSO) in asp.net web application.
  • Using StackPanel Silverlight ControlMay 04, 2010. The StackPanel control is a simple layout panel that arranges content into a single line that can be oriented horizontally or vertically (the default).The StackPanel control allow us to stack objects one on top of the other, or next to each other.
  • Book Review: Clean Code - A Handbook of Agile Software Craftsmanship May 05, 2010. I recently purchased Robert Martin's book Clean Code. Although all the examples are in Java, 99% of the book applies to C# programmers. This articles summarizes some of the main points.
  • CheckBox in C#Jun 03, 2010. A CheckBox control allows users to select a single or multiple options from a list of options. In this article, I will discuss how to create a CheckBox control in Windows Forms at design-time as well as run-time. After that, I will continue discussing various properties and methods available for the CheckBox control.
  • 3 Ways to Do WCF instance Management (Per call, Per session and Single)Jun 07, 2010. Many times we would like to control the way WCF service objects are instantiated on WCF server. You would like to control how long the WCF instances should be residing on the server.
  • CheckBox in C#Jun 11, 2010. A CheckBox control allows users to select a single or multiple options from a list of options. In this article, I will discuss how to create a CheckBox control in Windows Forms at design-time as well as run-time.
  • Using Silverlight in XNA: Part IIJun 21, 2010. In this article we well prove that XNA and Silverlight can have the oppurtinity to work together in a single project.Although its not adviced to do so. But I will tell you in the following articles why we would want to use Silverlight in XNA?
  • WCF Concurrency (Single, Multiple and Reentrant) and ThrottlingJun 27, 2010. In this article we will concentrate on WCF concurrency and throttling. We will first try to understand what are WCF concurrency and the 3 important types of WCF concurrency. We will then see a small sample of WCF concurrency with single and multiple. We will then go through 9 combinations of WCF concurrency and instancing. Finally we will try to understand how to configure throttling using WCF ‘web.config’ file.
  • Introduction to Prism - Composite Application Library (CAL) for WPF and SilverlightJul 08, 2010. Prism (Composite Application Guidance for WPF and Silverlight) is designed to build applications in WPF and Silverlight that have a single code base. It helps to develop the client application in a modular fashion so that complexity of a large application can be divided in to simpler modules.
  • Integral data types in C#Jul 26, 2010. In this article you will learn how to use integral data types in C#.
  • ListBox in C#Aug 31, 2010. In this tutorial, we will learn how to create a ListBox control at design-time as well as at run-time. We will also see how to create a multiple-column ListBox control with single and multiple selections.
  • Export DataSet to ExcelSep 15, 2010. Exporting to single sheet excel file is easier and it requires only few line of codes. Exporting to Multiple sheet is little bit complicated and it requires little bit of extra effort. Mostly we will go for third party controls or dlls to achieve that. Here is the simple way to export your dataset to multiple sheets in an Excel file.
  • MSChart - Drilldown Charts: Part IIISep 21, 2010. This part of article will helps in doing drilldown on single Chart only. There is no change in logic, only rearrangement of code lines and also a button introduced to plot master chart again back from .xml file after drilldown.
  • Using Silverlight in XNA - Part III: Silverlight MenusSep 29, 2010. In our previous article (Using Silverlight in XNA: Part III), I showed you how you can use these technologies in a single solution. In this article we will create a Menu UI and use it in our XNA Project.
  • How to Bind Dropdown list using JSON, jQuery in ASP.NET 3.5Nov 01, 2010. In this project we use Newtonsoft.Json library makes working with JavaScript and JSON formatted data in .NET simple. Quickly read and write JSON using the JsonReader and JsonWriter or serialize your .NET objects with a single method call using the JsonSerializer.
  • Hosting WCF Service inside IISNov 12, 2010. Windows Communication Foundation(WCF) takes many existing communication technologies, such as Web Services, Windows Remoting, Microsoft Message Queuing, and abstracts them into a single technology. In most cases, this simplifies the way you communicate with other applications.
  • Multitasking or Tombstoning and Isolated Storage in Windows Phone 7 Nov 26, 2010. Windows Phone 7 manages multiple active applications by implementing a stack. In a sense, this application stack extends the page stack within a single Silverlight program. You can think of the phone as an old-fashioned web browser with no tab feature and no Forward button. But it does have a Back button and it also has a Start button, which brings you to the Start screen and allows you to launch a new program.
  • 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.
  • Singleton Pattern - Creational PatternJan 19, 2011. This is a part of the Creation Pattern. This pattern ensures that you have only one instance and provides a single point of contact to access the instance.
  • Learning WCF RIA Service Part #2: Adding Query MethodsJan 27, 2011. This is the second article of learning WCF RIA series. In this article we will see how to pass a parameter in a query, how to return a single object, how to return multiple objects and how to call the query method with parameter.
  • Single Click on GridView Row To Redirect and bind Row values in another PageJan 27, 2011. The code in this article can be used to select a GridRow by single click or double click. When user clicks on the GridRow, it will pickup the ROW ID & redirect to another aspx page and bind the values.
  • Multiple Charts or ChartArea on a single Chart control - MSChartFeb 02, 2011. This article helps to plot multiple charts or chartarea on a single chart control.
  • Doing Arrays - C#Feb 24, 2011. The article explains type of arrays in C# with easy to understand examples.
  • Select Single Radio Button in Gridview in Asp.NetMar 16, 2011. In this article we will learn how to select only one row of a Gridview using RadioButtons whereas normally a RadioButton does not support selection of only one RadioButton within a row.
  • Merge 2 XML files into single XML using C#Mar 17, 2011. This article gives a basic idea on how to merge 2 XML files into a single XML using C#.
  • How to convert unsigned integer arrays to signed arrays and vice versaMar 18, 2011. Here's a simple technique for converting between signed and unsigned integer arrays.
  • Read All Text Files in a Folder and Merge Into an aspx PageApr 04, 2011. In this article I am gathering all text files from a folder and merging them into a single aspx page. In this article I am using 45 text files; they are first read then combined into an aspx page; it's a fast way to assemble all files into a webpage.
  • Configure Navigation Hierarchies using Single value Choice field in SharePoint 2010Apr 04, 2011. Navigation Hierarchies is a new feature in SharePoint 2010 which appears in the left hand pane of the new user interface and allow users to navigate single value choice field in order to filter the view of lists / document libraries etc.
  • Programmatically Configure Navigation Hierarchies using Single value Choice field in SharePoint 2010Apr 05, 2011. In this article we will be seeing how to configure Navigation Hierarchies using Single value choice field in SharePoint 2010 using C# and powershell script.
  • DetailsView in Asp.netApr 15, 2011. The DetailsView control in ASP.Net 2.0 is used to create an HTML table that displays the contents of a single database record.

About Single-Sign-On

NA

SPONSORED BY

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