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.
  • 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.
  • Developing Secure Web Sites with ASP.NET and IIS: Part IMar 04, 2003. Developing security for a site is like paying tax. You know it should be done at the end of financial year. But you keep it for the last and some time expect you should never have to do it. It is a similar kind of situation when building a web site. There are some web sites available to general public that can be access by any one. The security for these sites can be minimum or none at all. There are some web sites that publish and hold important information that have to be secure one way or another.
  • 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.
  • Audio Video Modules for ASP.NET Community Starter Kit : Part IIJan 19, 2004. In this article, we will build an additional module for ASP.net CommunityStarterKit that enables you to publish audio and video contents. This module works together with Windows Media Services and it is written in C#. You have to install CommunityStarterKit (C# version for VS) to follow this article.
  • Audio Video Modules for ASP.NET Community Starter Kit : Part IIIJan 19, 2004. In this article, we will build an additional module for ASP.net CommunityStarterKit that enables you to publish audio and video contents. This module works together with Windows Media Services and it is written in C#. You have to install CommunityStarterKit (C# version for VS) to follow this article.
  • Audio Video Modules for ASP.NET Community Starter Kit : Part IVJan 19, 2004. In this tutorial, we will build an additional module for ASP.net CommunityStarterKit that enables you to publish audio and video contents. This module works together with Windows Media Services and it is written in C#. You have to install CommunityStarterKit (C# version for VS) to follow this article.
  • 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.
  • Adding Discovery Features to BizTalk Server 2004: Part ISep 13, 2004. This article explores the concepts of the BizTalk-UDDI mapping process and the similarity with the WSDL-UDDI mapping process. By the other way the second article is focused in the implementation and use of the BizTalk Server 2004 UDDI Publishing Wizard tool.
  • 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.
  • Custom Exception Handling in C#May 17, 2005. This article discusses the implementation of Custom Exception Handling using the existing features of C# .Net.
  • Active Directory and .NETJun 22, 2005. Microsoft Technet offers a script repository to work with AD User Accounts; however, I needed to work with .NET and I could not find samples for all the tasks I needed to program. I promised to myself that one day I would publish the code samples I found and created to help other developers who are working with Directory Services.
  • 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.
  • C# Defensive Event Publishing Using InterfacesApr 03, 2006. This article explains how to use interfaces for C# Defensive Event Publishing.
  • ClickOnce DeploymentMay 09, 2006. This article will make you publish application on IIS withouting using VS IDE.
  • 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#.
  • PDF Search in SharePointSep 11, 2006. This is a small article that tells users about the PDF search in SharePoint. I have not included the exact steps that need to be taken because that has already been published before on many sites including Microsoft's. My objective is tell users where to start looking for resources if they want to search PDF documents in SharePoint.
  • C# Friendly Assemblies: Looking at Building Truly Reusable ComponentsNov 01, 2006. This article discusses how we can hide our base class implementation and require referencing of our objects through their interfaces. This keeps our own projects loosely coupled and also allows us to publish our assemblies as truly reusable components because they are 100% “Black box”.
  • 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.
  • Using SQL Server 2005 system SP to change extended property values of database objectsAug 01, 2007. In this article, that is the logical continuation of the earlier published articles, I will show how you can update the value of an existing extended property or add a new extended property to a database object with the help of the system stored procedures of SQL 2005. The examples are written using T-SQL.
  • 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.
  • 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.
  • 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.
  • 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.
  • Parsing BizTalk Messages in .NET Components Through OrchestrationApr 30, 2009. This article discusses how to parse BizTalk messages in .NET Components through Orchestration.
  • 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.
  • Asynchronous Message Router in C#Sep 30, 2009. This article explains and demonstrates some patterns for asynchronous message routing using C#.
  • AccountPlusOct 13, 2009. AccountPlus is an application which can be used for shared account/expense management with proper reporting and general analytics.
  • Publishing an InfoPath Form to a Sharepoint ServerNov 17, 2009. In this article, we will see how can we publish an Infopath Form into a SharePoint Server.
  • 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.
  • How to publish a content type in SharePoint 2010Feb 28, 2010. In this article we will be seeing how to publish a content type in SharePoint 2010.
  • Demystifying CLR: Part IMar 15, 2010. In this article, I am going to explain fundamentals of CLR.
  • SSRS Reporting Services & Architecture: Part IMar 23, 2010. In this article we will see how to create and publish reports using SQL Server Reporting Services.
  • 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
  • .Net 4.0 Code Level EnhancementsMay 10, 2010. I am publishing here some features which is mainly meant to get a quick start for developers.
  • 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.
  • Publishing Your Database in SQL ServerJun 21, 2010. Let's see how we can publish our database in SQL Server.
  • Creating a exception logger window in SilverlightJul 19, 2010. In this article I will describe how to handle the exceptions in Silverlight.
  • Basic WCF ImplementationAug 05, 2010. This article will contain how to create publish and consume WCF service.
  • 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.
  • Publishing InfoPath form in share point 2007Sep 03, 2010. In this article I am showing how to publish a simple InfoPath from in share point. In my coming articles I will show more integration with share point and InfoPath.
  • Creating a InfoPath Form LibrarySep 06, 2010. In this article we will see how to create a InfoPath Form Library as well as will help you to deploy and publish Infopath Browser COMPATIBLE Form to SharePoint
  • Publish an InfoPath form template as SharePoint site content typeSep 07, 2010. This is how to publish an InfoPath form template as a new SharePoint site content type.
  • Publishing SharePoint Blog from WordNov 09, 2010. In the below example I am showing you a very useful feature of publishing a SharePoint blog from word.
  • 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.
  • How to publish a Service Application in SharePoint 2010Nov 24, 2010. In this article we will be seeing how to publish a Service Application in SharePoint 2010.
  • Chapter 4: From 2003 to 2010: Deploying an ApplicationNov 25, 2010. After reading this chapter on deployment techniques, you will be able to Deploy a Web application and an SQL database using Web Deployment Packages. Deploy a Web application using One-Click Publish.
  • How to publish a Content type in SharePoint 2010Nov 26, 2010. In this article we will be seeing how to publish content type in SharePoint 2010.
  • 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.
  • Creating browser enabled InfoPath forms for SharePoint libraryDec 13, 2010. In this article I will explain how can we create and publish browser enabled InfoPath form in SharePoint site.
  • Creating Installable InfoPath form Template and deploying in SharePointDec 19, 2010. In this article I will explain how can we create and publish browser enabled InfoPath form in SharePoint site.
  • How to publish Managed Metadata Service across Farms in SharePoint 2010 Dec 21, 2010. In Microsoft SharePoint Server 2010, some service applications can be shared across farms. By publishing a service application, you can optimize resources, avoid redundancy, and provide enterprise-wide services without installing a dedicated enterprise services farm.
  • Cloud Computing: Hello World, Welcome to Cloud Computing !Dec 25, 2010. This hands-on article demonstrates how to build your first Cloud Application using Visual Studio.
  • Deploy and run your Cloud Application project - Create Service Package OnlyDec 25, 2010. This article demonstrates how to deploy and run your first Cloud Application on Windows Azure.
  • Deploy and run your Cloud Application project - Deploy Your Windows Azure project to Windows AzureDec 27, 2010. This article helps you to deploy and run your Cloud Application through Visual Studio 2008/2010.
  • Sandboxed Solutions in SharePoint 2010Feb 14, 2011. In this article I am describing one of the new features of SharePoint 2010; it is Sandboxed Solutions. One of the biggest problems with SharePoint 2007 development is that all of its solutions run with full trust. This makes SharePoint administrators hesitant to publish any solution that may disturb the stability of the SharePoint farm.
  • How to check the site is a valid hub site and content type in the hub in SharePoint 2010Mar 02, 2011. In this article we will be seeing how to check whether the site is a valid hub site and how to check whether the content type in the hub site is published or not.
  • Get PublishingPageContent using SharePoint Web ServicesMar 23, 2011. We can easily get the PublishingPageContent of any Publishing Page using Publishing API but what if we want to achieve this using SharePoint Web Services?
  • How to Create Top-Level Publishing sites with SharePointApr 23, 2011. In this exercise we see how to Create Top-Level Publishing sites with SharePoint.
  • How to add the top link in Publishing Site in SharePointApr 25, 2011. In this exercise we see how to add the top link in Publishing Site in SharePoint.
  • Quick Launch Navigation for SharePoint Publishing SitesApr 25, 2011. In this article we will be seeing how to add a heading or link and how to delete the heading or link from the SharePoint publishing site quick launch.
  • 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.
  • Creating a Custom Page Layout for Publishing Portal in SharePoint 2010May 09, 2011. In this article I am showing you how to create a accustom page layout using SharePoint Designer 2010.
  • How to Publish a LightSwitch Desktop ApplicationMay 21, 2011. In this article we will discuss publishing the LightSwitch Desktop Application.
  • Creating a Sharepoint Portal for MobileMay 30, 2011. This article discusses the approach I used to develop a mobile version for a SharePoint 2010 publishing portal.
  • Configure Metadata publishing in SharePoint 2010Jun 02, 2011. In SharePoint 2010 the terms or keywords added to the Managed Metadata or Enterprise Keywords columns in a library can be made available as keywords for social tagging. To do this we need to enable an option in the library settings, which will be available in Enterprise Metadata and Keyword Settings. In this article we will be seeing how to enable this option for the SharePoint document library.
  • Windows Azure - Creating New Hosted ServiceJun 13, 2011. In this article we will see how to create a new Hosted service in Windows Azure portal. Hosted services are used to host our application online with the configuration files created during publishing our application.
  • Exception/Error Handling in C#: Part 1Jun 13, 2011. In this quick article you will learn Error Handling mechanisms available in C#.

About Publishing-Exception

NA

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.
European SharePoint Conference