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 ListViews in C#Jan 18, 2001. As a Visual C++ user for 10 years I can say that Microsoft deserves praise for their new ListView class. The MFC ListView class was, well, unpleasant to use. C# makes life a bit easier with a richer property and method set for ListViews. Also, you can now, set the ListView to select an entire row in report mode, something that in Visual C++ you had to write a whole custom ListView control to do. Note also the nice grid lines.
  • Using/Debug Option During CompilationJul 15, 2001. This source code below is an an example of how to use /debug option during compilation.
  • Debugging "Rubber Band Effect"Nov 06, 2001. Bug fixes for Rubber Band Effect in a form by Simon Bond demonstrated a small but useful rubber band effect application. If you play with the application for a while, however, you may find one major problem with it.
  • Debugging Techniques in C#Dec 04, 2001. Debugging GUI applications for me mostly consists of printing out debug statements in the form of a dialog box with some text.
  • Debug Troelsen's .NET books (1): IEnumeratorDec 10, 2001. This article examines code problem in chapter 4 (for C#)/chapter 5(for VB.Net) of the two .Net books.
  • Data Access through Web Services, Stored Procedures and SQL QueriesFeb 12, 2002. Web Services has been the most revolutionary aspect of the .NET framework developed by Microsoft. This article presents the three different modes through which data can be accessed viz. through Web services, stored procedures and SQL query using the power of ADO.NET and XML.
  • User Management Utility for Web Form Authentication.Sep 06, 2002. This article deals with the management of user login and password information for a Forms Authentication in ASP.NET.
  • Using Remoting to Implement Distrubuted LoggingDec 20, 2002. In an earlier article we had discussed how new tracing and debugging techniques in .NET make debugging easier. In this article we will view the event logging API that comes with .NET.
  • User Controls In Internet ExplorerAug 13, 2003. ASP programmers have long been using ActiveX controls as part of their client-side programming techniques, but now we are able to easily render Windows User Controls (almost Windows Forms, but not quite) into our HTML.
  • Object Oriented: The Grownup Way to CodeSep 29, 2003. Back in my dark days of Procedural Programming, I remember someone giving me a problem, then banging out a few (hundred) lines of code, achieving my goal, and going on with my life. The next time a similar problem would arise, I’d rewrite, or in some cases, cut & paste my old code to achieve a similar, yet slightly different outcome.
  • How to Create and Use Configuration FilesNov 24, 2003. Here an article for beginners that shows how to create and use configuration files.
  • Automatically Break into Code When Calling Debug.AssertDec 22, 2003. This sample creates a dll that once referenced by your ASP.Net or Web Service app, just adding a small block of xml into your web.config file will cause the debugger to automatically break into your code.
  • Debugging a Compiled ComponentFeb 02, 2004. After an assembly is compiled into a dll in a release mode, it is very difficult to gather information from it such as runtime performance, parameters values, etc.
  • Using SyncFusion Grid in Virtual Mode with C# and .NETMay 27, 2004. This article and attached source code shows how to use SyncFusion Grid control in virtual mode to display and manipulate data from a data source.
  • 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.
  • Tablet PC Ink Editing Modes - Select and Delete InkJun 25, 2004. In my previous articles, I discussed how to use Ink and set its properties to draw on a Windows Forms and Windows controls. In this article, I will discuss some more features of Tablet PC Ink including selecting and deleting ink, Ink collection, and Ink object.
  • Build a .NET Solution or Project from the Command Line Sep 27, 2004. Devenv allows you to set various options for the integrated development environment (IDE) as well as compile, build, and debug projects from the command line.
  • SQLCLR DebuggingAug 09, 2005. In SQL Server 2005, CLR integration allows you to write stored procedures, triggers, user-defined types, and user-defined functions using any .NET Framework language, including Microsoft Visual Basic .NET and Microsoft Visual C#. In this article, I will explain how to debug SQLCLR stored procedure or SQLCLR user-defined function.
  • New IDE Features in Visual Studio 2005Nov 10, 2005. Visual Studio 2005 aims to simplify the development process thereby adding many new features to simplify the overall development experience. This article aims to discuss all major IDE related changes in Visual Studio 2005.
  • SQLCLR DebuggingNov 10, 2005. In SQL Server 2005, CLR integration allows you to write stored procedures, triggers, user-defined types, and user-defined functions using any .NET Framework language, including Microsoft Visual Basic .NET and Microsoft Visual C#. In this article, I will explain how to debug SQLCLR stored procedure or SQLCLR user-defined function.
  • Utilize the Full Functionality of the Whidbey File ManagementNov 15, 2005. This article is based on a pre-release version of Microsoft Visual Studio 2005, formerly code named "Whidbey". All information contained herein is subject to change.
  • Better Exception Handling in Visual Studio 2005Nov 16, 2005. With many new cool features, components, controls, and tools, Visual Studio 2005 definitively is a winner. In this article, I discuss the new exception handling dialog in Visual Studio 2005.
  • Debugging Windows Services in C# and .NETFeb 06, 2006. The compiled executable file that a service application project creates must be installed on the server before the project can function in a meaningful way. You cannot debug or run a service application by pressing F5 or F11. Here we are going to see how to debug our own windows services.
  • Debug Client Side Script in Visual Studio 2005May 18, 2006. This article is for web developers, because it's target is one of the new feature in Visual Studio 2005 which is debug client side script.
  • 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?
  • Prevent CD AutoplaysDec 19, 2006. This article describes the approach used programmatically to prevent a CD from going into auto play mode; this may be useful to you if you are, for example, writing an application that logs directly to CD and you are trying to burn data periodically to a CD but you do not want the CD to go into auto play mode after burning a some data to it.
  • Lock, Logoff, Reboot, Shutdown, Hibernate, Standby in .NetFeb 13, 2007. This article is about how to lock, logoff, reboot, shutdown and put the system to hibernate and standby mode.
  • How to debug clientside Javascript code in VS2005 or VS2003Mar 30, 2007. This article helps you to debug Javascript code on an ASPX page.
  • Debugging Windows Forms Run-Time Error 101 Using C#Apr 11, 2007. This article will give you step-by-step introduction to debug Windows Forms application run-time error using C#.
  • Building Reports from Object Collection using ReportViewerApr 18, 2007. In this article, I discuss how to create reports from a business objects collection. I create a Windows Forms application with reporting being processed as local processing mode.
  • Authentication Modes in ASP.Net for SecurityJul 24, 2007. In this article we will investigate the different types of authentication provided by Asp.net.
  • Running a web site in Kiosk mode with c#Jan 30, 2008. This article addresses a simple approach to supporting the display of a web site in kiosk mode using a simple win forms application.
  • Colorful Console Mode Applications in C#Jun 09, 2008. So, you need to a write a console mode application, no reason you can’t have a little fun with it by introducing color into the output. This article describes how to jazz up a console mode application with color (which, as you will see, is pretty darned easy to do).
  • Best Practices for Data Transfer in SQL Server 2005Jun 23, 2008. This article talks about some best practices and the process of data transfer in SQL Server 2005.
  • Connect to MySQL database - via ODBC without using DSN: Part IIAug 11, 2008. In order to connect to on MySQL method, I propose this more flexible solution, thus, it enables us to customize the connection parameters in one hand, moreover, it enables us to choose which mode should we use. I mean, ADO connected mode using data reader or disconnected mode using data adapter and data set.
  • Debug Javascript in Visual Studio 2005Nov 06, 2008. This article explains you how to debug script in VS2005 by using practical Google map example.
  • C# and XAML within a Silverlight 2 context? - Binding Modes: Part VIIIDec 30, 2008. In this article I will expose the different binding modes.
  • Demonstration of ListView Contents in WPFJan 14, 2009. This article shows how to create a ListView control that uses a GridView view mode to display the contents.
  • 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.
  • Full Screen Applications in Silverlight 2.0Jan 19, 2009. In this article we will see how to set our Silverlight applications to run in full screen mode.
  • Full Screen Mode in SilverlightMar 16, 2009. Silverlight provides functionality to display the Silverlight plug-in in full-screen mode i.e. effectively take over the entire screen of a computer hiding everything else from sight - including the browser frame
  • Compiling The First F# Program Using Interactive ModeApr 03, 2009. In this tutorial we will compile the first F# program using the interactive mode. There are lot of talks going on regarding F# , just thought how about compiling the first program using interactive F# mode.
  • WCF Tracing FAQApr 30, 2009. In this article we will look how we can trace and debug information in WCF services. There are some ready made tracelisteners provided by WCF. The base of these ready made trace listeners is .NET trace listener. So we will first understand the basic concept of trace listener and then go through the ready made tracelisteners provided by WCF.
  • 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.
  • Instance Management in WCF Part # 3Jun 22, 2009. This article is part # 3 of Instance Management in WCF. This article will explain about Singleton Service Instance mode. This article will give theoretical introduction and explanation of coding sample also. It will also discuss about various disadvantages of Singleton Service Instance mode and its potential place of uses.
  • Instance Management in WCF Part # 2Jun 23, 2009. This article is part # 2 of Instance Management in WCF. This article will explain Session Full Instance management service. This will explain different Session Mode at Contract level. This will explain Per-session service also. This article will be explaining Session Full Service with a code also.
  • List Box in Silverlight 3 ApplicationJul 28, 2009. In this article we will explore what are features available for a ListBox in Silverlight 3 Application.
  • Walkthrough on Attaching and Debugging Sequential Workflow using Visual Studio 2008 to a Document library of a SharePoint siteAug 05, 2009. Core purpose of this article is to explain, how to attach and debug a sequential workflow using Visual studio 2008(using object model) to a document library of a SharePoint site.
  • Adding Sequential Workflow to a document library of a SharePoint site using Visual Studio 2008Aug 12, 2009. Core purpose of this article is to explain, how to attach and debug a sequential workflow using Visual studio 2008(using object model) to a document library of a SharePoint site.
  • Compiling and DebuggingNov 08, 2009. In this this article I will explain you about compilation and debugging in .NET.
  • Runtime DebuggersNov 12, 2009. In this article I will explain your about Runtime Debuggers.
  • Dynamic Type with Reflection in debug modeJan 26, 2010. This article will give simple debug mode explanation on how Reflection and Dynamic type works.
  • Debugging and Tracing in C# Feb 04, 2010. In this article I will explain you about the Debugging and Tracing in C#.
  • ComboBox in DataGrid in WPFFeb 18, 2010. This article will describe the DataGrid in Edit mode while the edit cell requires a list of data.
  • Hosting and Debugging Silverlight in Windows AzureMar 15, 2010. This article will give a pictorial representation of how a Silverlight application can be hosted and debugged on local development fabric of Windows azure.
  • Compositing Mode and Blending in GDI+Apr 09, 2010. In this article I will explain about Compositing Mode and Blending in GDI+.
  • Debugging Silverlight 4 Out of Browser ApplicationApr 29, 2010. In this article you will learn how we can configure Silverlight application to run Out of Browser and debug when application is launched in Out of Browser window.
  • Notification Window in Silverlight 4May 05, 2010. In this article we will see how we can use Notification Window. We have to remember one thing that, Notification Window only works in Out-of-Browser mode.
  • Keyboard Support in Full Screen Mode in Silverlight 4 May 07, 2010. In Silverlight 4, we have keyboard support. In this article we will explore about it.
  • Dealing with transformations in WPF: PartII-Custom and advanced 2D transformationsMay 10, 2010. In a previous article we've discovered the different transformation modes. In this article, we continue discovering the transformations.
  • HTTP Duplex messaging in Silverlight 4Jul 19, 2010. In this article we will learn how we can implement PollingDuplex with MultipleMessagesPerPoll duplex mode.
  • Easy way to debug Sharepoint web part or Event handlerSep 06, 2010. I think this is worth enough to show how to debug share point controls (User control, Event handler or web part). It will reduce your time on finding out the issue.
  • Debugging With IntelliTrace - Visual Studio 2010Sep 08, 2010. Most talkative feature of Visual Studio 2010 is nothing but the IntelliTrace feature, which provides a new way of debugging.
  • How to Debug WPF Data Binding markup extensionSep 13, 2010. In this article we will see How to debug WPF Data Binding markup extension.
  • Chapter 3: From 2003 to 2010: Debugging an ApplicationNov 24, 2010. After reading this chapter on debugging, you will be able to Use the new debugger features of Microsoft Visual Studio 2010. Create unit tests and execute them in Visual Studio 2010.Compare what was available to you or see what was different for you as a developer in Visual Studio 2003
  • Chapter 7: From 2005 to 2010: Debugging an ApplicationJan 19, 2011. After reading this chapter, you will be able to use the new debugger features of Microsoft Visual Studio 2010, create unit tests and execute them in Visual Studio 2010, compare what was available to you as a developer in Visual Studio 2005.
  • Debugging, Tracing and Instrumentation in .NET and ASP.NET (14 FAQ)Jan 28, 2011. Diagnosing a software application is an art and this art has to be more skillful when in production. In the development environment you have the complete VS IDE tool so diagnosing is much easier. In a production environment as a best practice you do not install Visual Studio IDE. So in production it’s like fighting with a Lion without a knife.
  • 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.
  • Disable Custom Error Mode In SharePoint 2010Feb 18, 2011. How to disable SharePoint custom error mode. It will be very useful when you work with custom development In SharePoint 2010. By default SharePoint will display predefined errors, not the exact errors raised by the custom code. The following steps will help you to disable custom errors in SharePoint.
  • Data Aggregation using Presentation Model in RIA and Silverlight 4Mar 08, 2011. In-depth look into Presentation Model and its mode of handling related multiple entities.
  • Steps to Debug a stored procedure of SQL server 2008 using Visual Studio 2010Mar 10, 2011. Here you will see steps to debug a stored procedure of SQL server 2008 using Visual Studio 2010
  • Basics of SQL Server Integration ServicesMar 14, 2011. In this article we will see what a SQL Server Integration Services (SSIS) is; basic on why SSIS is used for, how to create a SSIS Package and how to debug the same.
  • Some good Debugging tipsMar 14, 2011. Here I am going to explain for you a few shortcut keys which can make debugging faster and more accurate.
  • SQL Server Integration Services (SSIS) - Breakpoints in SSIS PackagesMar 17, 2011. In this article we are going to look into the options to debug the SSIS package, mainly on the Break point options available with SSIS.
  • SQL Server Integration Services (SSIS) - Building and Debugging a PackageMar 17, 2011. In this article we will look into how to build and debug a package in SSIS.
  • Debugging XAML Binding with Silverlight 5Apr 13, 2011. Well hope you are aware of the Silverlight 5 Beta release announcement today and it's latest features; if not then make sure to have a look at the news sections of C# Corner. In this post we will discuss XAML binding debugging, a new feature available in Silverlight 5. Be sure that you read my last line carefully; it's XAML Data Binding debugging not XAML debugging.
  • Implicit DataTemplates in Silverlight 5, With practical case studyApr 20, 2011. As we know Silverlight 5 Beta has been released with some exciting features for developers. Based on the priority and the importance for a LOB application I am trying to cover the features. In my last article we discussed XAML binding debugging option and in this artiucle we are going to have a look into the new implicit DataTemplate feature.
  • SQL Server Integration Services (SSIS) - Data Viewers (Histogram) in SSISApr 26, 2011. In this article we are going to see how to use the Data viewers (Histogram) in SSIS packaging. Data viewers are used as one of the debugging options for the developers to check the data between the processes of a packaging. This is part 57 of the series of articles on SSIS
  • WCF 4.0 Features: Part 1Apr 29, 2011. In short WCF 4 tries to address a common scenario easily and at the same time gives us more options for communicatation between service and client.
  • Debug Javascript in VS2010May 02, 2011. Here you will see how to debug javascript in VS 2010.
  • 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.
  • Debugging Tips using Visual StudioJun 02, 2011. I will share some debugging tips which many of you might be knowing already but this is for who not know the full capabilities of the Visual Studio
  • Debugging Bindings in XAML - Silverlight 5 BetaJun 09, 2011. In this article we shall see the most demanding feature of Silverlight 5 Beta.
  • Debugger Canvas in Visual Studio 2010; A New Debugging ToolJun 15, 2011. This article explains about a new powerful debugging tool introduced in Visual Studio 2010 Ultimate called Debugger Canvas.
  • Debugger Canvas in Visual Studio 2010; New Debugging Tool: Part IIJun 16, 2011. This article discusses additional features of Debugger Canvas in Visual Studio 2010.
  • Display images inside a GridView in Android using VS 2010Jul 14, 2011. The GridView view mode displays a list of data items by binding data fields to columns and by displaying a column header to identify the field. The column cells and the column header of a GridViewColumn have the same width.
  • Debugging a WCF Service from SilverlightOct 18, 2011. Debugging a WCF Service from Silverlight: The Breakpoint will not currently be hit at the WCF Service.
  • ReplicatorActivity in WorkflowNov 15, 2011. In this article we add a DelayActivity with a random timeout just to show that the ReplicatorActivity is really running in parallel mode.
  • Naming, passing data and capturing variables in ThreadNov 26, 2011. We know that every thread has a name property that you can set for the benefit of debugging. Thread’s name is displayed in the threads window and debug location toolbar.
  • Page Tracing in ASP.NET 4.0Dec 20, 2011. Visual Studio debugging tools and ASP.NET detailed error pages are very helpful when we have testing a web application. But, sometimes we need a way to identify problems after we have deployed the application, while we don’t have Visual Studio IDE on that Computer.
  • Silverlight 4 App with Elevated Trust Mode-OOBDec 22, 2011. In this article I will demonstrate how to use a Silverlight 4 App With Elevated Trust Mode-OOB.
  • Protocol Mapping in WCF 4.0 Hosted on Web AppJan 22, 2012. Today, in this article let’s dig out an interesting and wonderful concept. This concept is made life better and delivers high in throughput.
  • Wrap Panel in Windows Phone 7 via WCF ServiceFeb 04, 2012. In this article let see one of the good and interesting concept in windows phone whereby communicating with WCF Service to perform some expected operation. This concept made the phone user to handle the task easily in light weighted mode.
  • Use VS2010 Remote Debugger For Debugging Workflow Plug-in MSCRM 4Mar 09, 2012. Here, in this article let’s learn another new concept; the VS2010 Remote debugger for debugging the workflow plug-in MSCRM 4.
  • Switch Between Metro UI and Desktop in Windows 8Mar 17, 2012. In this article, I explain how to switch between Metro UI and Desktop Mode. Articles also talks about some short cut keys.
  • Start Windows 8 in Safe ModeApr 08, 2012. In this article we are describing how to start the Windows 8 in Safe Mode.
  • Rounding Mode of Numeric in JavaApr 17, 2012. In this article we are going to describe a special behavior of numerical operations capable of discarding precision.
  • Creating Custom Debugging Displays For Your ClassesApr 23, 2012. In this article I will demonstrate how to create custom debugging displays for your classes.
  • Debugging Mode in Windows 8Apr 24, 2012. In this article I will describe how to enable Debugging Mode in Windows 8.

About Debugging-Mode

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