C# Corner

Resources  
  • ADO.NET DataSet ProgrammingMar 20, 2001. A sample project shows you how to add, edit, delete, navigate, save records in a database using DataSet.
  • Assemblies : The Ins and Out : Part IApr 13, 2001. In Part 1, I will cover what exactly an assembly is, and what an assembly contains.
  • Assemblies : The Ins and Out : Part IIApr 16, 2001. In this part, I will discuss both Private and Shared assemblies and how to create a "Shared Assembly".
  • Assemblies : The Ins and Out : Part IIIApr 20, 2001. In this part I will discuss in more detail than Part 2, the available utilities for manipulating assemblies.
  • Exception HandlingJun 12, 2001. Exceptions in C# provide a structured, and type-safe way of handling both system level and application level error conditions. The exception mechanism in C# is very similar to that of C++, with a few important differences.
  • Exception HandlingJul 21, 2001. Exceptions in C# provide a structured, and type-safe way of handling both system level and application level error conditions. The exception mechanism in C# is very similar to that of C++, with a few important differences.
  • Displaying Exception InformationAug 21, 2001. This is a simple utility to display exceptions. Each exception in the chain is added to an ArrayList and displayed in reverse order in a ListView control.
  • Exception Handling in C#Oct 17, 2001. Exception handling is a builtin mechanism in .NET framework to detect and handle run time errors.
  • Exceptions and Exception StackNov 16, 2001. The purpose of this tutorial is to explain firstly how you would go about creating your own set of exceptions to trap error conditions that could occur in your code or library, for your own benefit or for the benefit of another developer using your library. The second lesson is on how the C# exception stack works, and how you can use it to catch all types of exceptions.
  • Exception Handling in C#Jan 03, 2002. In C# Exception is a class in the system namespace. An object of an exception is that describe the exceptional conditions occur in a code That means, we are catching an exception, creating an object of it, and then throwing it. C# supports exceptions in a very much the same way as Java and C++.
  • Custom Error Handling in ASP.NETMay 30, 2002. Structured exception handling is a fundamental part of the CLR and provides .Net programmers a great way of managing errors. In addition to CLR exception system, ASP.Net also provides ways of handling errors.
  • The "ins" and "outs" of Using Stored Procedures in C#Jan 27, 2003. This article reviews the creation of stored procedures with parameters using the Visual Studio IDE.
  • Basics of Extending Your Working Environment in Visual StudioApr 10, 2003. All of us have used Macros in Microsoft Office and Add-ins in Visual Studio 6 and I am very sure all of us have been impressed as well by their power to control their own working environment.
  • Custom Exceptions using Microsoft Exception Management Application BlockSep 02, 2003. This article shows you how to use Microsoft Exception Management Application Block to write custom exceptions.
  • Hello World in different StylesJan 09, 2004. I've attempted to write the traditional 'Hello World' in different styles. This explores the different possibilities of addressing a problem - 'Hello World' with different features of C# language and .NET framework.
  • Getting Started With Exception Handling in C#Jul 14, 2004. This article explores exception handling mechanisms in C#, including an explanation of exceptions and why we need to catch exceptions.
  • Logging Errors in a XML FileAug 26, 2004. Error handling and logging errors at a common place is something, which is required in every piece of code you write. The attached source code is an error logger class that I've used in all of my applications. This class writes errors to XML files.
  • A Comprehensive View of SharePoint Portal Server 2003: Part INov 05, 2004. There are many portal solutions on the market, for example from IBM, Microsoft, Plumtree, Vignette, etc. Microsoft's latest portal solution is "Windows SharePoint Services" and "SharePoint Portal Server 2003". This article will not evaluate different portal solutions but rather explain how to use and develop for "Windows SharePoint Services" and "SharePoint Portal Server 2003" from Microsoft.
  • A comprehensive view of SharePoint: Part IINov 19, 2004. Enterprise portals are an important part of today's enterprise IT infrastructure. Portals are used as an entry point for a specific topic, organization, project or team. Many enterprises have an enterprise portal, opened by default when an employee opens up a browser, which shows general information about the enterprise, its strategy, its departments, etc.
  • Talk to SharePoint through its web servicesDec 09, 2004. Microsoft Office 2003 is very tightly integrated with SharePoint by utilizing its web services. Windows SharePoint Services comes with sixteen different web services. SharePoint Portal Server 2003 supports an additional five web services. The web services provided by SharePoint do provide a vast array of features.
  • Best Practices of Exception ManagementMar 08, 2005. Exception management is one of the key area for all kinds of application development .You should adopt an appropriate strategy for exception management to build high quality and robust application .It is a very powerful concept and makes the development work very easy if its used efficiently.
  • Creating simple Add-in for Visual Studio.NETMar 16, 2005. An add-in is a tool that you create programmatically by using objects, methods, properties, collections in .NET's extensibility model. This compiled application enables you to automate the difficult and tedious tasks within the visual studio integrated development environment (IDE).
  • Publishing Exception in SPS Web PartsApr 11, 2005. This article tells the safe way of publishing exceptions using Microsoft Exception Management Application Blocks from WebPart.
  • Content Management and Collaboration using SPS 2003May 16, 2005. This article would be providing a brief introduction about the role which Share Point Portal Server is going to play in coming future.
  • Custom Exception Handling in C#May 17, 2005. This article discusses the implementation of Custom Exception Handling using the existing features of C# .Net.
  • Custom Error Handling Using ASP.NETJul 07, 2005. Sometimes in your application, you may want to show some decent error messages other than red error messages and some message when page is not found or server is busy. We will see custom error message handling mechanism in this article using ASP.NET.
  • 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.
  • Auditing and Logging ExceptionsFeb 01, 2006. This article shows how to handle a SQL Server error condition by using the SQL Server .NET Framework data provider.
  • Exception ManagementFeb 02, 2006. Correct exception handling in your Web pages prevents sensitive exception details from being revealed to the user. The following recommendations apply to ASP.NET Web pages and controls.
  • Customized Exception Handling Using Resource FileMar 03, 2006. A good exception handling should care about user as well as developer. i.e. developer can easily locate the exception entry point, may be a function or any where in a vast project, and fix it as soon as possible. So in this writing I tried some exception handlings which will consider both user and developer.
  • The request failed with HTTP status 401: Access DeniedJun 30, 2006. An unhandled exception occurred during the execution of the current Web request. Please review the stack trace for more information about the error and where it originated in the code.
  • The request failed with HTTP Status 405: Method Not Allowed.Jul 04, 2006. PDSTest.NET Exception Occurred while processing the request. The request failed with HTTP Status 405: Method Not Allowed
  • Six Java features C# developers will kill for...Jul 06, 2006. Not everything on the .NET framework is perfect, and Microsoft still has more improvements to implement. This time we will look at six features available to Java developers but unfortunally absent from C#.
  • Exception Handling in VB.NETJun 25, 2007. Exception handling is crucial since the robustness of software depends on how effectively a program deals with exceptions.
  • 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.
  • Free Book: C# Programming for BeginnersAug 21, 2007. In this book, you will learn how to write and compile C# programs, understand C# syntaxes, data types, control flow, classes and their members, interfaces, arrays, and exception handling. After completing this book, you should have a clear understanding of the purpose of C# language, it’s usages, and how to write C# programs.
  • Introduction to Building a Plug-In Architecture Using C#Sep 10, 2007. In this article we'll take another look at how we can use the state pattern to build a plug-in architecture that will allow us to change the behavior of our application by placing differnt plug-ins into a folder.
  • Best Practices for handling exceptionsSep 18, 2007. This article shall explain some of the best practices when you deal with exceptions.
  • Exception Handling in WCF using Fault ContractJan 03, 2008. This article demonstrates how to get error information from a service to a client using fault contract in WCF.
  • 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.
  • Exception and error handling in enterprise applicationsJul 31, 2008. In this article, I try to cover the key principles and the main techniques of exception and error handling with examples in SQL Server, Oracle and Microsoft .NET.
  • Introduction to Visual Studio Add-insMar 03, 2009. This article explains about Visual Studio 2008 Add-ins.
  • Introduction to Interfacing Win Forms with VS Add-insMar 04, 2009. This article explains about integration of Windows Forms with Visual Studio Add-ins.
  • Exception handling using Enterprise application block in 6 StepsMar 20, 2009. Exception handling is one of the most important tasks in any application. Many applications either do not handle applications or they handle it in an adhoc manner. In this section we will see how we can use the readymade exception handling block so that we do not need to code and build error handling routines from scratch.
  • Paging and Sorting ListViews with ASP.NET MVC and jQueryMar 23, 2009. This article provides a simple example of using jQuery along with the jQuery tablesorter and tablesorter.pager plug-ins to provide sorting and paging support for a listview within the context of an ASP.NET MVC application. JQuery has partnered with Microsoft and is now integrated within the IDE to include the availability of intellisense support.
  • Rectifying MACHINE CHECK EXCEPTION Error Message in Windows XPMay 18, 2009. A STOP error message in Windows XP is typically caused after your computer encounters a serious system error. Two major consequences that you might face after the occurrence of a STOP error can be unbootable hard drive and data inaccessibility.
  • Exception Handling in C#Jul 08, 2009. This article explains you about exceptional handling in C#. How to use try, catch, finally block to handle exception handling
  • Handling Service Side Exception and Faulty Channel at Client Side in WCFAug 04, 2009. In this article, I will show different approach to deal with service side exception and channel fault at client side. I will do a comparison study between various approaches and I will provide best approach also.
  • Exception Handling in C#Aug 19, 2009. In this article we will see exception handling technique in C#.
  • Guide to Improving Code Performance in .NET: Part IISep 01, 2009. This article explains about better Exception Handling practices in C#.
  • Exception handling in C#Sep 14, 2009. This article explains about the Exception handling in C# with code example.
  • AccountPlusOct 13, 2009. AccountPlus is an application which can be used for shared account/expense management with proper reporting and general analytics.
  • Exception Handling in C# Dec 21, 2009. In this article I will explain you about Exception Handling in C#.
  • Exception Statements in C#Dec 24, 2009. In this article I will explain you about Exception Statements in C#.
  • Creating Your Own Exception Classes in C#Dec 29, 2009. In this article I will explain you about Creating Your Own Exception Classes in C#.
  • Throw Statement in C# Jan 01, 2010. In this article I will explain you about Throw Statement in C#.
  • Propagation of Exceptions in C# Jan 02, 2010. In this article I will explain you about Propagation of Exceptions in C#.
  • LINQ to XML Part 5: Catching Parsing ExceptionsFeb 22, 2010. This is a very high level article which will explain how to handle exception in parsing XML using LINQ to XML.
  • As Operator in C#Feb 24, 2010. The As operator in C# is used to convert from one type to another. You can use casting to cast one type to another but if you apply casting on incompatible types, you will get an exception.
  • Demystifying CLR: Part IMar 15, 2010. In this article, I am going to explain fundamentals of CLR.
  • How to Create a Custom Exception Error Page in SharepointApr 12, 2010. In this article we will see how to create a custom unhandled exception error page in Sharepoint.
  • Customized Exception Handling May 05, 2010. In this article you will learn how to use Customized Exception Handling Using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling
  • Fault Contract in WCF With Learning Video May 25, 2010. This article will give basic introduction on how to handle exception at service side, how to use fault contract at service side and how to handle service exception at client side.
  • Exception while creating the sub webJun 07, 2010. In this article you will learn how to resolve security validation exception while creating the sub web.
  • Creating a exception logger window in SilverlightJul 19, 2010. In this article I will describe how to handle the exceptions in Silverlight.
  • Exception Handling in Visual COBOL.NETAug 16, 2010. Let's start by taking a look at a simple and pretty standard COBOL way of handling exceptions. We’ll then see how that same example would be coding in a managed environment utilizing Visual COBOL.NET.
  • WebException or Remote Server Name Could not be Resolved in WCF Data ServiceAug 19, 2010. This article will give a brief explanation on how to handle remote server name could not resolved exception in WCF Data Service.
  • Handling exception in SharePoint 2010 object modelNov 15, 2010. In this article I will show how to handle the exception "Web application not found" in SharePoint 2010 object model.
  • Setting Up the Firewall on Local System/Computer to Connect to SQL AzureDec 10, 2010. If we want to connect to SQL Azure from a local system then we need to create an exception in the local firewall for TCP port 1433.
  • WPF-Validations On All Database OperationsApr 27, 2011. This article shows how to use validation whenever a user enters data. By using validation you will stop entering the wrong data into the database and avoid exceptions.
  • Exception/Error Handling in C#: Part 1Jun 13, 2011. In this quick article you will learn Error Handling mechanisms available in C#.
  • Exception Error Handling Log Maintenance in a Text File: Part 1Jul 08, 2011. In this article I will describe how to log program exceptions and save into a text file.
  • Exception Error Handling Log Maintenance in a Text File: Part 2Jul 11, 2011. In this article I will describe how to use the "ErrorHandling" dll when an exception happens and how to register the Exception in a text file.
  • Ins Tag in HTML5Aug 02, 2011. The ins tag defines text that has been inserted into a document.
  • Work with Exception Handling in WorkflowOct 10, 2011. An Exception is an event which occurs during the execution of a program. This article will explain about Exception Handling in Workflow.
  • XML Validation with XSD Along With Custom Exception Nov 01, 2011. In this article, I will discuss about validating XML against defined XSD. Prior to getting into this article, it is mandatory that one should have basic knowledge on what XML & XSD are.
  • FaultHandlerActivity in WorkflowNov 11, 2011. The FaultHandlerActivity has a FaultType property. This property represents the type of exception we want to catch.
  • Audio tag in HTML5Nov 22, 2011. This new element allows you to deliver audio files directly through the browser, without the need for any plug-ins. embedding the audio file into a web page via the src attribute.
  • Exception Handling and .NETNov 22, 2011. Error Handling has always been crucial for an application in a number of ways. It may affect the execution state of the application, or expose sensitive information to a user. If the error handling is not strong, it may aid the attacker, as the errors returned may assist them in constructing correct attack factors.
  • Priority and exception handling in ThradingNov 27, 2011. Threads are executed based on their priority levels. High priority threads always get more processor time than their counterparts.
  • Exception Handling in SQL ServerDec 15, 2011. In this article, we will learn how to handle the exception in SQL server and store the error log in a SQL server table for reference.
  • Exception handling in PHP: Part 1Dec 20, 2011. In this article we are going to understand the concept of exception handling. An exception is the abnormal termination of the program and here you learn how to handle this exceptions.
  • Exception handling in PHP: Part 2Dec 21, 2011. In this article we going to understand the next four error handling methods. An exception is the abnormal termination of the program. It is known as run time errors.To avoid the abnormal termination of program we use exception handling.
  • Fault Contract Exception in WCF Hosted on Web AppDec 31, 2011. Today, in this article let’s try to study and implement this interesting concept. It enables to show a friendly message to user when unexpected values are inputted. It works great. So, we all are good to go and implement this wonderful concept.
  • Throwing an Exception in a JSP PageJan 04, 2012. In this article, I am going to describe how to throw an exception in JSP.
  • Operations on Your Computer ProcessesJan 06, 2012. This program will help you to perform operations on your computer processes like add new task, delete new task, find process etc.
  • Exception Handling in AJAX Using ASP.NETJan 11, 2012. In this article you will learn about Exception Handling in AJAX using ASP.NET.
  • How to Handle a Custom Exception in C#Jan 19, 2012. By using custom exceptions, we can create and handle our own user defined exceptions.
  • Exception Handling in JAVAJan 31, 2012. In this article you will learn what an exception is and how to handle it in various ways.
  • Defining Your Own Exception Class in JAVA (Custom Exception)Feb 01, 2012. This article is helpful for making your own exception classes and and making your own exception condition.
  • Learn .NET and C# in 60 days Lab 4 - Day 1: Exception handlingApr 16, 2012. In this video we will try to understand how to do error handling or Exception handling.
  • Different Exception Generate in Array in JavaMay 29, 2012. In this article we are going to describe the many exceptions that are possibly generated by an array in Java. So now we describe each Exception type in detail one by one. First we give you a little introduction to arrays in Java.
  • Difference Between Throw Exception and Throw ClauseAug 06, 2012. In this article you will learn the differences between Throw Exception and the Throw clause.
  • Throw Statement in SQL Server 2012Aug 24, 2012. In this article I will explain the use of the throw statement in SQL Server 2012.
  • Adding Power Pivot Add-Ins in Excel 2013Aug 28, 2012. In this article we will discuss how to add the Power Pivot in Excel 2013.
  • WCF Fault Contracts - Day 2Sep 28, 2012. This article explains fault contracts in Windows Communication Foundation. It also explains the difference between faults & exceptions and provides sample code for implementing fault contracts.
  • HandleErrorAttribute or Error Handling in MVC 4Oct 22, 2012. HandleErrorAttribute in MVC is used to display friendly error pages to user when something goes wrong in the application. Let’s create a simple exception in the application to explore HandleErrorAttribute.
  • Exception Handling in Silverlight Application From WCF in VB.NETNov 08, 2012. This article explains exception handling in a Silverlight application from WCF.
  • Paging and Sorting ListViews with ASP.NET MVC and jQueryNov 09, 2012. This article provides a simple example of using jQuery along with the jQuery tablesorter and tablesorter.pager plug-ins to provide sorting and paging support for a listview within the context of an ASP.NET MVC application.
  • Error Handling In ASP.NET and VB.NETNov 09, 2012. One of the main features of ASP.NET over ASP is it's new error handling features. This article shows you how to implement exception handling in ASP.NET using VB.NET.

About Exception-in-SPS

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