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.
  • Deploy Multiple Instance Of SPFx Webpart In Same App CatalogApr 16, 2018. As SharePoint Framework solutions are deployed as tenant-wide app packages, the client app package needs to deploy in the tenant app catalog. And all these instances of the web parts refer to the bundled JavaScript files from the CDN location specified in the package that is deployed in the app catalog. So, by following the software development lifecycle, it needs to have the ability to run Development, Staging and Production environments as different Site Collections in the same tenant.
  • Func<T> - Dynamic InstantiationMar 06, 2018. The article talks about scenarios where we want more than one instance of a given service
  • ASP.NET Core 2.0 IdentityJan 30, 2018. In a previous post, I showed how to use cookie authentication middleware to protect your web application. ASP.NET Core also provides a richer set of services, called Identity, to work with user authentication and management scenarios. For instance, in addition to authentication and password hashing, it provides features for registering new users, creating forgot &amp; reset password tokens and their validation, two-factor authentication and authentication using external providers.
  • Garbage Collector And Destructor In C#Jan 19, 2018. Garbage collector looks for an instance/object which is not required anymore and treats these objects/instances as ready to destroy. Then, it makes a call to the destructor to release the memory and deallocate the resources.
  • Integrate Angular 5 With Visual Studio 2017Jan 02, 2018. If installation file finds any open Visual Studio instances it will stop the installation and ask us to click on “EndTask”, by clicking , it will close the all the instances of Visual Studio.
  • ASP.NET Core 2.0 Cookie AuthenticationJan 02, 2018. Cookie Authentication allows developers to hook into events at various lifecycle stages of the authentication process. For instance you could log successful sign-ins using OnSignedIn or use OnValidatePrincipal (runs on every request) to invalidate the user (e.g. if you want to force sign-out).
  • Creating A C# Console App From My iPhoneJan 02, 2018. Hyper IDE [link to https://github.com/polterguy/hyper-ide] is an Open Source web-based Integrated Development Environment. It supports 100+ progamming languages out of the box, and can be integrated with any type of command line tools, such as Git, compilers, etc. This leads to some interesting traits, such as the ability to actually create for instance C# console apps, from the browser on your phone. For the record, writing code on a phone, is not easy, and not something I encourage people to do in general. However, the border line use cases have interest.
  • Simplest WPF Dependency Property For Beginners On Background ColorNov 19, 2017. Dependency property is not wrapped over any private members unlike CLR properties, and it is also stored in Key-Value pairs inside the DependencyObject host instance. You must use Dependency properties if you need to create and apply properties on custom usercontrols, or change properties based on external inputs like Theme, Style, animation etc, or while applying data binding or set with a resource (static/dynamic) .
  • ASP.NET Core 2.0 CachingOct 12, 2017. Caching frequently used data can improve the performance of a web application. For applications hosted on multiple servers, using distributed caching means the application can access data regardless of the instance server. Caching should be considered an alternate to using Session State.
  • Installing And Using .NET 4.7.x, .NET Core 2.0, And C# 7.x With VS 2017Oct 09, 2017. This article explains how to install and use .NET Framework 4.7, .NET Framework 4.7.1 &amp; .NET Core 2.0 and troubleshooting if you are getting an exception while installing these latest components. This article also explains how to use the different versions of C#, e.g. C# 7, C# 7.1, C# 7.2 with Visual Studio 2017 and installing multiple instances of Visual Studio 2017 side by side.
  • Dependency Injection - Part Five - Using A DI Container (Autofac)Aug 29, 2017. A DI container takes the responsibility of instantiating and providing the dependency instances, irrespective of the level of dependencies. As a result, it is a container that manages the scope of the instantiated objects.
  • Project Server 2013 Migration From One Farm To AnotherJul 21, 2017. In this article, I will explain step by step how to migrate/move a PWA Instance from one farm to another in Project Server 2013.
  • Using PowerShell To Create Log/CSV Files And File Out CommandsJul 19, 2017. In many instances while developing using Powershell we need to get the logfile in a specific folder and format.
  • To Execute the Workflow Instance through Power-Shell ScriptMar 20, 2017.
  • Deploy ASP.NET Core Application On EC2 Amazon Linux InstanceFeb 14, 2017. This article will provide you with a step-by-step guide to deploy ASP .NET Core Web applications on Amazon Linux instance.
  • Instance Mode In WCFDec 22, 2016. In this article, you will learn about Instance Mode in WCF.
  • Azure AD - Insights And Creating A New InstanceDec 10, 2016. In this article, you will learn about insights and creating a new instance in Azure AD.
  • 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&#47;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.
  • Introduction to Object-Oriented ProgrammingMay 21, 2014. This article is a brief introduction to OOP. The basic building blocks of object-oriented programming are the class and the object. A class acts as a blueprint/template to create the instances/objects. This blueprint/template describes the state and behaviour the state and behaviour for all the objects of the class.
  • 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.

About Instances

NA
Hire a remote developer
Looking to add more bandwidth to your software team? Web Developers, designers, testers are now available on demand. Flexible hours, very competitive rates, expert team and High Quality work.
X

Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now