C# Corner

Resources  
  • New Modifiers in C#Jan 26, 2001. If you come from a C++ or Java background to C# then you will of course notice some strange keywords introduced to this new language, especially the "new" and "override" modifiers.
  • Boxing and UnboxingFeb 21, 2001. Boxing and Unboxing are fairly new terms introduced in C#. Author explains some concept of them.
  • ADO.NET DataSet ProgrammingMar 20, 2001. A sample project shows you how to add, edit, delete, navigate, save records in a database using DataSet.
  • Introduction to JScript.NETApr 09, 2001. We have been hearing the announcement from Microsoft right from PDC2000 that they have realsed new languages viz. C#, VB.NET and JScript.NET.This artice of mine is going to introduce to u JScript.NET.
  • 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.
  • Working With Process ClassMay 22, 2001. This article is aimed at introducing the novice .NET developer to the basic usage of System.Diagnostics services included in the .NET BCL.
  • 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.
  • IL "The Language of CLR" - A Platform for Cross-LanguageJun 28, 2001. This article introduces the Cross-Language capabilities of CLR environment (Common Language Runtime Environment) and its constituent language IL (Intermediate Language).
  • Net DDE to DOTNET RemotingJul 02, 2001. This article travel through time to trace the genesis of Dot Net Remoting right from RPC to RMI till SOAP.
  • 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.
  • Operator Overloading in C#Dec 03, 2001. All unary and binary operators have pre-defined implementations, that are automatically available in any expressions. In addition to this pre-defined implementations, user defined implementations can also be introduced in C#.
  • Observer and .NET event delegatesDec 17, 2001. The purpose of this article is to try to introduce observer pattern and compare it to .NET event delegate handling of notifications.
  • 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++.
  • .NET Performance Counters, Part 1: Predefined CLR Performance CountersMay 13, 2002. In this article, I will describe what a performance counter is and introduce you to the predefined counters that you can use to monitor the state of the CLR while your applications run.
  • Robotics Game Using .NET LanguagesMay 28, 2002. It is often not easy to get to know new technologies like .NET if you don’t get introduced to in a work environment.
  • 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.
  • Web Forms Code ModelJul 23, 2002. ASP.NET introduces a new programming model for Web Forms to separate the code and visual elements in different files.
  • 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.
  • Possible Usage of Visitor and Type CastsFeb 25, 2003. In this article I will try to introduce Visitor pattern and one possible variation on it. It treats problems related to projects projects where high level of adaptability is needed.
  • J2EE to .NET Migration: Quick TipsMar 26, 2003. Here are some Quick tips to get you started, in case you need to migrate a J2EE based application to a .NET based application.
  • 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.
  • Data Access Layer based on dataSetsJul 01, 2003. This article aims to introduce the reader to several conceptual problems encountered in the development of a generic Data Access Layer (from now on referred to as DAL).
  • 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.
  • New Features in C# 2.0 : Part 1Mar 08, 2004. In a two part series I will explain new features introduces in C# language version 2.0. In this article I will talk about generics.
  • 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.
  • Cryptography in .NETJul 31, 2004. This article gives a brief overview of Cryptography and the Cryptography support provided by the .NET Framework. I begin by introducing Cryptography and then proceed to examine the various types of it. In particular, I review and analyze the various cryptography algorithms and objects supported by .NET. I conclude after proposing and briefly discussing the algorithmic technique that would work best for you.
  • 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.
  • WS-Security Protocol with .NET – A OverviewOct 11, 2004. WS-Security is a security mechanism for web services coined by IBM, Microsoft and VeriSign. WS-Security introduces the concept of security tokens. These XML-based tokens contain claims about the sender of a SOAP message, and can include data sufficient to prove these claims.
  • 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.
  • Floating-Point in .NET Part I: Concepts and FormatsApr 18, 2005. The first in a three part series, this article introduces the basic concepts of floating-point arithmetic: number formats, accuracy and precision, and round-off error.
  • 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.
  • Adding a ComboBox Column Style to a DataGrid in Windows Forms Jul 30, 2005. The sample introduces how to add the Combobox DataGrid Column Style into a DataGrid on your .NET Windows form.
  • Asynchronous Data Access using Callback ModelAug 17, 2005. The problem with the ADO.Net 1.x is that one thread has to wait for the other thread to complete. So to overcome this problem Microsoft has introduced Asynchronous data access, through which one can execute multiple threads at a time.
  • Whidbey C# IDE FeaturesSep 15, 2005. An overview of the new IDE features introduced in Visual Studio 2005 codename Whidbey.
  • New Features of Visual Studio 2005 EditorNov 16, 2005. In my previous articles, I discussed various new features introduced in Visual Studio 2005. This article is another addition to the same series. In this article, I discuss some new features of Visual Studio 2005 editor.
  • 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.
  • Playing Sounds in .NET 2.0 Using Sound PlayerFeb 13, 2006. If you have ever played sounds in your applications, you must be familiar with PlaySound() WIN32 function. Prior to .NET 2.0, there was no way to play sounds thorugh the managed API. The SoundPlayer class introduced in .NET 2.0 now allows developers to play sounds using managed API.
  • 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.
  • Internationalization Getting StartedMar 09, 2006. This article introduces the concept of Internationalization in application development. Starting off with the basics of character encoding and Unicode, the article discusses the best practices to be followed in writing culture aware code and designing Internationalized user interfaces with adequate examples in .NET (C#).
  • 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.
  • Nullable Types in C#: Basic IntroductionMay 02, 2006. This article gives a quick view in to the problems faced with the value type objects and the solution to the problems. This beautiful facility is introduced by Microsoft as an concept called “Nullable Types” in the C# 2.0.
  • ASP.Net Atlas: Creating Client-based Web applications May 23, 2006. This article introduces the 'Atlas' framework by exploring its client and server class libraries, the programming model the framework allows developers to adopt, some common development scenarios and by walking through a sample 'Atlas' enabled Web application.
  • Introducing ASP.NET 2.0Jun 14, 2006. In this article, the author examines the fundamentals of ASP.NET 2.0 with the help of code snippets.
  • 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#.
  • 10 Measures to Reduce Credit Card Fraud for Internet MerchantsJul 27, 2006. The purpose of this document is to introduce 10 preventative measures that merchants can take in order to minimize credit card fraud. In addition, we would like to take this opportunity to introduce a complete suite of FraudLabs™ Web Services specializing in the analysis of credit card fraud risk for Internet merchants.
  • The .NET 2.0 Framework Provider PatternAug 11, 2006. The Provider Model Design Pattern was first introduced with the .NET 1.1 framework, specifically in the ASP.NET starter kits and was formalized in ASP.NET Whidbey as a membership management provider API (Application Program Interface). It's primary purpose is to separate the definition for an API from the implementation. This keeps the API flexible by enabling the core functionality to be flexible and easily changed.
  • Calculating Date Difference in C#Sep 14, 2006. This article introduces the various options for calculating the date difference in C#.
  • Anonymous Methods in C# 2.0Sep 20, 2006. In this article, we will explore the anonymous method feature introduced in C# 2.0.
  • Selective Validation in ASP.Net 2.0Sep 22, 2006. In this article, we will explore the Validation Groups feature introduced in ASP.Net 2.0.
  • Practical Approach to Computer System Design and ArchitectureOct 13, 2006. The article gives an introduction to system designing and architecture by introducing a new concept that allow beginners to easily break and design complex software systems using a modular based development approach with a pattern, which we all practice in our day to day life.
  • XML Serialization in .NET Framework 2.0 : Part IMar 21, 2007. This article introduces serializing objects to XML format.
  • Introduction to XNA: The Microsoft 2D and 3D Game Development PlatformApr 20, 2007. This article introduces you to the XNA Framework that makes game development easier than it ever was before. This sample features a star trek ship which you can move around the screen and shoot at the enemy Klingon Ship. The demo comes complete with authentic sound.
  • 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.
  • User interface on a mobile deviceDec 17, 2007. Article introduces Resco MobileForms Toolkit - set of Visual Studio controls, designed for mobile application development.
  • 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.
  • Chapter 1: Introducing ASP.NetJan 07, 2008. This article tells the features and frills of Asp.Net 3.5 and .Net framework.
  • Configuration Sections; Introducing the Custom Configuration Section Concept: Part IApr 14, 2008. Custom sections of an ASP.NET Configuration File are customized sections that a developer configures by himself. In this case, the developer also sets their attributes and elements to suit special application needs in terms of settings.
  • Chapter I: Introducing WPFApr 22, 2008. This chapter provides you a brief knowledge about the Windows Presentation Foundation (WPF)
  • Understanding Pattern Matching in F#Apr 30, 2008. F# introduces a code structure called pattern matching which allows you to perform some pretty interesting tasks in the language. This article will get you up to speed with this powerful technique in programming.
  • The Second Pillar of Object-Oriented Programming - InheritanceMay 22, 2008. In this part of the object-oriented programming series I will introduce the second pillar of object oriented programming (inheritance); you will see how to use inheritance to create classes based on existing classes.
  • 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).
  • 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.
  • Working with the Uniform Grid in WPFAug 22, 2008. In this article I will introduce the Uniform Grid object. The uniform grid object arranges content in its area so that all the cells in the grid have the same dimension. It represents a perfect solution if someone prefers to prevent the headache of ordering controls within an ordinary Grid object.
  • About Development on Two-Way RTF to XML/XHTML Converter Components and ServicesSep 15, 2008. Microsoft introduced the Rich Text Format for specifying simple formatted text with embedded graphics. Initially intended to transfer such data between different applications on different operating systems, today this format is commonly used in Windows for enhanced editing capabilities. The XHTML to RTF converter consists in an XSL stylesheet for parsing XHTML tags and generating their RTF equivalents.
  • Structs in C#Sep 25, 2008. This article introduces struct types in C# and .NET Framework.
  • Silver(light) is the new Gold!Oct 22, 2008. This article introduces us about Silverlight which help us to build rich internet applications.
  • The Future of C#Nov 06, 2008. This post speaks about the future of C# which presented by Anders Hejlsberg chief architect of C# at PDC 2008. The coming version C#4.0 is much concerned on introducing Functional and Dynamic programming language concepts into the C#.
  • Five minutes to cook ASP.NET Reporting Service sheetNov 11, 2008. ASP.NET Reporting Services introduce new version of Reporting Services with nicely interface features.
  • Introducing Deep Zoom ComposerNov 19, 2008. This tutorial is an introduction to the Deep Zoom Composer and how to use it to build zoom and pan enabled Silverlight applications with the help of Expression Blend and Visual Studio 2008.
  • Working with the Silverlight Toolkit: Part INov 19, 2008. This article introduces you to the Silverlight Toolkit.
  • XAML and C# -Introduction: Part IDec 18, 2008. This article is supposed to be an introduction to Data Binding logic within Silverlight 2 context, five questions are introduced in this context and they will be answered briefly in this introductry article and in more details in the subsequent parts.
  • Microsoft and the embedded systemsDec 21, 2008. In this article, I try to introduce the embedded system offered feature to the C# developer
  • Calculating the normalized compression distance between two stringsJan 20, 2009. The normalized compression distance (NCD) is a mathematical tool to cluster any objects that are similar. Besides, this article discusses the use of two RichTextBox controls for pasting and copying of text. It also introduces the use of the ContextMenuStrip control.
  • Unit Testing with VS 2008 Team editionFeb 15, 2009. Unit tests allows the developers and testers to check the logical errors in the methods of classes in C# and VB.NET Projects.Unit test can be created once and can be run every time that source code changes.Unit test cases make sure that no bugs are introduced when you write the new code.
  • 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.
  • Introducing: .NET Event CacheMar 08, 2009. This article introduces a reusable generic event cache component that houses events with custom bubbling capabilities. This can be used as a component in your business objects to provide event declaration runtime with events that can bubble to other classes.
  • Extension Methods in C#Mar 17, 2009. In this article I would like to introduce one of new C# 3.0 enhancements “Extension Methods” and so on.
  • 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.
  • Rich AJAX Toolkit control: AccordionApr 28, 2009. Through this article I am going to introduce about AJAX Accordion Control.
  • 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.
  • Microsoft Technology OverviewMay 21, 2009. In today’s fast changing technology, keeping up with technological changes is a challenge. Every time we try to keep up with technology changes, technology changes again. It is never ending chase to catch up with technology and that is what makes software development even more interesting. Focus of this article is to give developers, project managers a quick view of many of new Microsoft technologies out there and help them realize the value of these new technologies. To be frank, technologies covered here are not new and some of them were introduced to IT world, 3 to 4 year ago. But in relative terms, these are still new technologies in Microsoft world as real-world projects and products might take some time to adapt to these changes in technology.

About Introducing-Exceptions-in-JSP

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