C# Corner

Resources  
  • Using the ref ParameterMar 06, 2001. The ref keyword on a method parameter causes a method to refer to the same variable that was passed as an input parameter for the same method. If you do any changes to the variable, they will be reflected in the variable.
  • 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".
  • Naming Guidelines in .NETApr 20, 2001. Commenting and following a uniform naming guidelines in your code is one of good programming practices to make code more useful.
  • 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.
  • 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.
  • The out and ref Paramerter in C#Jun 12, 2001. The out and the ref parameters are used to return values in the same variables, that you pass an an argument of a method. These both parameters are very useful when your method needs to return more than one values.
  • Using ref and out ParameterJun 20, 2001. When we pass a parameter as ref to a method, the method refers to the same variable and changes made will affect the actual variable.
  • What & Why : Properties :: Part 2Jul 09, 2001. In the part 1 of this series, I discussed about the get method of the properties, with the help of which you can make your variable so that nobody can modify the value of the variable.
  • Is there any need to Boxing and UnboxingSep 21, 2001. With Boxing and unboxing one can link between value-types and reference-types by allowing any value of a value-type to be converted to and from type object. Boxing and unboxing enables a unified view of the type system wherein a value of any type can ultimately be treated as an object.
  • 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.
  • 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.
  • .NET Static Variables : Better than Application!Feb 22, 2002. In traditional ASP, we always had the Application object to store application-wide variables in.
  • A Shaped Windows Forms Application with Variable OpacityMar 11, 2002. This application demonstrates two simple techniques that beginners might find useful in developing creative new looks for Windows applications.
  • Using DTS from C#Sep 16, 2002. In this article I will concentrate on enumerating, executing and changing properties or global variables of DTS package.
  • 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.
  • J2EE to .NET Migration: Quick TipsMar 26, 2003. Here are some Quick tips to get you started, in case you need to migrate a J2EE based application to a .NET based application.
  • Basics of Extending Your Working Environment in Visual StudioApr 10, 2003. All of us have used Macros in Microsoft Office and Add-ins in Visual Studio 6 and I am very sure all of us have been impressed as well by their power to control their own working environment.
  • Storing Data in C#Sep 17, 2003. In this article, we will talk about C# data types and how data storage works with different types of data types.
  • Difference between passing reference types by ref and by valueSep 02, 2004. We all know the difference between passing value types byval and byref, if the variable is passed byval any change to the variable value in the called function is not reflected back in the callee.
  • Will swap work if C# Manipulates Objects by Reference?Feb 15, 2005. C# does manipulate objects by reference, and all object variables are references. On the other hand, C# does not pass method arguments by reference; it passes them by value. Thus, a regular swap method will not work!
  • Out and Ref Parameters in C#Feb 27, 2005. The out and the ref parameters are used to return values in the same variables that you pass an an argument of a method.
  • Learning Delegates in C#, an IntroductionJan 03, 2006. There is this thing in C# called a delegate, which is going to be crucial to build interactions between our objects. What’s a delegate, you ask? Good question. A delegate is a pointer to a method. What’s that mean? Just like you can pass variable by reference, you can pass a reference to a method. Let me give you an example.
  • Types of VariablesJan 14, 2006. In this article we'll cover the behaviors of variables to Reference Types.
  • C# Heap(ing) Vs Stack(ing) in .NET: Part IIJan 15, 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 I'll cover some of the behaviors we need to be aware of when passing parameters to methods.
  • C# Heap(ing) Vs Stack(ing) in .NET: Part IIIJan 15, 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 cover an issue that arises from having reference variables in the heap and how to fix it using ICloneable.
  • 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.
  • Using static variable and Activated Event for Building "Home" Button of Windows applicationApr 10, 2006. In this tutorial I will share experience how , just with the help of a few clicks and a few lines of code , to build a windows application with "Home" button, that allows to return to "Home" form (in fact to close all opened forms by one click) . The examples are written using C#.
  • 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.
  • Working of Reference Type and Value TypeSep 18, 2006. This article shows you all the difference between reference and value type variables.
  • Tip related to sub containers and SqlDataSourceDec 06, 2006. This article provides some tips when working With Master page or SqlDataSource insert function In VS 2005.
  • Database connection object with application-wide scopeJan 02, 2007. This article describes a class that can be placed in a Visual Studio C# project that makes a connection object available to any of the other classes in the project.
  • 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.
  • F# Tuples and Binding (and more Binding)Mar 26, 2008. Binding in F# is similar to using variables in C# but there are some big differences. This article discusses one of the most used keywords in F# for binding ("let") and how it is different than setting a C# variable. I also cover the tuple F# data structure.
  • Simulating Autonomous Transactions in Microsoft SQL ServerOct 10, 2008. In the article, I will cover how to use table variable techniques in order to simulate the autonomous transaction behavior of Oracle databases in Microsoft SQL Server.
  • ASP.Net Worker Process and ISAPINov 28, 2008. The "Process" which is responsible for processing Asp.net application request and sending back response to the client , is known as "Worker Process". All ASP.NET functionalities runs within the scope of this process
  • Introduction to Visual Studio Add-insMar 03, 2009. This article explains about Visual Studio 2008 Add-ins.
  • Introduction to Interfacing Win Forms with VS Add-insMar 04, 2009. This article explains about integration of Windows Forms with Visual Studio Add-ins.
  • 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.
  • Singleton PatternJun 09, 2009. In this article we will implement Singleton pattern to maintain global variables in Winform application.
  • Cracking the PMPJul 30, 2009. With adequate planning and preparation the PMP examination can be cleared. This article provides a detailed approach to crack the exam based on the author’s practical experience and common pitfalls one should avoid.
  • 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.
  • Using Table Variables Instead of Temporary Tables in SQL ServerOct 23, 2009. This article demonstrates how to use Table variables in SQL Server instead of temporary tables.
  • Variables in C#Nov 17, 2009. In this article I will explain about variable in C#.
  • C# 3.0 New Features: Part INov 26, 2009. This article explains about the new features introduced in C# 3.0 with sample codes.
  • Debugging and Tracing in C# Feb 04, 2010. In this article I will explain you about the Debugging and Tracing in C#.
  • Creating a Scope and Tab for MOSS Search CenterFeb 17, 2010. Making the scope available, and then the creation of not just one, but two tabs in Search Center along with ASPX pages. Before beginning, this article assumes that you already have the Shared Services Provider (SSP) properly set up and that you have a "Search Center with Tabs" site available in your portal.
  • How to Create Session Variable without Cookies?Mar 05, 2010. In this article you will learn how to Create Session Variable without Cookies?
  • 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.
  • Temporary Table vs Temporary Variable in SQL ServerJun 11, 2010. We have seen lot of difference between temporary variable and temporary table. Here is a nice difference in Transaction perspective.
  • Scope and Type of Variable and Performance in GDi+Jul 05, 2010. In this article you will learn how to Scope and Type of Variable and Performance in GDi+.
  • Consming SAP Web Services and .NET Aug 18, 2010. The scope of this document is to describe integration of SAP Web Services and Microsoft .NET using Microsoft Visual Studio.
  • 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.
  • Performance of If-else if tree vs. Switch (multiple variables) in C#Sep 28, 2010. This article demonstrates multiple ways to implement if-else if tree, when there are multiple values to check, and compares their performance to a switch.
  • Values caught in intervalsOct 26, 2010. In this article we will see how to set your variables in defined interval or range.
  • Using statement in C#Nov 22, 2010. The using statement defines the scope of the object/resource.
  • Difference between value type and reference typeDec 02, 2010. This article tells us the difference between value type and reference type variables.
  • Indexing Table Variables in SQL ServerDec 08, 2010. In this article you will learn how to use Index Table variables in SQL Server.
  • Deferred Execution and Immediate Execution in LINQDec 31, 2010. Deferred Execution executes a query only when a loop starts. What I mean here is that, we iterate through the query variable to get the result.
  • Variables and Function in F#Jan 13, 2011. This article shows how to define variables and functions with the let construct in F#.
  • Difference Between Temp Table and Table VariableJan 20, 2011. This article explains the basic differences between table variables and temp tables. Because these things are mostly and widely used for temporary storing mechanism in the stored procedures in sql.
  • String Concatenation and Scope Resolution Operator in SQL Server 2008 R2Mar 03, 2011. Here you will learn String Concatenation and Scope Resolution Operator in SQL Server 2008 R2.
  • Programmatically create, modify and delete search scope display group in SharePoint 2010Mar 04, 2011. In this article we will be seeing how to create, modify and delete scope display group using c# in SharePoint 2010.
  • Search Scopes in SharePoint 2010Mar 04, 2011. In this article we will be seeing about search scopes in SharePoint 2010.
  • Using powershell create, modify and delete search scope display group in SharePoint 2010Mar 07, 2011. We will be seeing how to create, modify and delete scope display group using powershell script in SharePoint 2010.
  • Calling Unmanaged Functions Which Take a Variable Number of Arguments From C#Mar 29, 2011. Many C# programmers are familiar with the Platform Invoke mechanism (using the DllImport attribute) for calling unmanaged functions from C#.
  • Constructors in C#Apr 26, 2011. A constructor is a special method available under every class responsible for initializing variables of the class.
  • Variables And Data Types in JavaJul 01, 2011. Some more Java basics for Java neophytes; this article is about the variables and primitive data types in Java.
  • The Concept of Functions And Variables in F#Jul 05, 2011. In this article you will learn about Functions and Variables of F#. This is for the people who want to have a Quick Review.
  • Display Data From Database Through Servlet And JDBCJul 27, 2011. Here I will show you how to display data from a database through servlet and JDBC
  • Storing Compilation And Deployment of a Java ServletJul 27, 2011. It is technology to create dynamic WebPages. This is a Java program, which resides in a web server to process requests from the user and to provide a dynamic response to users.
  • Display Records of Combobox in JavaJul 29, 2011. This Java servlet will show a job to the user through a ComboBox and display the corresponding records of an employee table in tabular structure after choosing the job.
  • Object Initializer in C#Jul 29, 2011. Here you will learn some new features in C# 3.0 ike Object initializer, implicitly typed variables, extension methods, anonymous types, object initializer, Collection initializer, and automatic properties.
  • Ins Tag in HTML5Aug 02, 2011. The ins tag defines text that has been inserted into a document.
  • Fetching Value of Form Field Using Java ServletAug 29, 2011. In this article you will learn how a Java servlet can fetch a value of a form field by using getParameter() method of the servlet request.
  • Finding value of initial parameter in servletAug 29, 2011. In this article you will learn the process to read value from web.xml file into the servlet.
  • User Tracking Servlet in JavaSep 06, 2011. Here we will discuss about Url rewritting; a process to create an explict querystring with the help of a hyperlink.The href attribute of <a> tag can contain path of the destination with the querystring.
  • Cookies Servlet in JavaSep 07, 2011. In this article we will know how to use cookies in servlet.
  • Sesion Servlet in JavaSep 07, 2011. In this article we will know how to use session servlet in Java.
  • Permanent servlet in JavaSep 07, 2011. In this article we will know about the Permanent servlet.
  • How to Access Environment Variables in VisualCOBOLSep 07, 2011. The purpose of this article is to provide the reader with an example of how to read and set environment variables from within a managed COBOL environment. We will utilize a WinForm to provide our user interaction.
  • Hidden field in ServletSep 08, 2011. In this article we will discuss about the use of the hidden field in Servlets.
  • Filter Servlet in JavaSep 09, 2011. In this article we will know the use of filter in Servlets.
  • Create a Content Source Scope Rule in SharePoint 2010 using PowerShellSep 12, 2011. In this article we will be seeing how to create a Content Source Scope Rule in SharePoint 2010 Enterprise Search Service Application using PowerShell.
  • Create Scopes in SharePoint 2010 using PowerShellSep 12, 2011. In this article we will be seeing how to create Scopes in a SharePoint 2010 Enterprise Search Service Application using PowerShell.
  • Introduction of JSP (Java server pages)Sep 15, 2011. It is a mechanism to create dynamic web pages by using servlet behind it. Whenever a user comes to access the JSP then the web server converts the JSP into a servlet for processing the request and providing response.
  • Scope of Variable in ServletSep 19, 2011. Servlets can use four types of scope for the variables.
  • Introduction to F#Oct 05, 2011. F# is a multi-paradigm .NET language explicitly designed to be an ML suited to the .NET environment. or, F# is a functional programming language that runs on Microsoft's Common Language runtime and the .NET Framework.
  • Creating Generic Enums using C#Oct 11, 2011. An enum variable can then be set to any one of these constants or (in the case of ‘Flags’ enums) to a meaningful combination of them.
  • Windows Azure - SQL Azure - Using ADO.NET Entity Framework - Creating DataModelOct 23, 2011. ADO.NET Entity Framework is an ORM (Object Relational Mapping) framework from Microsoft. In this article we have explored the scope of using ADO.NET Entity Framework on SQL Azure.
  • Introduction of Servlet in JAVAOct 31, 2011. In this article you will learn the concept of Servlets in JAVA.
  • Session and Application in ASP.NETNov 01, 2011. This article shows the use of session and application level variables in ASP.NET.
  • Servelt Application using Eclipse IDENov 01, 2011. This article is regarding development of a Servlet applications on Eclipse IDE.
  • How to Retrieve data from an HTML page using a ServletNov 02, 2011. In this article you will learn how to Get data from an HTML page in a servlet.
  • DataBase Connectivity and validation of data from Oracle Database in JAVA ServletNov 06, 2011. In this article you will learn how to connect to a Database and validate the data in a Java Servlet.
  • Session Management and Cookies in JAVANov 09, 2011. In this article you will learn about Session Management and Cookie. Also Session Tracking by using Cookies in Java.
  • .NET 3.0 & 3.5 New FeaturesNov 12, 2011. This article is very useful to understand the features of C#. There are many features like Auto implemented property. Anonymous types, Partial methods, object initializes, implicitly typed local variables.
  • Audio tag in HTML5Nov 22, 2011. This new element allows you to deliver audio files directly through the browser, without the need for any plug-ins. embedding the audio file into a web page via the src attribute.
  • Naming, passing data and capturing variables in ThreadNov 26, 2011. We know that every thread has a name property that you can set for the benefit of debugging. Thread’s name is displayed in the threads window and debug location toolbar.
  • Session Management Using URL Rewritting Instead of CookiesNov 28, 2011. URL rewriting provides you with another session tracking alternative that can be substituted automatically when the server detects that the browser does not accept cookies. URL rewriting involves encoding the session ID into the hyper-links on the Web pages that your servlet sends back to the browser

About Scope-of-Variable-in-Servlet

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!
VSLive! Anaheim