C# Corner

Resources  
  • Serializing Objects in C#May 14, 2001. In simple words serialization is a process of storing the object instance to a disk file. Serialization stores state of the object i.e. member variable values to disk. Deserialization is reverse of serialization.
  • Transaction Web SiteMay 16, 2001. When I started working with this technology I faced a problem dealing with session as in any transaction or Database oriented portal this is a must requirement to deal with.
  • C# Discussion Forum from Harrison LogicJan 29, 2002. Threaded Discussion Forum that utilizes the .NET framework, with C# as the ASP.NET server side language. Uses MS Access Database for data.
  • Saving and Restoring Location, Size, and Window State of a FormMar 01, 2002. This article presents a simple C# class that may be added to a form to automatically do this. When I designed this class I wanted to be able to add it to a form using the least amount of code and also be able to add it to a form from the toolbox.
  • Multithreading Part 2: Understanding the System.Threading.Thread ClassApr 08, 2002. In this article we will study the .NET threading API, how to create threads in C#, start and stop them, define their priorities and states.
  • Multithreading Part I: Multithreading and MultitaskingApr 08, 2002. In this and a series of articles that would follow, we would learn about threads and how to write multi-threaded programs in C#.
  • Tracking your lottery pick on the Web Using .NETApr 29, 2002. A few weeks ago, the New Jersey State lottery was up to 300,000,000 dollars.
  • .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.
  • Mail Checker 1.0Jan 16, 2003. In this article, author shows how to create a program to check your IMAP mail.
  • Telnet Scripting in C#Jan 28, 2003. This library, written in C#, expands on some telnet code from various other sources, presenting the caller with a number of functions handy for scripting telnet sessions (i.e. SendMessage, SendAndWait, WaitAndSend, WaitFor).
  • DTS Custom Task in C#Jan 28, 2003. During last year I wrote an article about DTS and how to use it in C#. In that article I stated that I didn’t manage to solve the problem related to CustomTask. Today I finally forced myself to tackle that problem again and here is the result. Writing simple CustomTask in C# is the easiest part.
  • DataGrid and CheckBox ControlsJun 17, 2003. How to have checkbox that is checked or unchecked depending on a field value stored in the Database, and then allow the user to click on it and record the new checkbox state in the database.
  • Changing the default limit of 25 threads of ThreadPool ClassJun 19, 2003. The Threadpool is useful for managing threads that are usually in a wait state and that take only a short amount of time to do their work. If still you would like to change the default limit of 25 threads then here you go.
  • Creating Word Find Puzzles for the Web in C# and GDI+ Part IIOct 06, 2003. In our last article we showed you how to create Word Find Puzzles inside of a Windows Form. This article will show you the migration process of bringing it over to an ASP.NET application.
  • 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.
  • Live Communication Server 2003 v 1.0Mar 12, 2004. Live Communication server enhances the power of instant messaging and real-time communications to improve employee productivity. It is based on industry-standard protocol and offers secured messaging. It is an extensible system which enables the people to communicate and collaborate on various medias.
  • Introduction to GDI+ Transformations Apr 01, 2004. A transformation is a process that changes graphics objects from one state to another. Rotation, scaling, reflection, translation, and shearing are some examples of transformation. Transformations can be applied not only to graphics shapes, curves, and images, but even to image colors.
  • Building and Using Asynchronous Web ServicesApr 16, 2004. In this article I will show how to build and use asynchronous Web services in your application and how you can use the callback method to make your application work in asynchronous state.
  • Session State Management in Application having ASP and ASP. Net PagesFeb 15, 2005. If we are developing a web application in which both ASP and ASP.NET pages resides, then passing session information from ASP to ASP.NET page or vice versa becomes a critical issue. To share session state between ASP and ASP.NET pages, session state need to be stored in some common format like in database.
  • Session Management in Web Garden Using Custom Components May 17, 2005. This article provides an insight on creating a custom Session Manager component using C#.
  • Session Management in Web Garden using Custom ComponentsMay 17, 2005. This article provides an insight on creating a custom Session Manager component using C#.
  • Using the AnyButton to Create Dynamic Image ButtonsJun 07, 2005. This article describes how to use the AnyButton server control and explains a few extra features.
  • ASP.NET Session StateSep 21, 2005. Session state is nothing more than memory in the shape of a dictionary or hash table, e.g. key-value pairs, which can be set and read for the duration of a user's session.
  • Template for Designing Web ApplicationNov 14, 2005. This article explains to develop a web application with ease and make it more robust and scalable.
  • Important Aspects about ComponentsJan 12, 2006. In this article, I wil discuss some properties and key definitions about component programming.
  • How to get Security UserId after windows Starts a Session Feb 23, 2006. This article explains how to get the security userid after a succesful login when windows starts the session for authenticated user.
  • C# 2.0 Yield Return IteratorApr 04, 2006. One interesting new feature of the C# 2.0 is the “yield” keyword. Basically it is used to iterate through objects returned by a method. It creates a state engine in IL so you can create methods that retain their state and don’t have to go through the pain of maintaining state in your code.
  • 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.
  • Controlling Window State Of Other Applications using C#Jun 26, 2006. This article shows how you can control window state of any other application using C#.
  • Monitor and Display CPU State InformationDec 18, 2006. This article describes a quick and simple approach to displaying information about the state of the CPU or CPUs on a targeted machine.
  • ASP.Net State Management TechniquesJan 02, 2007. This article gives brief introduction to various state management techniques in ASP.NET.
  • Power Management From a Windows Forms ApplicationJan 17, 2007. This article describes how to place the computer into a power management suspend state, and how to put the computer into a power management related hibernate state.
  • The Difference Between the Two GOF Patterns "Strategy" and "State"Jan 18, 2007. The GOF Strategy and State patterns are remarkably similiar and it is really only a minor implementation detail that distinguishes the two.
  • Maintain Control State in ASP.NET 2.0Jan 29, 2007. This article describes a simple approach to maintaining control state in an ASP.NET 2.0 custom web control.
  • Monitor Internet Connection StateFeb 09, 2007. This article describes an easy approach to building two controls used to monitor the status of an internet connection and provide the user with some indication of that status.
  • 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.
  • Serialization in C# and .NETJun 28, 2007. Serialization is a process through which an object's state is transformed into some serial data format, such as XML or binary format.
  • 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.
  • Read Asp.net Request Param and Session dynamically into propertiesOct 04, 2007. This Article shows how you can use Attributes and Reflection to dynamically populate property with value from param, session or context without writing any addition code. I have used this technique in past and I hope you will also find it useful.
  • Enumerable, Enumerator, and Yielding a "Free" State MachineApr 15, 2008. In this article we look at the power of the "yield" keyword in C#.
  • Save the application settings for subsequents sessionsApr 19, 2008. It is very important to save the application settings established by the user in the current session, in order to avoid the application pattern establishment for each time a new session is opened.
  • Save the application settings using VS2005 for subsequent application sessionsApr 21, 2008. It is practical to save some usefuls data that can be kept in a separate file when the application is out of the service.
  • Save TreeView Nodes ExpansionJun 24, 2008. We frequently use an ASP.NET TreeView as a navigation menu. This works well on a single page but if you include the control on a Master Page, it looses its expansion state as you move from one content page to another.
  • State Management is Silverlight using Isolated StorageJul 28, 2008. State management is the process to maintain state and page information over multiple requests for the same or different pages. State management in Silverlight 2 can be done using the concept of Isolated storage.
  • Silverlight Tutorial: Using the Visual State Manager to create an animated navbarAug 07, 2008. This article provides a step by step tutorial on using the Visual State Manager to create a nifty animated navigation bar
  • Writing GIS and Mapping Software for .NETAug 20, 2008. In part three of the series, the authors of the "GIS.NET" mapping component for .NET explain how to write a geographic mapping engine which can display geographic coordinates. Source code is provided which can pan and zoom a sample geographic object (the state of Nebraska) in C# and VB.NET.
  • Silverlight Tutorial: Creating a skinnable custom controlAug 21, 2008. This is a step by step guide on how to make an animated navigation bar using the visual state manager, turn that animated navigation bar into a skinnable custom control, and use that custom control and skin it, if desired
  • Getting started with the Workflow FoundationOct 21, 2008. This article shows how to get started with the Workflow Foundation in .NET 3.5 and Visual Studio 2008.
  • 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.
  • Caching FAQ's: Part IJan 22, 2009. In this section we will touch base on one of important concepts in .NET Caching.
  • REST FundamentalsFeb 04, 2009. REST stands for Representational State Transfer, is an architectural style where you can build the software system in which clients (user agents) can make requests to the services [end points]. REST one of the ways to implement the client\server architectural style. REST can be used to build software applications in which clients can make requests of services.
  • Session Timeouts Causes and RemediesFeb 19, 2009. In this article I present a brief checklist that may come in handy while dealing with Session Timeouts in ASP.
  • Unified Modeling Language (UML): Part IIFeb 27, 2009. This is second part of the series of articles on Unified Modeling Language (UML).
  • State Machine Work flow DiscussionMar 14, 2009. This is a nice talk between Mr. RC and Mr. Shiv about state machine work flow. RC starts talking about an order project and they end up in a nice discussion which gives us step by step approach of how to execute a state machine work flow.
  • 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.
  • BackUp Device in C# .NetApr 21, 2009. The attached project is a utility that allows you to take a backup and restore to the previous state of a SQL Server database.
  • Analizing data to best customers using Crystal ReportsMay 22, 2009. In the sales analysis, there is a principle named the Pareto principle also known as the 80-20 rule. The 80-20 rule states that 80% of the effects come from the 20% of the causes and then the remaining 20% effects come from 80% of the causes. Pareto observed that 80% of the land in Italy was owned by 20% of the population. One example in the IT world is that Microsoft has noted that 20% of the most reported bugs are the causes of the 80% of the errors or crashes of the systems. After Pareto observed this principle, a lot of application appeared. One of the most common applications of the Pareto principle is in the sales analysis. Companies perform analysis in their sales orders in order to discover the best customers, that is, the 80% of the sales come from the 20% of the customers. In this article, I will show how to perform a sales analysis using Crystal Reports. For this example, we will use the AdventureWorks database shipped with SQL Server 2005.
  • MVC Declarative BindingJun 08, 2009. One of the things that makes the bar to implement any “MVC-ish” pattern high is the tremendous amount of plumbing required just to get started in order for the different entities to communicate state changes. This article introduces a utility library that can be used to declaratively bind the model and view encapsulating all the wiring required and making implementation much easier.
  • Instance Management in WCF Part # 2Jun 23, 2009. This article is part # 2 of Instance Management in WCF. This article will explain Session Full Instance management service. This will explain different Session Mode at Contract level. This will explain Per-session service also. This article will be explaining Session Full Service with a code also.
  • Instance Management in WCF Part # 4Jun 25, 2009. This article is part # 4 of Instance Management in WCF. This article will explain how to work with Session ID in WCF. This article will give theoretical introduction and explanation of coding sample also. It will explain 2 full coding sample that how to work with Session ID in WCF.
  • Animating States of Button In Blend 3Jul 12, 2009. Creating a Custom Button and changing the State Animation in Blend 3 in Silverlight
  • Developing a New Control Using VSM in Silverlight 3Jul 31, 2009. Silverlight provides a Visual State Manager (or VSM) that manages different states as users interact with controls. For example, you might want to change the background of the Button as the user mouses over it and make it look slightly bigger or smaller when a user clicks it. All of this can be done using the Visual State Manager. The discussion that follows will walk through show how custom templates and VSM states can be created visually.
  • Session ObjectAug 10, 2009. The Session object is used to store information about a user. The information is retained for the duration of the user session. Variables stored in the Session object are not discarded when the user browses from one page to another, they only destroyed when the user abandons the session or the session time out.
  • State Management in ASP.NetAug 24, 2009. In this article we will see different methods of State Management in ASP.Net.
  • Chess Knight Tour with C# and GDI+Aug 31, 2009. In this article you will learn how to wrap the Graphics object to create a Board class to render and maintain the state.
  • One Way Operation in WCFSep 08, 2009. This article will discuss about One Way Operations in WCF. I am also going to explain One Way Operation with Session full service pros and cons.
  • ASP.NET Web Configuration FileNov 11, 2009. In this article I will explain you about ASP.NET Web Configuration File.
  • Cookies in ASP.NETNov 11, 2009. In this article I will explain you about cookies in ASP.NET and how to use them.
  • Application State in ASP.NETMar 05, 2010. Application state is used to store data on the application machine. It works as a global variable in other programming languages. Application variable is an object that is shared by the multiple sessions. We can use application variable within page, HttpHandler and Global.asax.
  • How to Create Session Variable without Cookies?Mar 05, 2010. In this article you will learn how to Create Session Variable without Cookies?
  • Graphics States in GDI+ Mar 24, 2010. In this article I will explain about understanding Graphics States in GDI+.
  • Saving and Restoring Graphics States in GDI+ Mar 26, 2010. In this article I will explain about Saving and Restoring Graphics States in GDI+.
  • Test-driven development approach for database applicationsMay 10, 2010. In this article, I will show how programmers can use the test-driven development approach to test enterprise solutions and its underlying data layer which should also support transactions in order to manage persistent data and leave the database systems in correct states.
  • Set a Button State in C#May 18, 2010. This code snippet shows how to set a button state in Windows Forms.
  • Persisting info into session using JavaScriptMay 24, 2010. In this article we will see how to persist info into session using JavaScript.
  • 3 Ways to Do WCF instance Management (Per call, Per session and Single)Jun 07, 2010. Many times we would like to control the way WCF service objects are instantiated on WCF server. You would like to control how long the WCF instances should be residing on the server.
  • How to: Create multiple rows of controls in ASP.Net Jun 09, 2010. This articles illustrates how to create multiple rows of controls in an asp.net web page dynamically using C# code with the help of a Panel, table, Session and ViewState.
  • Global.asax in ASP.NET for locking web pages, security and license management systemJun 21, 2010. In this article we will see that global.asax file events. So we can use this every web application for application control, state and Application management , locking web pages , security of web application and license management system.
  • New Features of ASP.NET 4Jul 03, 2010. In this article, I want to give an overview of the new features of ASP.NET that are included in the .NET framework 4 and Visual Studio 2010.
  • Transaction and Sessions in Windows Communication FoundationJul 16, 2010. In this article, I am going to show step by step approach using Transaction and Sessions together in WCF.
  • Introduction to Session Initiation Protocol (SIP)Aug 02, 2010. In this article I will provide you an introduction to Session initiation protocol (SIP).
  • Three State Work flow in SharepointAug 18, 2010. Here I am showing you how to use sharepoint default work flow named three state work flows.
  • GridView Sorting, Paging without using Session, ViewState or CacheAug 29, 2010. In this article you will learn how to use GridView Sorting, Paging without using Session, ViewState or Cache.
  • MSChart State ManagementAug 30, 2010. MSChart have a problem of maintaining data state during post back. When a post back happens the Chart will get blank or data get cleared.
  • Code Review and Code Optimization - ASP.NETSep 03, 2010. In this article you will learn how to use Code Review and Code Optimization in ASP.NET.
  • Observer Design PatternSep 20, 2010. The Observer pattern defines a one to many relationships between objects so that when one changes its state, all the others are notified accordingly.
  • Session Variables as ObjectsSep 22, 2010. Everyone uses session variables at some point in their career. What I am doing is offering what I feel is a better way to deal with session variables.
  • Maintaining Session from the Client Application to the Web ServiceSep 23, 2010. This article is based on maintaining session from the client application to the Web Service.
  • ASP.NET Session and web.config explainedNov 12, 2010. In this article I will explain about ASP.NET Session and web.config.
  • Work with Template, Visual Tree and Visual State Manager in Windows Phone 7Jan 03, 2011. This article will demonstrate how to write templates by hand so you’ll be in a better position to understand Expression Blend output if you later decide to go that route.
  • Navigation in Silverlight Without Using Navigation Framework Jan 07, 2011. Silverlight 3 introduces Navigation Framework which takes care of this, but let's first try to achieve navigation and state management without this framework; or you can say, the way it is done in Silverlight 2.
  • Application Level State Management in ASP.NETJan 10, 2011. Application Level State Management is used to maintain the state of all the users accessing the webforms present within the website.
  • Data Binding in Silverlight with RIA and Entity Framework (Updating Data)Jan 17, 2011. This is a continuation of my earlier article where we discussed how to fetch and display data from a database using DomainServiceContext via entity model. Here in this article we will take the StatesOfIndia application further, where it will accept the state information to be modified as well as accept new state as addition.
  • Glass Button in Blend with MouseOver and Pressed StatesFeb 01, 2011. Glass buttons can add a lot of color to a page without carrying heavy visual weight. Creating these buttons is very quick and easy in Microsoft Expression Blend.
  • Enable Session in SharePoint 2010Feb 07, 2011. In this article I am describing how to enable Session in SharePoint 2010. It is not the same as in SharePoint 2007. It is very important when you work with session state in your custom application.
  • Memento Design PatternFeb 11, 2011. The Memento pattern is a design pattern that permits the current state of an object to be stored without breaking the rules of encapsulation.
  • State Management in ASP.NETMar 04, 2011. ASP.NET developers use various available technologies for State Management. We can classify them as client side state management or server side state management.
  • UML Diagrams: Part 2Mar 21, 2011. UML (Unified Modeling Language) is a standardized general-purpose modeling language in the field of object-oriented software engineering .
  • Looking Inside Web.Config configuration file in ASP.NET 3.5Mar 21, 2011. The web.config file contains information that controls module loading, security configuration, session configuration, and application language and compilation settings.
  • Getting Session ID in SQL Azure programmaticallyApr 13, 2011. In this article, I will show how to fetch the Session Id programmatically.

About InProc-session-state

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!
Download Free eBooks