C# Corner

Resources  
  • Azure Cloud Service - Scale Out Instances Using Visual StudioSep 13, 2016. In this article, we will learn how to Scale out the instances in Azure Cloud Service, using Visual Studio.
  • Terminate Workflow Instances In SharePoint 2013 And Office 365 Using Nintex WorkflowsSep 25, 2015. In this article we will learn how to terminate workflow instance in sharepoint and Office 365 using Nintex Workflows.
  • Get All Instances of SQL Server in C#Jul 09, 2012. If you're writing a Database Manager application or simply want to retrieve all the instances,this trick might come in handy.
  • Enumerate the ALL SQL Server Instances in NetworkJun 01, 2010. In this article I will teach you how to get names and all other information of sql server instances that are in network.
  • How to Prevent Multiple Instances of Child Form in MDI Windows Form ApplicationApr 12, 2010. This article shows you how to prevent multiple instances of child form in MDI windows Form application.
  • Tutorial: Capturing and Running IE Instances in a Windows controlMar 15, 2002. In this article we are going to study how to find the running instances of Internet Explorer on your machine.
  • Enumerating SQL Server InstancesSep 08, 2009. Learn how to enumerate currently installed SQL Server instances on this machine and on the network.
  • Steps To Create List Definition And List Instance In SharePoint 2013 Using Visual StudioSep 29, 2016. In this article, you will learn how to create List Definition and List Instance in SharePoint 2013, using Visual Studio.
  • Azure Cloud Service - Scale Up Instance SizeSep 13, 2016. In this article, we will learn how to Scale up the instance size in Azure Cloud Service, using Visual Studio.
  • Throttling In WCF: Concurrent Instance and Session - Part TwoJul 20, 2016. In this article, you will learn about concurrent instance and session, using throttling in WCF.
  • SharePoint 2013: How to Start Workflow on a List Item Using Workflow Instance ServiceMay 01, 2016. In this article you will learn how to start Workflow on a List Item using Workflow Instance Service in SharePoint 2013.
  • Static Vs Instance And Constant Vs Readonly Variable In C#Mar 24, 2016. This article will give you a deeper understanding about Static variable, Instance variable, Constant variable and Readonly variable in C#.
  • Copy Data From One Instance To Another Instance In SQL ServerFeb 25, 2016. In this article you will learn how to copy data from one Instance to another instance in SQL Server.
  • SQL Server 2014 Installation StepsDec 12, 2015. This article provides a step-by-step procedure for installing a new instance of SQL Server 2014 Enterprise Edition by SQL Server setup installation wizard.
  • Different Ways To Create Instance Of The WCF ServiceDec 04, 2015. In this article you will learn different ways to create Instance of the WCF Service.
  • Elvis To Rescue From "Object Reference Not Set To An Instance Of An Object"Oct 22, 2015. The article is about using Elvis operator which is introduced in C# 6.0. It gives an example of how to use it.
  • Design Patterns: MediatorJul 09, 2015. The Mediator Pattern allows objects to communicate with each other through a common instance of a mediator class.
  • Working With Constructor in C#Jun 29, 2015. In this article we will learn about constructors in C# programming.
  • Instance Context Mode in WCFApr 06, 2015. This article will show Instance Context modes in WCF.
  • Azure Mobile Services: How to Change the DatabaseMar 18, 2015. This article shows how to replace a database with other database instances.
  • Dynamically Create Instance of a Class at Runtime in C#Mar 11, 2015. This article explains how to create an instance of a class using the class name at runtime.
  • How to Restrict the Application to Just One InstanceDec 01, 2014. This article provides an introduction to Mutexes and their usage to restrict the application to just one instance.
  • Applied C#.NET Socket ProgrammingOct 20, 2014. This article explains the key networking concepts, for instance ISO stack, of TCP/IP under the C# framework by employing its essential socket classes and how applications can logically and physically be distributed in a network environment.
  • How to Uninstall a SQL Server Instance in SQL Server 2008R2 and 2008Aug 05, 2014. This article describes how to uninstall a SQL Server instance in SQL Server 2008R2 and 2008.
  • Instancing and Concurrency in WCFJul 27, 2014. Here you will learn about Instancing and Concurrency in WCF.
  • Instancing in WCFJul 23, 2014. This article explains InstanceContextMode that determines the client proxy to communicate with the server.
  • Changing SQL Server Instance Name Using a SQL Server AliasJul 11, 2014. In this article I will explain how to change an instance name using a SQL Server alias.
  • Working With Instance and Static Data Members of a Class in C#Jul 02, 2014. This article explains instance and static data members of a class in C#.
  • Working With Proxies in Entity FrameworkJun 11, 2014. This article helps you to understand what a proxy in the Entity Framework is and how to turn on and turn off a proxy and how to create a proxy instance explicitly.
  • All About Instance Management in WCFJun 03, 2014. This article explains instance management techniques in WCF.
  • The Undocumented Sp_MSforeachdb Procedure in SQL ServerMay 27, 2014. This article explains the undocumented sp_MSforeachdb procedure in SQL server.
  • Shallow Copy and Deep Copy Using C#Apr 26, 2014. This article attempts to explain “Shallow Copy” and “Deep Copy” and the differences among them.
  • Restricting a C# Application to a Single InstanceFeb 26, 2014. This post will show how you can implement that in your windows application using C#.
  • Multithreading in C#Feb 12, 2014. Multithreading is a feature provided by the operating system that enables your application to have more than one execution path at the same time.
  • Create Site Definition With List Instance in SharePoint 2013Feb 05, 2014. In this article I provide a practical example of creating a Site Definition with List Instance in SharePoint 2013.
  • Use of Tracing in Web API2Jan 15, 2014. This article explains how to do tracing in Web API 2. Tracing is used for finding the ITracewriter instance.
  • Know The History Of Your SQL Server DatabaseNov 06, 2013. This article explains how to determine if the database was upgraded from a previous version of SQL Server or if it was created on the existing instance of SQL Server using an internal version number.
  • Startup of Database in Oracle 11gOct 15, 2013. Considering that you have installed the oracle for the first time and is about to start the database instance.
  • Variable Types in JavaOct 09, 2013. This article explains the variable types in Java and their properties.
  • 3 Techniques For Instance Management in WCFSep 10, 2013. Instance management basically defines the binding of service instance to a request received from a client.
  • Instance Modes in WCFAug 21, 2013. Instance mode is basically a service side implementation detail. It should not manifest itself on the client side.
  • SQL Server Log ShippingJun 26, 2013. It's easy to set up. A standby database is easy to maintain and troubleshoot. It can be used for reporting purposes and configured for log shipping in one or more servers, for instance.
  • Introduction To Initializer Block In JavaMay 10, 2013. This article explains how initializer blocks work in Java. We discuss instance initializer blocks in Java.
  • Secured Connection Between SQL Server and C# Using Specific PortMay 10, 2013. In this article we will discuss how get the port no of our own SQL Server instance and how to use that port in SQL Server setting and at the end how use that port in your C Sharp application.
  • Instance Constructor in C#Jan 04, 2013. In this I am going to explain instance constructors that are used to create an instance of a class and explain the different types of instance constructors
  • Implement Concrete Factory Design Pattern using Reflection in VB.NETNov 10, 2012. Reflection is used to dynamically create an instance of a type, bind the type to an existing object, or get the type from an existing object. In this example, we implement Concrete Factory Pattern using Reflection to fetch records from MS-Access and MS-SQL Database.
  • Factory Pattern in VB.NetNov 10, 2012. A Simple Factory Pattern returns an instance of one of the several classes depending upon the parameters passed to the shared/non-shared factory method.
  • JIT Coding in VB.NETNov 10, 2012. 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.
  • Use Thread Local Storage to pass Thread Specific Data in VB.NETNov 10, 2012. In an ideal world developers typically create instance variables and access these via interfaces to hold thread specific data. The .NET framework provides a mechanism to store data at a thread level and allows you to access this thread specific data anywhere this thread exists.
  • Event Handling in VB.NETNov 10, 2012. Events in the .NET Framework are based on the delegate model. Delegates are type-safe Function Pointers or Callbacks. A delegate can reference both static and instance methods.
  • Creational Pattern - Abstract Factory in VB.NETNov 08, 2012. An abstract factory provides an interface for creating families of related objects without specifying their concrete classes. Sometimes one wants to construct an instance of one of a suite of classes, deciding between the classes at the time of instantiation.
  • Delete an Orphaned Workflow in Sharepoint 2010Aug 24, 2012. In this article we explore a real-world scenario where a workflow is sending a reminder email to users and the interesting thing is that the task list & data no longer exist.
  • Spring Tutorial: Chapter 4Aug 09, 2012. Another really useful feature from the Java Spring framework for performing some initialization tasks in your class before the instance of it is ready to be consumed or used by anyone and also cleanup the resources of that class when done using it.
  • SharePoint 2010 - Create List Definition and InstanceJul 11, 2012. In this article we will see how to create a List Definition using the SharePoint user interface and Visual Studio 2010.
  • Running Single Instance of the ApplicationJul 08, 2012. This article will show you how to do it using Mutex.
  • Autoscaling Application Blocks WIndows AzureMay 17, 2012. Autoscaling Application Blocks can automatically scale the Windows Azure application based on the rules defined specifically for the application.
  • SharePoint 2010 - Creating Web ApplicationMar 06, 2012. How to create a web application in a SharePoint instance that can be used to support a new set of users.
  • Single Instance Based - Instance Management in WCF hosted on Web AppDec 20, 2011. Today, in this article let dig out some theory stuff first and later we will try to implement the studied concepts i: e Per Single based Instance Management using WCF.
  • Per Session Based - Instance Management in WCF hosted on Web AppDec 18, 2011. Today, in this article let dig out some theory stuff first and later we will try to implement the studied concepts i:e Per Session based Instance Management using WCF.
  • Per Call Based - Instance Management in WCF hosted on Web AppDec 18, 2011. Today, in this article let dig out some theory stuff first and later we will try to implement the studied concepts i: e Per Call based Instance Management using WCF.
  • Describing the Life Cycle of ServletDec 12, 2011. The Life Cycle of a Servlet involves creating an instance of the Servlet, associating the Servlet with initialization information, dispatching request to the servlet instance and finally destroying the servlet instance.
  • Action Tag: useBean in JSPNov 29, 2011. The <jsp:useBean> action tag is used to instantiate a java bean, or to locate an exisiting bean instance, and assign it to variable name or id. Bean is a reusable component which mostly contains the setter and getter values, we also called it as mutators.
  • Action Tags in JSP Nov 26, 2011. The JSP Action tags are set of some basic tags, such as inserting other page resources, forwarding the request to another page, creating and locating the JavaBeans instances, and setting and retrieving bean properties, in JSP pages.
  • Destructor in C#Nov 15, 2011. Destructors are used to destruct instances of classes. In this article you will understand how different a C# destructor is when compared to a C++ destructor.
  • Explicit Interface C#Oct 26, 2011. In this article we will see how to explicitly implement interface members and how to access those members from the interface instances.
  • WCF Instance ManagementSep 14, 2011. Instance Management is the name for a set of techniques used by WCF to bind client requests to service instances, governing which service instance handles which client request. This is a service side implementation detail.
  • ASP.NET MVC, WCF, ASP.NET Webforms, and JQueryAug 10, 2011. The sole purpose of any API within the applications I build is to deal with business layer logic and the data related to it. Ideally speaking I would want my API to return structured data which is easily transformed into a format for the client application using the API (e.g. JSON). And all my UI for web applications must be handled with client-side scripts. Client side includes both static HTML, CSS and JavaScript, and in this instance I specifically refer to JavaScript and the handling of my API’s data using JSON, for which I use jQuery.
  • Windows Azure - Fixing Reconnect Remote Desktop Error: The Specified User Name does not exist. Verify the Username and try Logging in againJul 18, 2011. In this article we are going to see how to fix the error 'The Specified User Name does not exist. Verify the Username and try logging in again' when we try to reconnect to the Remote Desktop Azure Role Instances.
  • Delegate in .NET (C#): Digging / Acquaint - Make it SimpleJul 17, 2011. A delegate is an object or instance which can hold a reference of any function or which can bind a function.
  • Windows Azure - Reboot a Running Role Instance of an ASP.Net Azure Web ApplicationJul 13, 2011. In this article we are going to see how to reboot a running instance of an ASP.Net Azure Web Application using the Windows Azure Management Portal
  • Windows Azure - Reimage a Running Role Instance of an ASP.Net Azure Web ApplicationJul 13, 2011. In this article we are going to see how to ReImage a running instance of an Azure application using the Windows Azure Management Portal
  • Initializing Windows Azure Diagnostics: Part 1May 07, 2011. Windows Azure diagnostic monitor runs in Windows Azure and in the computer's emulator and collects diagnostic data for a role instance.
  • Advantage of [ServiceDependency] in WCSF - Instance ReuseApr 06, 2011. Here we will see Advantage of [ServiceDependency] in WCSF - Instance Reuse.
  • Singleton Pattern - Creational PatternJan 19, 2011. This is a part of the Creation Pattern. This pattern ensures that you have only one instance and provides a single point of contact to access the instance.
  • Chapter 5: Consolidation and Monitoring in SQL ServerDec 22, 2010. The goal of SQL Server consolidation is to identify underutilized hardware and improve utilization by choosing an appropriate consolidation strategy. With SQL Server, hardware could be considered to be underutilized when workloads are using less than 30 percent of server resources.
  • Using reflection and attributesDec 12, 2010. Reflection provides objects (of type Type) that encapsulate assemblies, modules and types. You can use reflection to dynamically create an instance of a type, bind the type to an existing object, or get the type from an existing object and invoke its methods or access its fields and properties.
  • Chapter 3: Data-Tier ApplicationsNov 30, 2010. With the release of Microsoft SQL Server 2008 R2, the SQL Server Manageability team addressed these struggles by introducing support for data-tier applications to help streamline the deployment, management, and upgrade of database applications. A data tier application, also referred to as a DAC, is a single unit of deployment that contains all the elements used by an application, such as the database application schema, instance level objects, associated database objects, files and scripts, and even a manifest defining the organization’s deployment requirements.
  • Abstraction in C#Oct 13, 2010. The word abstract means a concept or an idea not associated with any specific instance.
  • How to: Execute only one instance of application concurrentlySep 07, 2010. There was a requirement that the application can’t run more than one instance, and if already running then show the message to the user and set that window as active. Here we will see how to do that.
  • WCF Concurrency (Single, Multiple and Reentrant) and ThrottlingJun 27, 2010. In this article we will concentrate on WCF concurrency and throttling. We will first try to understand what are WCF concurrency and the 3 important types of WCF concurrency. We will then see a small sample of WCF concurrency with single and multiple. We will then go through 9 combinations of WCF concurrency and instancing. Finally we will try to understand how to configure throttling using WCF ‘web.config’ file.
  • 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.
  • Creating a Button at Run-time in C#May 13, 2010. Creating a Button control at run-time is merely a work of creating an instance of Button class, set its properties and add Button class to the Form controls.
  • Programmatically Enumerating, Attaching, and Detaching SQL Server DatabasesApr 14, 2010. This writing is like an encyclopedia for the SQL statements and stored procedures used to enumerate, attach, and detach databases on a SQL Server instance.
  • Single instance of application in C#Mar 25, 2010. There is some application that we want that only single instance of application works at a time. So here in this article is the logic for doing that.
  • Checking Improper DISPOSE in assemblies using SharePoint APIFeb 23, 2010. In this article I will show how to check improper disposing of instance of SharePoint classes in an assembly.
  • Singleton Pattern in C#Nov 26, 2009. In this article we will see how to create a single instance of a class using Singleton Pattern.
  • 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.
  • 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 # 3Jun 22, 2009. This article is part # 3 of Instance Management in WCF. This article will explain about Singleton Service Instance mode. This article will give theoretical introduction and explanation of coding sample also. It will also discuss about various disadvantages of Singleton Service Instance mode and its potential place of uses.
  • Instance Management in WCF Part # 1Jun 19, 2009. This is first part of multi series articles. This article is giving introduction of Instance Management. This article will explain about Per-Call Instance management technique as well.
  • Singleton Design Patterns in C#Jun 08, 2009. Whenever we want that a class has only one instance and it should have global point to access it but allowing the flexibility to create more objects if the situation changes,in that case we will use Singleton Design Pattern.
  • Silverlight 2 Web Service Part II - User Defined TypeMay 13, 2009. This tutorial is meant to shed some light upon how you can build your own Web Service using a WCF Service class. This is the second turtorial in a series of tutorials on how to access remote data with a Web Service. In this tutorial we create a user defined type called Product that will be returned from Web Service method. The returned Product will be displayed in two ways; the first by assigning the values to TextBlock contros in code, the second by assigning the Product instance to the DataContext property of the Grid and let the Grid propagate the values out to specific TextBox controls. We will also have a look at how bining validation works. Binding validation is a way to validate input values from controls, in this case it will be TextBox controls.
  • 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.
  • The Two Interceptors: HttpModule and HttpHandlersDec 23, 2008. Many times we want to implement pre-processing logic before a request hits the IIS resources. For instance you would like to apply security mechanism, URL rewriting, filter something in the request, etc. ASP.NET has provided two types of interception HttpModule and HttpHandler.
  • Intoduction to Biztalk Server 2006Nov 01, 2008. This article describes What is Biztalk server and explains a little about Message Engine and message lifecycle inside the Biztalk server.
  • Checking previous instance (single instance) of an C# windows application, also setting MDI child form to a MDI parentSep 04, 2008. In this article I will describe how to check previous instance (single instance) of an C# windows application and also whether a MDI child is set to a MDI parent
  • Access the Same Instance of Internet Explorer WindowJun 26, 2008. This tip shows how to open an URL inside an Internet Explorer browser window from your C# application. Furthermore it shows how to update that specific window.
  • Passing and retrieving parameters from windows workflowJun 09, 2008. Basically this article gives an idea about how to pass the parameters and getting output parameters from the workflow.
  • Passing Data Between Windows FormsJan 16, 2007. This article provides a simple example of using delegates and events to transfer data between Windows forms. The example provided contains three separate forms; the main form interacts with the other two forms by responding to events generated by instances of the other two forms.
  • Restricting User InputDec 28, 2006. This article describes an approach to restricting the user’s input to letters only, numbers only, letters or numbers only, and special characters only. The approach is simple to implement and can be used whenever it is necessary to restrict a user’s response to instances where it is necessary to capture information from the user into a form’s text box control.

About Instances

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!