C# Corner

Resources  
  • 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.
  • XML as Middle TierJul 12, 2001. There is always been a need that there will be an intelligent middle Layer between Database Server and the UI Code. There are many ways but one fantastic approach came in picture with the XML.
  • CDataService: A Generic Database Access ClassAug 09, 2001. Using a generic database access component in data-aware applications can simply development and separate data tier from business tier.
  • Multiple Inheritance in C#Aug 29, 2001. Can you inherit from multiple classes in C#? Simply put, this cannot be done. However there are ways around it. From a design perspective you must ask yourself, will a Class fully represent an object?
  • Customizable Generic Form Validation ControlOct 01, 2001. This control performs form validations at the client-side irrespective of the web server.
  • 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.
  • JIT CodingMar 11, 2002. One not so well known feature of .NET platform is possibility to invoke compiler and practically create code and assembly from running instance of application. It is possible to do that in two ways. First one is a bit simpler and involves namespaces System.CodeDom and System.CodeDom.Compiler, second one is more efficient and utilizes namespace System.Reflection.Emit. Since there are very few examples about how to use System.CodeDom.Compiler I will start with it.
  • Function Overriding and Its Impact During Object InitializationMar 25, 2002. Different languages have different ways to initialize an object. C# and Java both have almost similar ways to initialize an object with few subtle differences.
  • MP3 JukeBoxApr 30, 2002. This is stable code and more generic than the first release. It has better error handling now to make it more 'idiot proof'.
  • 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.
  • Writing a Generic Data Access ComponentJul 17, 2002. OK, I've received couple of emails people asking me how can they use a common data provider to access various types of data sources without loosing the power and flexibility of native data provider libraries.
  • Writing a Generic Data Access ComponentJul 17, 2002. I've received couple of emails people asking me how can they use a common data provider to access various types of data sources without loosing the power and flexibility of native data provider libraries.
  • Writing a Generic Data Access Component - Flexible ApproachJul 18, 2002. Here is one more flexible approach to achieve the same. I prefer this approach to generic data access.
  • A Generic Data Access Component using Factory PatternJul 24, 2002. Another way to solve this problem is to utilize the System.Activator class and a factory pattern to create the concrete provider classes as was pointed-out in Dan Fox's article "Design an Effective Data-Access Architecture" (.netmagazine, vol. 2, no. 7).
  • A Generic Data Access Component using Factory PatternJul 24, 2002. This article shows to utilize the System.Activator class and a factory pattern to create the concrete provider classes.
  • A Generic Data Access Component using Factory PatternJul 30, 2002. the article A Generic Data Access Component using Factory Pattern provides a very good way of creating ADO.Net data provider independent applications, but there is one problem with it. Different ADO.Net data providers use different approaches in labeling of parameters in SQL statement.
  • Master-Detail Display using Nested Repeater Web Forms ControlAug 05, 2002. In this example, we will create a web page that displays a formatted view of data with a master detail hierarchy using nested Repeater controls. We will use the Northwind sample for our example. There are many different ways to accomplish this task. We will use data binding and data relations in an effort to get a simple solution.
  • Master-Detail Display Using Nested Repeater Web Forms ControlAug 05, 2002. In this example, we will create a web page that displays a formatted view of data with a master detail hierarchy using nested Repeater controls. We will use the Northwind sample for our example. There are many different ways to accomplish this task.
  • Understanding Generic Type in C#Aug 15, 2002. Before we start tampering around the code, lets understand why we need a generic type?
  • Generating Wizards using PanelsNov 15, 2002. Wizards can be generated in different ways. This article shows you how to create wizards using panels.
  • 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.
  • 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.
  • Distributed Cross Platform Applications, the Easy Way Mar 07, 2003. There are many ways of transferring data from one process to another. All those methods have some advantages, but also some drawbacks.
  • Using Generic Algorithms to Layout Circuit BoardsApr 07, 2003. This article tells you how to use a Genetic Algorithm to optimally layout parts on a circuit board so they have the shortest connections between them.
  • 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.
  • MWControls v1.0.3.0May 05, 2003. This latest version includes Multi Select TreeView Control which lets you choose between a few different ways of selecting TreeNodes.
  • Trackbar/Progress bar with Cylinder EffectMay 13, 2003. Trackbars and scrollbars are convenient ways of displaying a data range.
  • 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).
  • .NET Class for SerializationJul 14, 2003. This article is an approach to create a generic class for the serialization.
  • Using Genetic Algorithms to Generate Evolutionary Art in C# and .NETOct 10, 2003. In this article we will experiment a bit with genetic algorithms and creating fitness functions that produce art on a Windows Form.
  • In Depth ASP.NET using ADO.NET: Part IIINov 18, 2003. In this article we will discuss a number of ways to retrieve, show, and update data with ASP.NET forms using ADO.NET. Also, we will have a clear idea about the most common server controls in ASP.NET.
  • In Depth ASP.NET using ADO.NET: Part VNov 18, 2003. In this tutorial we will discuss a number of ways to retrieve, show, and update data with ASP.NET forms using ADO.NET. Also, we will have a clear idea about the most common server controls in ASP.NET.
  • In Depth ASP.NET using ADO.NET: Part IVNov 18, 2003. In this tutorial we will discuss a number of ways to retrieve, show, and update data with ASP.NET forms using ADO.NET. Also, we will have a clear idea about the most common server controls in ASP.NET.
  • In Depth ASP.NET using ADO.NET: Part IINov 18, 2003. In this article we will discuss a number of ways to retrieve, show, and update data with ASP.NET forms using ADO.NET. Also, we will have a clear idea about the most common server controls in ASP.NET.
  • Oracle Connectivity in .NETDec 03, 2003. This whitepaper takes you through different ways of database connectivity to Oracle database from .NET. This also talks about the advantages and disadvantages of all of these technologies.
  • Paging in ASP.NETDec 09, 2003. Days are over when developers had to write complex logic for implementing paging in an ASP pages. With DataGrid control in ASP.NET, paging has become far simpler than it was in earlier ASP days. Using DataGrid control we can implement paging in variety of ways. This document discusses various ways in which we can implement the same.
  • Deployment: Customizing your .NET deployment ProjectsDec 29, 2003. The fact of the matter is that Visual Studio.NET already contains everything you need to create a rich setup experience for your users. In this article we are going to show you two ways to add a readme dialog to your application, the easy way and the hard way. The easy way requires absolutely no coding. The hard way requires coding and actually allows you to add complex custom features to your application.
  • Generic Web Service ProxyFeb 04, 2004. In this article I will explain how you can consume a web service without using the standard "Add Web Reference" in Visual Studio and how to do this without using SOAP.
  • State Management in Web FormsFeb 18, 2004. This white paper discusses the ways in which the state management can be handled in web forms. State management can be done either on client side or server side as explained below.
  • Generics in C#Mar 08, 2004. Parametric Polymorphism is a well-established programming language feature. Generics offers this feature to C#. The best way to understand generics is to study some C# code that would benefit from generics.
  • 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.
  • Generic database access with Mimer Provider ManagerMar 09, 2004. The Mimer Provider Manager uses different plugins to access different underlying ADO.NET providers. Plugins are developed for Oracle, SQL Server, ODBC, and OLE DB.
  • Retrieving Schema Information Using ADO.NET and C#Jul 06, 2004. In this article, I will describe the ways to retrieve the database schema information using System.Data.SqlClient class and the System.Data.OleDb class.
  • LDAP, IIS and WinNT Directory ServicesAug 05, 2004. Directory Services have gained a lot of traction over the last few years. Directories are repositories of information and can be utilized in many different ways.
  • Generics in C#Oct 06, 2004. Generics are the most useful C# 2.0 language extensions, beside Anonymous methods, Iterators, Partial types And Nullable types.
  • New Features in C# version 2.0 - Partial TypesOct 12, 2004. Partial types are new addition to C# language version 2.0, which is available with the .NET Framework 2.0 or Visual Studio 2005. This article discusses the partial classes and how to create and use them in your applications.
  • 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.
  • Passing Values between User Controls and ASPX PageJan 20, 2005. This article is for beginners who are learning. NET. This will be really helpful for them. Beginners will be wondered how to pass values between User Controls and ASPX page .In this article I have listed some of the ways through which you can access and set the User control values in an ASPX page.
  • 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.
  • Language Extensions in C# 2.0Apr 21, 2005. This article intends to the C# 1.x developers and covers what-why-how the new enhancement .The philosophy behind the document is to have quick update on C# 2.0 and leverage this in your day to day development work.
  • Generic Data Providers VS Specific Data ProvidersApr 23, 2005. This article explains what are the issues or options we have if we use generic data objects such as IDbcommand, Idbconnection etc in place of specific data objects such as SqlCommand or SqlConnection.
  • 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.
  • What the heck is Generics?May 20, 2005. Generics are new addition to C# 2.0. This article provides the use of generics and scenarios in which it will be useful.
  • What the heck is Generics?May 20, 2005. This article provides the use of Generics and scenarios in which it will be useful.
  • What is new in C# 2.0?May 30, 2005. In this article, I discuss new features added to C# 2.0.
  • Generic Types in C# 2.0 with SampleAug 01, 2005. This article discusses generic types available in C# 2.0. The article also shows some sample source code on how to use generic types.
  • Understanding ADO.Net Provider Factory in .Net 2.0Aug 08, 2005. This article describes the ADO.NET Provider Factory in .NET 2.0
  • Generic 'T, K' Database ComponentDec 17, 2005. I have written a C# 2.0 (Visual Studio 2005), Generic <T, K> Database component, The component has simplified the architecture and the implementation by allowing me to keep the number of overloaded methods to a minimum.
  • Revised Generic 'T, K' Database ComponentDec 20, 2005. This is the code behind the Generic 'T, K' Database Component.
  • 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.
  • Creating Custom Templates in SharePointJan 29, 2006. This article is all about creating custom templates in SharePoint.
  • Usage of doPostBack in a Real EnvironmentJan 29, 2006. Many atricles describes about "__doPostBack". But here I am trying to say some real practical ways to use it and also mentioned some precautions waant to take before use it. Believe me this article derived from my practical experience and will continue only such items from my side, as only those thing will help a developer.
  • C# Heap(ing) Vs Stack(ing) in .NET: Part IVJan 30, 2006. Having a basic understanding of how memory management works will help explain the behavior of the variables we work with in every program we write. In this article we’ll look further into Garbage Collection (GC) and some ways to keep our applications running efficiently by using static class members.
  • Generics in C# 2.0Feb 02, 2006. In this article we will see how we can use generics in C#, we have read this concept as templates in C++.
  • An Introduction to C# GenericsFeb 06, 2006. There is a reality; most of the developers confuse about C# Generics. Actually, there is no reason for that. If your background comes from C++ or Java you may understand more easily. What “Templates” tell you from your C++ knowledge or “Generics” from Java.
  • New features in C# 2.0Feb 18, 2006. In this article, I will learn about and use the new features in C# 2.0 added by the Microsoft designers, such as generics, anonymous methods, partial types, static classes, nullable types, and limiting access to properties.
  • 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.
  • Limitations of ArrayLists in C#Apr 13, 2006. This article discusses some features of ArrayLists and there shortcomings/limitations.
  • Generics in C# 2.0Apr 17, 2006. This articles comes in series with my last article - <a href= http://www.c-sharpcorner.com/UploadFile/Saurabh.Mishra/GenericsInC2PartI04122006074306AM/GenericsInC2PartI.aspx class=normal>Limitations in ArrayLists</a>. In this article, I specifically talk about Generics and how they improve upon arraylists and how they solve the issues posed by ArrayLists.
  • OnChanged Event for User ControlsMay 09, 2006. In this article I will show some ways how to create user controls with OnChanged event . The examples are written using C# for Windows applications.
  • Methods for Transforming data to a XML fileMay 16, 2006. This articles mentions different ways to tranform data to XML file.
  • A Brief Overview of Sharepoint Portal Server 2003May 16, 2006. This article is a brief introduction of Sharepoint Portal Server 2003.
  • Passing Data Between FormsMay 18, 2006. There are so many methods to pass data between forms in windows application. In this article let me take four important and easiest ways of accomplishing this.
  • An Elegant C# Data Access Layer using the Template Pattern and GenericsMay 22, 2006. The GOF Template pattern coupled with .NET 2.0 Framework generics provides an awesome synergistic alliance. This article demonstrates how to drastically reduce the amount of code required in building a data access layer. Less code to debug... less code to break... less code to maintain... what could be better?
  • Server.Transfer : Passing Values from One Page to Another PageJun 19, 2006. Some times, we want to pass values from one page to another page. There are many ways by which we can do this like: by using query string, or session variable, or Server.Transer etc. This article shows you, how to pass values from one page to another page by using Server.Transfer method.
  • Generic DataGridViewJul 05, 2006. DataGridView is a new control which is more flexible for coding than simple datagrid. However, there are a lot of developer having diffulties about DataGridView Calendar, Mask, ComboBox and also validations.
  • Sorting Collection of Custom Type using GenericJul 06, 2006. This article shows a simple and easy way to sort the business object collection using generic.
  • TDO - Typed Data Object 2.0Aug 10, 2006. Tdo – Typed Data Object is a set made up of a base classes library and a .NET 2.0 source code generator for Data Layers based on Ms Sql Server 2000/MSDE/2005/EXPRESS databases and the .NET Framework 2.0.
  • 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.
  • 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.
  • A guide to ObjectDataSource controlNov 17, 2006. One of the best new features of the forthcoming ASP.NET 2.0 will be the ObjectDataSource control. However, as I found out in my experimentation what seems like a simple control has some complex behaviours to master to get it working properly. If (like me) you have an existing data access layer you may have to make changes to be able to use ObjectDataSource.
  • Conditional Activities in Windows Workflow FoundationDec 11, 2006. In this article, we will take a look at the introductory concepts of Conditional Activities in the Windows Workflows Foundation. We will explore the types of Conditional Activities and the different ways of specifying Conditions.
  • Build Your Own Visual Studio: An Application Framework for Editing Objects at Run TimeDec 22, 2006. This article describes a generic application framework that may be of some use in projects that would need an interface similar to Visual Studio. The application demonstrates approaches to providing a toolbox, a workspace, an object treeview, and an object editor.
  • 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.
  • Building Data Access ClassFeb 27, 2007. In this article I will describe one of the ways to build data access layer component, using such feature of the VS 2005 as generic.
  • Multi-threaded Asynchronous Programming in C#... Getting started.May 12, 2007. Trying to build better solutions and growing as a developer has always been fun for me and I’m always looking for ways to build more scalability and robustness in the software I am writing. I had a revelation that I’ve been doing a lot of C# tweaking but not taking advantage of the core performance enhancements cooked right into C# and it all comes down to one thing: Asynchronous multi-threaded programming.
  • Multi-threaded Asynchronous Programming in C#. Async Database Calls. Part III.May 14, 2007. In my last couple articles we looked at basic ways to have long-running i/o bound process be handled by the ThreadPool using the asynchronous programming model. In this article we’ll take a look at coding async calls against SqlServer which really comes in handy in production environments where our database is on another machine.
  • Custom Generic EventArgsMay 14, 2007. Before .NET 2.0, I found myself frequently creating custom EventArgs classes just to return a value from an event and would end of with a lot of extra classes bloating my code base that all basically had the same purpose.
  • Programming in C#: Understanding the SortedDictionary ClassJun 21, 2007. This article illustrates a powerful collection in C#, the SortedDictionary. In the article we will discuss two ways to sort key-value pairs: using an IComparer object and using IComparable keys.
  • C# Object Instantiation: Part I. ConstructorsJun 24, 2007. There are many ways to approach object instantiation. In this article we'll cover a few of the patterns used to instantiate objects.
  • Object Instantiation in C#. Part II Factory MethodsJun 24, 2007. There are many ways to approach object instantiation. In this article we’ll cover a few of the patterns used to instantiate objects.
  • Encrypted .NET Serialization to SQLite DatabaseJun 25, 2007. Sometimes, non-enterprise applications need the ability to store encrypted data locally. We'll explore 3 ways to serialize and encrypt data to a SQLite database file with C#.
  • .NET Serialization to SQLite Database Jun 25, 2007. Most non-enterprise applications need the ability to store data locally. We'll explore 3 ways to serialize data to a SQLite database file with C#.
  • Object Instantiation in C#. Part III Abstract FactoriesJun 25, 2007. There are many ways to approach object instantiation. In this article we’ll cover a few of the patterns used to instantiate objects.
  • Object Instantiation in C# Part IV The Builder PatternJun 27, 2007. There are many ways to approach object instantiation. In this article we’ll cover a few of the patterns used to instantiate objects.

About generic-way-in-sharepoint

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