C# Corner

Resources  
  • Adding Menu Support to a Windows FormDec 18, 2000. This sample code shows you how to use the MainMenu and MenuItem classes to add a menu and click handler for a Windows Form.
  • Database Explorer-IVJan 25, 2001. This is version IV of the Database Explorer, which include the support for Access Database with SQL Server.
  • Simple SMTP MailerMar 26, 2001. This is a simple program which shows how to send mail via SMTP without using any framework support. While using the .NET SMTP classes may be a little easier, it is good to be able to go under the hood and get your hands dirty to understand what is going on at the socket level. For simple text messages, this implementation works fine.
  • Understanding How Assert Effects SecurityApr 25, 2001. Assert is a security action that is evaluated at run time. Code Access Permission classes and Permission Sets support a method called Assert. Using the Assert method to control access to resources or actions will allow your code to perform actions that it normally has permission to perform and will allow other callers up stream in the call stack to have access that they would not normally have.
  • Color GuideJun 11, 2001. This Program will generate all the colors that are supported in C# according to the Name.
  • Pointers in C#Oct 25, 2001. C# also supports pointers in a limited extent. A pointer is nothing but a variable that holds the memory address of another type. But in C# pointer can only be declared to hold the memory address of value types and arrays.
  • Mapping Objects to Relational DatabasesNov 01, 2001. The application generates C# Class files for each table in a relational database. I have used Mysql and ODBC.NET for this project. The application only supports MySQL right now.
  • Multilingual Support in C#Jan 03, 2002. Many major languages of the world like Arabic, Hindi and Chinese are not written in Roman Script, so special features are provided for dealing with these languages. This article will tell how to implement multilingual application using C#.
  • 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++.
  • Welcome to COBOL.NET, corner of the C# CornerJul 01, 2002. This column will hopefully help those of you looking to use Fujitsu NetCOBOL for .NET. We are going to present some "How To" articles beginning with the basic information about the environment, the interaction with Visual Studio.NET, the Designers and the COBOL language.
  • dotMSN: .NET Messenger LibraryJul 25, 2002. dotMSN is a class library to make use of the MSN Messenger Service. The library is built in C# and can therefore be used by all languages the .NET environment supports.
  • Using Installer Classes to Ease Deployment in VS.NETAug 07, 2002. In this article I will demonstrate how to incorporate installer classes with your Visual Studio .NET msi's to handle any supporting tasks that your assemblies may need.
  • Working With DirectDraw and Bitmap ImagesSep 05, 2002. This month in the C-sharp DirectX column, we will be adding bitmap image support to our game engine.
  • MDI Image Viewer with Drag-Drop SuppportNov 21, 2002. MDI Image Viewer with Drag-Drop Support by Sergio Pinon. Nov 21, 2002. The attached source code project is an MDI Image Viewer that not only let you view multiple images simultaneously, it also supports drag and drop feature. To view one or multiple files, just drag some images from the Windows Explorer and drop on this program.
  • Working with Portable Network Graphics(PNG) Format : Part IDec 13, 2002. First off, why use PNG instead of GIF? Probably the most important reason is that GIF supports a maximum of 256 colors.
  • Simple Registration Framework-XML signaturesFeb 13, 2003. This project provides simple tools, which add a "shareware like" registration support to .NET application.
  • Accessing Sharepoint Portal Server 2001 in .NETFeb 19, 2003. Sharepoint portal server provides a set of COM API that can be used to access its functionality from .NET applications via COM Interoperability. In this article, I will show you how to import SPP functionality in your .NET application.
  • A CLassic Warm Game Over TCP/IP with Multiplayer SupportJun 09, 2003. Worms.NET is an example of networking and graphics programming on .NET. This is a classic game with a worm.
  • SMTP/POP3/IMAP4/WebMail ServerSep 26, 2003. The attached source code contains a project for a Web Email Server with SMTP, POP3, and IMAP4 support.
  • Office11 Solution using .NET - A White PaperNov 25, 2003. This detailed white paper contains the information about Office 11 support for Microsoft .NET. It also explains Office 11 object model and how to access Word and Excel documents using Visual Studio .NET.
  • Enhanced XP Button ControlDec 12, 2003. The enhanced XP style button is very easy to use and it supports rectangle, circle or ellipse shape with image and different colors. This control also inherit most of the properties from the Forms.Button.
  • DNS Client in C#Dec 22, 2003. The attached source project contains the library and source code for DNS client application. This client supports A, MX, and PTR records.
  • XML Messaging in WSE 2.0Jan 15, 2004. The WSE is an Add-on to the .NET Framework. It provides additional Web Services support mostly for the various Web Services Architecture (WSA) specifications. This technology represents specific functionalities that will increase the Web Services potentialities.
  • Globalization in .NETJan 28, 2004. Now a day it is very difficult to think about building any application without globalization. If we are building an internet application, then it is very much required that our application supports all the languages with respect to the customer's locality.
  • SQL Server Reporting ServicesFeb 25, 2004. SQL Server Reporting Services is a comprehensive, server-based platform for creating, managing, and delivering reports that contain data from relational and multidimensional data sources. This article explains the features that are supported by SQL Server.
  • DataSets in Microsoft .NET - Part 2Mar 09, 2004. This article explains sorting, searching and filtering support provided by dataset and data table objects.
  • 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.
  • Handling Oracle Max Open Cursor Error when Fetching Multiple Rows in ADO.NETAug 18, 2004. When working with Microsoft technologies, MS SQL Server comes out as a natural choice for the database. While it is a fact that .NET Framework has extensive support for SQL server, when you work with other databases like Oracle the situation might turn out to be a little more tricky than it is with SQL Server.
  • Microsoft Application Center TestOct 13, 2004. Application Center Test (ACT) stress tests Web servers and analyze performance and scalability problems of Web applications. ACT simulates a large group of users by opening multiple connections to the server and rapidly sending HTTP requests. It also supports several other authentication schemes and the SSL protocol, making it ideal for testing personalized and secure sites.
  • 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.
  • Starting With SharepointFeb 11, 2005. Microsoft came up with an idea of "Sharepoint Server", and now it's only a matter of few clicks to build an enterprise-portal. This article shows you how.
  • SQL Server Reporting ServicesFeb 25, 2005. SQL Server Reporting Services is a comprehensive, server-based platform for creating, managing, and delivering reports that contain data from relational and multidimensional data sources. This article explains the features that are supported by SQL Server.
  • Integration of InfoPath with SharePointApr 28, 2005. InfoPath is based on industry-standard Extensible Markup Language (XML). Extensible Markup Language (XML) is a condensed form of Standard Generalized Markup Language (SGML) that enables developers to create customized tags that offer flexibility in organizing and presenting information.
  • Programming with .NET Compact Framework 1.0 and SQL CE 2.0 : Part IJul 26, 2005. This article covers various major components for developing application for PDA .Before developing application targets to PDA device its very important to understand .NET compact framework, supported/unsupported features for smart device development, Difference between .NET compact framework and .NET framework and of course SQL CE if you want to store application data in SQL database.
  • C# 2.0 Features: Property Accessor Accessibility Modifiers Aug 24, 2005. One of the new features added to C# version 2.0 is accessibility modifier support for property accessor. In this article, I will show you the advantages and coolness of using this feature.
  • Building Windows Longhorn Applications using Visual Studio codename WhidbeyNov 15, 2005. The preview version of the next version of Visual Studio 2003 is called Visual Studio codename Whidbey. Visual Studio Whidbey has a support for building applications for Windows codename Longhorn, which is a new addition to the Windows operating systems series and successor of Windows XP.
  • Smart HTML Editor in Visual Studio 2005Nov 16, 2005. If you have been writing Web applications using Visual Studio, at some point you would end up editing HTML file by hand. Now HTML Editor available in Visual Studio 2005 now supports Intellisense, which makes developers life much easier when editing HTML file by hand.
  • Building Generic Data Access Class using ADO.Net 2.0Jan 03, 2006. In this article we are going to explore some new features of the generic data access supported by ADO.Net 2, and also we will have a look at generic collections and generic interfaces.
  • Introduction to new SECS/GEM driver using SecsToTool.NetJan 06, 2006. SecsToTool.Net is a connectivity solution for the semiconductor equipment that support SECS/GEM communication interface. The SecsToTool.Net SECS/GEM driver SDK is designed to provide a high level method call/reply and event driven environment for your host application (or what we normally called Cell Controller/Station Controller/Equipment Manager) to communicate with equipment.
  • Creating a Simple WebPart Page and Use WebServer Controls as WebPartsJan 10, 2006. Portal web sites such as MY MSN and MSN Spaces, often organize their data into discrete units that support a degree of personalization. Information is organized into standalone parts [WebParts], and users can rearrange those parts to suit their individual working styles. Here we will see how to add web parts to a web part page.
  • Service-Oriented Architecture and Microsoft .NETJan 21, 2006. This article is intended to provide an overview how Microsoft .NET and related technologies support the goals and principles of Service-Oriented Architecture. The main approach of Microsoft .NET is explained along with the concepts of Service-Oriented Architecture and it fits into this strategy.
  • Creating Custom Templates in SharePointJan 29, 2006. This article is all about creating custom templates in SharePoint.
  • ASP.NET Caching: SQL Cache Dependency With SQL Server 2000Jan 30, 2006. SQL cache dependencies are one of the most wonderful new features in ASP.NET 2.0, the ability to automatically invalidate a cached data object (such as a DataSet or Custom Data Type) when the related data is modified in the database. This feature is supported in both SQL Server 2005 and in SQL Server 2000, although the underlying plumbing is quite different.
  • How to Build Multi-Language Web Sites with ASP.NET 2.0 and VS.Net 2005Feb 06, 2006. In this article, we will explore the necessary details for working with resources in ASP.NET applications and for creating international ASP.NET applications based on embedded resources and the integrated localization support.
  • Web Services for .NET and J2EE InteroperabilityFeb 13, 2006. Web services technologies are designed to support the interoperability between many different application development platforms that exist today. This article is focused on the fundamentals of .NET and Java interoperability using Web services technologies.
  • Data Access Component and the Factory Design PatternApr 05, 2006. A generic Data Access Component implementation written in C# that supports SQL, Oracle, OLEDB and ODBC data providers. Using the Factory design pattern for instantiating the data provider correct and specific objects determined at run time.
  • A Brief Overview of Sharepoint Portal Server 2003May 16, 2006. This article is a brief introduction of Sharepoint Portal Server 2003.
  • Bit Flags Type ConverterJun 23, 2006. This article shows an implementation of TypeConverter which allows you to edit bit flags enumerations in PropertyGrid.
  • Globalization and Localization in .NETJul 03, 2006. Localization is a technique to implement local and culture-oriented applications. This articles explains usage of System.Globalization to implement localization support in .NET applications.
  • Enabling CLR integration in SQL Server 2005Jul 31, 2006. One of the new features in SQL Server 2005 is the feature to write your own stored procedures using any language supported in .NET. This feature gives you more flexibility to implement any complex logic in your business scenario.
  • Using Delegates to Communication Between Windows FormsSep 04, 2006. Delegates are one of the wonderful features of .Net Framework. Their primary use is focused on support event handling and callback mechanism. In this article we will explore how to use delegate as callback support to make simple communication between deferent opened windows forms
  • 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.
  • Image Conversion Utility in C#Sep 14, 2006. This article describes a very easy approach to building an image conversion utility that will permit the user to open a supported image type and convert it to another supported image type.
  • Creating a Workflow solution in SharePoint 2003Sep 18, 2006. There has always been a great demand for workflows in SharePoint. If you are a programmer, you can create a workflow solution of yourself and integrate it into SharePoint. In this article, I will give you some tips on how to create a workflow solution of your own.
  • Pull a column value from another list in your site in Sharepoint Portal ServerSep 21, 2006. In document and form libraries, you can create custom columns or metadata properties and interestingly, you can autopopulate these columns with data that can be hardcoded or extracted from other lists that are part of the same site where your document library is located.
  • Tip: How to add a Page Header to a Sub Report in Crystal Reports?Oct 09, 2006. Sub Reports in Crystal Reports do have report headers but do not support page headers. Wonder why? We can mimic the functionality with the help of a formula and a Group.
  • Extending the ASP.NET ImageButton ControlDec 18, 2006. This article describes an easy approach to extending an existing ASP.NET control; in this example, the standard toolkit’s Image Button control is extended to support roll-over effects. Given the standard control already contains existing support for both server side click events and client click events, the control is well furbished prior to the addition of the roll-over effect.
  • Access Sharepoint Portal Server using Web Services in .NETFeb 05, 2007. This article discusses how we can leverage Sharepoint Portal Web Services to work with WSS in Microsoft .NET. The sample code used in this article shows how to access Lists Web Service to get the available lists in WSS. The sample code also shows how to add and update list items.
  • SHA-1 Bit Implementation in C#Mar 15, 2007. This is a bit implementation of the SHA-1. It supports messages 2^32 - 65 bits long.
  • Arabization: Localization/Globalization in ASP.Net 2.0Mar 19, 2007. In order to reach global market for any successful product, it is necessary that product supports maximum regional languages. To have support different languages, it is required that while developing product, the concept of localization / globalization utilized.
  • Build a Simple Watermarking Utility in C#May 07, 2007. This article shall describe an approach to building a simple watermarking utility that may be used to add watermarks to any supported image file format. The resulting application shall permit the user to open any supported image file format into a scrollable picture box.
  • Triggers and Active DatabasesAug 30, 2007. This article is intended to illustrate how to use triggers in databases systems to enforce business rules and react to events in database applications thus supporting the Active databases principles.
  • Share Point Portal Nov 08, 2007. This article explains brief description on share point portal server.
  • Programmatically uploading multiple files to Custom sharepoint list in 2007Nov 08, 2007. This article describes step by step processes to create a webpart in share point server 2007, and using the same how to programmatically upload Multiple files to Custom Share Point List in Share Point Server 2007.
  • Sharepoint Workflow Custom Activity for Active Directory & Deployment on Moss 2007Jan 16, 2008. This article tells you how to create your own custom workflow activities as components using Windows Workflow Foundation.
  • Developing a Web Part for Moss 2007Jan 17, 2008. This article describes the step by step process to develop a web part for Moss 2007.
  • 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.
  • Chapter I: Resources and LocalizationFeb 01, 2008. In this chapter, you will learn all the necessary details for working with resources in ASP.NET applications and for creating international ASP.NET applications based on embedded resources and the integrated localization support.
  • Understanding Connected World of MOSS 2007Feb 27, 2008. This article tells you the conceptual and real world industrial usage of MOSS 2007.
  • Features of WSS 3.0 and MOSS 2007Mar 04, 2008. This Article describes features of windows SharePoint services (WSS 3.0) and MOSS 2007. It describes basic difference between WSS 3.0 and Moss 2007.
  • C# scrollable Picturebox custom controlApr 10, 2008. This article discusses the construction of a custom control used to add a scrollable Picturebox control to a project.
  • Data Validation Controls in ASP.NET 2.0Apr 11, 2008. In this article, you will learn about the support that ASP.NET provides to you for performing data validation.
  • Multiple Active Result Sets (MARS)May 12, 2008. This article gives you information about the Mars a feature supported by MSSqlServer 2005 and .Net 2.0/3.x, which is a feature to execute more than one query with one single connection to database.
  • Using LINQ to Objects in C#May 26, 2008. This article provides an introduction to employing LINQ to Objects queries to support a simple win forms application; the article addresses the construction of LINQ to Objects statements and then goes on to describe how one might use LINQ to Objects within the context of an actual application.
  • Making Transparent Control using GDI+ and C# (Updated to NET 3.5)Jun 10, 2008. This article provides an approach to a Transparent Control that draws an ellipse with real transparent background and a brush that supports transparent colors.
  • DataPager in ASP.NET 3.5Jul 31, 2008. The ListView is a hybrid control between a DataGrid and Repeater that combines the templating of the Repeater and the editing features of the data grid, but doesn't support paging, so the DataPager serves as an external control to provide paging features.
  • Data Binding in WPF ControlsAug 11, 2008. This article shows how to add data binding support among controls in WPF.
  • Error 501/505: Not implemented or not supported.Sep 14, 2008. Read this article if you are getting Error 501 not implemented or not supported.
  • The "SplashScreen" parameter is not supported by the "MarkupCompilePass1" ErrorNov 26, 2008. You get the "SplashScreen" parameter is not supported by the "MarkupCompilePass1" error message when create and run WPF applications in Visual Studio 2008 SP1.
  • Support Mobile Browsers with Browser Detection and Redirection Using C#Dec 19, 2008. This article addresses an approach to determining the type of browser used to display a web page within the context of building an ASP.NET application that supports both mobile and standard desktop browsers.
  • Custom Theme Creation and applying in SharePoint (MOSS 2007)Jan 05, 2009. This article will explain step by step procedures to create a custom site theme and how to apply custom site theme to SharePoint site.
  • Site Definition in SharePointJan 08, 2009. This article will explain about Site Definition, why we do need custom site definition ?and how to create and deploy a custom site definition.
  • SharePoint Quick Start FAQ: Part IJan 13, 2009. Below is quick start FAQ for people who are new to share point. We will warm up some theory in the first two articles and then do some practical on the same lines.
  • SharePoint Quick Start FAQ: Part IIJan 14, 2009. In the previous session of SharePoint article we had discussed about the basics of SharePoint. In this session we will - create site / site collection, understand the ready made functional reusable modules, learn how we can display a simple page and later apply master pages of SharePoint, host a Inline code and behind code page in SharePoint, understand the concept of features and understand step by step how to enable / disable a feature, how do display a feature in Admin.
  • 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.
  • SharePoint Customization Tricks: Part IJan 20, 2009. This multipart series of articles is intended to help you get ramped up with SharePoint customizations. In this article we will see how to hide List View Toolbar Menu Items.
  • SharePoint Customization Tricks: Part IIJan 26, 2009. In this article, I'll show you another two tricks for customizing the list form toolbar.
  • 6 basic steps of how to create a WebPart in SharePointJan 26, 2009. This is beginners tutorial of how to deploy a WebPart in SharePoint. It is a 6 step procedure and this tutorial will walk through the same. In case you are fresher to SharePoint you can read my FAQ articles listed below. I am sure within an hour you can get acquainted to SharePoint and get started.
  • SharePoint Customization Tricks: Part IIIFeb 05, 2009. This multipart series of articles is intended to help you getting ramped up with SharePoint Customization.
  • BizTalk OrchestrationsFeb 06, 2009. In this article, I will cover one important component of Microsoft BizTalk Server, the orchestrations. Basically an orchestration is the executable code to run a workflow supporting a business process. Orchestration interacts with outside entities by using the ports. All these things together are a powerful tool to perform process automation.
  • SharePoint Quick Start FAQ - Part 4Feb 07, 2009. This is my fourth series of SharePoint Quick Start FAQ. In this series the theme is WebPart , WebPart and WebPart J.  So let’s enjoy the WebPart bonanza.
  • WSS 3.0 InstallationMar 05, 2009. This step by step guide shows how to install Windows SharePoint Services 3.0.
  • 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.
  • SharePoint workflow basicsApr 08, 2009. In this article we will understand the basics of sharepoint workflow , the life cycle of sharepoint work flow and finally we implement a simple work flow using the three-state work flow which is available in share point.
  • SharePoint Quick Start FAQ: Part VApr 09, 2009. This is the 5th tutorial of SharePoint FAQ series. This series will mainly concentrate on custom columns, content types and document list library. I am sure once your read this article your thinking of how SharePoint organizes document centralization will change.
  • 8 Steps to create workflows using SharePoint designer Apr 15, 2009. Workflows are now an integral part for any project. You can build a SharePoint work flow using the available templates, SharePoint designer and using visual studio 2005 / 2008. This tutorial will mainly concentrate on work flow creation using Sharepoint designer. We will walk through the basic 8 steps needed to create work flows using Sharepoint designer.
  • Customize Site Action Menu in SharePointApr 22, 2009. This article shows how to Create Customize Site Action Menu in you SharePoint site.
  • Display information of current login user in sharepoint siteApr 23, 2009. This article shows how to display the credentials of the logged in used in Sharepoint.

About SharePoint-support

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