C# Corner

Resources  
  • Add/Remove User Control for C#Jan 18, 2000. A nice feature in the Visual.NET environment is the ability to create User Controls.
  • Yahtzee Program using C#Jan 24, 2000. The Visual C# environment has given the programmer the ability to create applications in RAD mode without the steep learning curve for the C++ programmer. (I do miss templates though!). The above application, yahtzee, is based on a popular poker-like dice game.
  • Visual Studio .NET: Start upMar 20, 2001. The next version of Visual Studio 6.0 is Visual Studio .NET (VS.NET). In the previous versions of Visual Studio Microsoft has different menu options to pick development environment such as VC++, Visual FoxPro, Visual Basic or Visual Interdev. This version of Visual Studio has integrated everything in one IDE. The reason for that might be all development languages share common library and tools.
  • Writing Secure Code using C#Apr 06, 2001. Code access security is a mechanism that grants/denies access to resources within a method call. For example, code written by a person may be allowed to write to the disk while code from another one may be forbidden from accessing the disk. This control can be enforced even if the code written by both of them is used within a single application
  • IL "The Language of CLR" - A Platform for Cross-LanguageJun 28, 2001. This article introduces the Cross-Language capabilities of CLR environment (Common Language Runtime Environment) and its constituent language IL (Intermediate Language).
  • .NET Brings The Fun Back to ProgrammingJul 11, 2001. Today, we are all comfortable sitting in front of our high powered computers running graphical user interfaces and compiling code in sophisticated development environments.
  • MailIntranet: A Mailing System for IntranetSep 10, 2001. This project is about a mailing system within a LAN environment. May it be a corporate office or a lab or any organization for that matter, this is going to be a useful one to communicate between individuals as well as departments.
  • .NET Framework and Web Services - Part 1Jan 28, 2002. The .NET Framework is a new computing platform designed to simplify Windows application development in the highly distributed environment of the Internet. Common Language Runtime (CLR) is the Heart of the .NET Framework.
  • Multicasting using UDP in C#Apr 04, 2002. The attached source code shows you how to use multi casting in a LAN environment.
  • Robotics Game Using .NET LanguagesMay 28, 2002. It is often not easy to get to know new technologies like .NET if you don’t get introduced to in a work environment.
  • Welcome to COBOL.NET, corner of the C# CornerJul 01, 2002. This column will hopefully help those of you looking to use Fujitsu NetCOBOL for .NET. We are going to present some "How To" articles beginning with the basic information about the environment, the interaction with Visual Studio.NET, the Designers and the COBOL language.
  • Why Object Orientation for COBOL?Jul 08, 2002. Why is Microsoft interested in having so many languages target the new environment?
  • dotMSN: .NET Messenger LibraryJul 25, 2002. dotMSN is a class library to make use of the MSN Messenger Service. The library is built in C# and can therefore be used by all languages the .NET environment supports.
  • Transactions and Concurrency Control using ADO.NETAug 15, 2002. In this article I am concentrating on the transaction management and concurrency control in .NET environment.
  • Kill an Application with System Menu using C#Nov 20, 2002. This article uses the Windows API’s to kill the application running under windows environment.
  • Basics of Extending Your Working Environment in Visual StudioApr 10, 2003. Visual studio.net offers a wide variety of options, which enable the user to create custom and personalized Visual Studio working environments.
  • 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.
  • Extending Your Working Environment in Visual Studio - AdvancedApr 24, 2003. In my previous article, you learned about how to create wizards and some simple objects such as DTE, Solutions, Project and Project Item. These objects help us to customize our Visual Studio working environment.
  • Extending Your Working Environment in Visual Studio - AdvancedApr 24, 2003. In my previous article, you learned about how to create wizards and some simple objects such as DTE, Solutions, Project and Project Item. These objects help us to customize our Visual Studio working environment.
  • Developing Secure Web Site with ASP.NET and IIS - PartIIMay 07, 2003. Authentication is a very important element of developing secure sites. It is the starting point of a secure environment for the protected resources. I have discussed several authentication mechanisms available in ASP.NET and how they join with IIS to provide a secure platform to develop sites in Part I of this article.
  • Developing Secure Web Site with ASP.NET and IIS: PartIIMay 07, 2003. Authentication is a very important element of developing secure sites. It is the starting point of a secure environment for the protected resources. I have discussed several authentication mechanisms available in ASP.NET and how they join with IIS to provide a secure platform to develop sites in Part I of this article. I will be looking at Form Authentication and how to implement it in several sample web applications.
  • ODBC usage in .NETSep 24, 2003. This article will provide a template of how to represent a smallint, integer, decimal, varchar and other ODBC data types that are used in the SQL Server environment in COBOL.
  • Distributed Computing Using .NET RemotingJan 05, 2004. AppDomain is an isolated environment for executing Managed code. Objects within same AppDomain are considered as local whereas object in a different AppDomain is called Remote object.
  • Migrating from ASP to ASP.NETJan 05, 2004. This document covers some of the more powerful features that can simplify Web development while providing a more scalable, stable, and productive environment.
  • QuickModeler 2.0 : A Reverse Engineering Tool for Visual Studio .NETJan 08, 2004. QuickModeler is an Add-In for Visual Studio .NET which provides reverse engineering and easy UML modeling functionality to the development environment. It comprises features like autolayout, inheritance and association modeling, cross language modeling, grid, clipboard, etc.
  • Debugging a Compiled ComponentFeb 02, 2004. After an assembly is compiled into a dll in a release mode, it is very difficult to gather information from it such as runtime performance, parameters values, etc.
  • Understanding .NET Framework at a glanceMay 05, 2004. In this article we are going to look at Microsoft .NET Framework. This is the newly established software development environment which helps developers to develop applications quickly and gives optimum, efficient, scalable, performance oriented applications in different languages like Visual Basic .NET, C#, ASP .NET, and Jscript .NET.
  • Get your System Information using C#May 05, 2004. In this article I will discuss how you can get information about your system such as available operating system, hardware, and domain.
  • Build a .NET Solution or Project from the Command Line Sep 27, 2004. Devenv allows you to set various options for the integrated development environment (IDE) as well as compile, build, and debug projects from the command line.
  • How to generate unique integer IDs across multiple systemsNov 30, 2004. This article show to generate unique integers across environments. Generally repeating IDs in different environments are not a problem, but once in a while you need to migrate something from dev to staging, or from staging to production.
  • Creating simple Add-in for Visual Studio.NETMar 16, 2005. An add-in is a tool that you create programmatically by using objects, methods, properties, collections in .NET's extensibility model. This compiled application enables you to automate the difficult and tedious tasks within the visual studio integrated development environment (IDE).
  • Custom Assembly in Reporting ServicesJun 30, 2005. This article describes a problem that occurs when you access a custom assembly in your Reporting Services report that does not have sufficient permissions on the resources in your environment. The article also provides simple steps to grant permissions to the custom assemblies that are used in the reports.
  • Migrating from Java to C# Oct 03, 2005. Microsoft has created a tool called Java Language Conversion Assistant (JLCA), which automatically converts Java code into C# for developers who want to move existing applications to the .NET Framework.
  • Introduction to new SECS/GEM driver using SecsToTool.NetJan 06, 2006. SecsToTool.Net is a connectivity solution for the semiconductor equipment that support SECS/GEM communication interface. The SecsToTool.Net SECS/GEM driver SDK is designed to provide a high level method call/reply and event driven environment for your host application (or what we normally called Cell Controller/Station Controller/Equipment Manager) to communicate with equipment.
  • Advanced Technique to Improve Sudoku for PocketPCJan 20, 2006. This article will explain a techniques to visualize sudoku in pocketPC environment and adding some helpful addons.
  • Usage of doPostBack in a Real EnvironmentJan 29, 2006. Many atricles describes about "__doPostBack". But here I am trying to say some real practical ways to use it and also mentioned some precautions waant to take before use it. Believe me this article derived from my practical experience and will continue only such items from my side, as only those thing will help a developer.
  • DataReader And DataSetMar 20, 2006. ADO.NET is part of Microsoft.NET which comprises a set of tools and object model for accessing a data source. The objects definition appears under the System.Data namespace. It allows applications to store, manipulate and retrieve data. In this article I’m going to talk about the two different objects for accessing data sources in two common contexts of your application: the connected and disconnected environment.
  • Access Command Line Arguments in C#Mar 27, 2006. This article shows how to access command line arguments in C#.
  • Deploying ASP.Net 2.0 Web site to Production Server: Part IApr 03, 2006. Deploying ASP.NET 2.0 web site is the first issue facing the developer. This part of the article gives you a step by step to how to move membership tables from MS SQL express Edition to your database that you are used on your web site. The second part we will go in details to configure our asp.net web site.
  • Deploying ASP.NET 2 Web Site to Production Server: Part IIApr 10, 2006. On the first part we discussed in detail how to move our database which contains the membership tables from the default aspnetdb Database to our database. On this part we will show how to change the default settings of asp.net membership and role providers to read from tables which stored on our database.
  • Detecting File Changes using FileSystemWatcherMar 20, 2007. This article is about detecting file changes like file renaming, file creation, deletion and changes in a folder using FileSystemWatcher class.
  • Regular Expression Usage in .Net EnvironmentApr 19, 2007. This article describes how to use regular expression in .Net.
  • Windows Communication Foundation's hosting environmentMay 07, 2007. Windows Communication Foundation (WCF) applications need to have a runtime environment for the management of its object's lifecycle. The host process models allows is a new concept in WCF referring to WCF hosting environment which can have several services, and the same service can be hosted in several host processes.
  • Multi-threaded Asynchronous Programming in C#. Async Database Calls. Part III.May 14, 2007. In my last couple articles we looked at basic ways to have long-running i/o bound process be handled by the ThreadPool using the asynchronous programming model. In this article we’ll take a look at coding async calls against SqlServer which really comes in handy in production environments where our database is on another machine.
  • What's new in Visual Studio.NET 2008.Feb 07, 2008. In this article, I will cover at a glance the new features of Visual Studio 2008. I have been working with this new development environment for several days and want to share my experience with the community.
  • Get Operating System Data and Version in C#Feb 29, 2008. In one of my applications, I needed Operating System version, service pack and other details. Here is the code snippet that shows how to use the Environment class to get Operating System data.
  • Getting Started With F#Mar 22, 2008. This is the first in a series of articles discussing the F# programming language. I cover how to get your dev environment set up to develop with this awesome NET Framework language
  • Handle resource file - Add resources into a windows application using VS 2005: Part IIMay 13, 2008. In this article, I will show how to add resources to a windows application using tools provided by the Visual studio 2005 integrated development environment.
  • Create DCOM application from within .Net environment: Part VNov 06, 2008. This article explains how to develop a DCOM (Distributed Component Model) application.
  • Introduction to SLP Services Environment SetupMar 13, 2009. This article explains about SLP Environment setup followed by Code Protection sample.
  • Retaining your best peopleApr 25, 2009. You can replace equipment, infrastructure, tools, etc but at the end of the day it’s the people i.e. human capital which is the critical success factor in today’s competitive environment. Retaining key talent is one of the topmost priorities for all successful managers.
  • Calling COBOL from C#Jul 28, 2009. There is a lot of COBOL code in production around the world. Rewriting that code into another langugage just to change the language makes little sense and introduces a high level of risk. Instead of changing the COBOL code that has been working and doing it's job for quite a while, why not interact with it using C#? This article shows how to utilize C# to call both procedural and object oriented COBOL.
  • Custom CacheManager Implementation for Windows/Console applicationsSep 30, 2009. Mainly the term caching is used in web applications environments to store commonly used database values.
  • The Environment Class in C# Feb 25, 2010. In this article I will explain you about the Environment Class in C#.
  • Create a Windows Azure Storage service to store the blobsMar 03, 2010. This article describes what Windows Azure Blobs are, how to create and display the same on our local environment and lastly how to create a Windows Azure Storage service to store the blobs on the cloud.
  • 4 Steps to Enable Instrumentation in WCF Mar 14, 2010. Many times we would like to monitor events of WCF application in production environment. We would like to monitor events like errors, security audits, performance etc. This can be achieved by extending the ASP.NET health monitoring system in WCF. The health monitoring system is also termed as instrumentation.
  • How to get System Environment information in WPFJun 07, 2010. This article demonstrates how to get system environment information like Operating System,.NET Version, Machine Name, Username, Domain Name, Directory Name, Command Line using wpf.
  • COBOL SnippetsJul 07, 2010. Beginning with this article all projects will be created using the Micro Focus Visual COBOL environment.
  • Using GDI in the Managed EnvironmentJul 20, 2010. In this article you will learn how to use GDI in the Managed Environment.
  • Exception Handling in Visual COBOL.NETAug 16, 2010. Let's start by taking a look at a simple and pretty standard COBOL way of handling exceptions. We’ll then see how that same example would be coding in a managed environment utilizing Visual COBOL.NET.
  • VS 2010 Deployment (Package, One click deploy and Web.config transformation)Aug 24, 2010. In this article we will discuss about 3 important features provided by VS 2010 to ease our deployment task on production and other environment. We will first start with understanding problems with deployment and then move ahead by creating packages , one click deploy and web.config transformation.
  • How to configure Microsoft SharePoint Workspace 2010Oct 05, 2010. In this article I will show you how to configure SharePoint Workspace 2010. It allows you to take your complete SharePoint environment offline, continue your work without a connection to the server and synchronize the whole thing when you are connected again.
  • Mocking in .NET with MoqNov 09, 2010. In this article, I will show how to use Moq as the mocking framework in testing environments to isolate dependencies between objects in .NET solutions.
  • Chapter 4: High Availability and Virtualization EnhancementsDec 02, 2010. This chapter discusses the enhancements to high availability that significantly contribute to the capabilities of SQL Server 2008 R2 in both physical and virtual environments.
  • Connection Strings for SQL Server 2000Dec 20, 2010. Microsoft SQL Server 2000 is an application used to create computer databases for the Microsoft Windows family of server operating systems. Microsoft SQL Server provides an environment used to generate databases that can be accessed from workstations, the Internet, or other media such as a personal digital assistant (PDA).
  • Introduction to Microsoft Visual Studio Team System 2008 Test EditionDec 21, 2010. This article discusses Microsoft Visual Studio Team System 2008 (Test Edition), an integrated development environment provided with Visual Studio and it's comparison and what’s new from Microsoft Visual Studio 2005.
  • Strategy for a Confirmation Dialog in an MVVM World in SilverlightDec 23, 2010. Working with Silverlight in an asynchronous world can sometimes be a challenge. Here is an example of a confirmation dialog that provides some direction into that temporally ambigious environment.
  • What is WCFJan 02, 2011. Windows Communication Foundation (WCF) is an SDK for developing and deploying services on Windows. WCF provides a runtime environment for your services, enabling you to expose CLR types as services, and to consume other services as CLR types.
  • Debugging, Tracing and Instrumentation in .NET and ASP.NET (14 FAQ)Jan 28, 2011. Diagnosing a software application is an art and this art has to be more skillful when in production. In the development environment you have the complete VS IDE tool so diagnosing is much easier. In a production environment as a best practice you do not install Visual Studio IDE. So in production it’s like fighting with a Lion without a knife.
  • How to Create and Consume WCF ServicesFeb 16, 2011. WCF provides a runtime environment for your services, enabling you to expose CLR types as services and to consume other services as CLR types.
  • SQL Server Schema Comparison in Visual Studio 2010Mar 05, 2011. This article explains the new tool in visual studio 2010 which most of the users require seeing the comparison report of the 2 different database schema (say a development and a production db) in order to get the object that has been changed for the current releases.
  • Basics of Colors in XAML SilverlightApr 22, 2011. In this article, you will learn the very basics of color and how to produce colors in different formats.
  • How To Do with SharePoint Web PartJun 01, 2011. A SharePoint Web Part is a server side control that can be added into Webpart zones in Webpart pages in a SharePoint environment.
  • Database Installer For ProductionJul 14, 2011. This article explains how to install a database to production and build a tool to do so.
  • Windows Azure - SWAP VIP of Azure Application From Staging to Production And Vice VersaJul 14, 2011. In this article we are going to see how to swap a deployed Azure Application from Staging to Production and Vice Versa using the Windows Azure Management Portal.
  • Delegate And Async Programming C# (AsyncCallback And Object State)Jul 22, 2011. In the previous article we discussed the use of delegates to call methods asynchronously then we talked about Synchronization of threads in a Multithreading environment. In the previous code example we used the BeginInvoke() method to make the Async call.
  • Optimizing Wait in MultiThreading Environment - C#Jul 25, 2011. Here you will see optimization of waiting in a MultiThreading environment using the AutoResetEvent class with C#.
  • Start working with MonoDevelopJul 29, 2011. MonoDevelop is an IDE primarily designed for C# and other .NET languages it is an open source integrated development environment for the Linux platform, Mac OS X, and Microsoft Windows.
  • Creating Slick User Interface for Windows MobileAug 12, 2011. Resco is a leading vendor of controls, components and libraries for Windows Mobile platform. The main product, Resco MobileForms Toolkit was designed to help create neatly looking and user friendly environment for corporate Windows Mobile end-users.
  • 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.
  • Downloading and Installing Visual Studio 11 Developers PreviewSep 19, 2011. Microsoft recently launched the Visual Studio 11 Developers Preview at BUILD Conference and it's available for download to all as a preview. So in this article we are going to see how to download and install the Visual Studio 11 developer preview version in a Windows 7 environment.
  • 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.
  • Windows Azure: Introducing Roles, Visual Studio Setup, Online PortalOct 15, 2011. Windows Azure provides a Windows Server based computing environment for applications. The applications deployed on Windows Azure are getting executed on Virtual Machines.
  • Windows Azure - Moving Staging Deployment to ProductionOct 20, 2011. In this article we can explore how things are moved fro staging to production.
  • Introducing MonoOct 31, 2011. Mono is an open-source implementation of the .NET Framework and is cross platform. Mono is Sponsored by Xamarin. It is based on ECMA standards for C#. Core Mono environment is the basis of the Mono platform and additional components offer enchanced functionality like Window forms, Threading etc.
  • Windows Azure - Cmdlets UsageDec 01, 2011. For continuing with this article you need to open the PowerShell window and enter the command: Add-PSSnapin WAPPSCmdlets
  • Display data from a database through PHPDec 03, 2011. In this article we will learn how to display the records from the database using PHP. Before going forward we should know about WAMP Server. This is an environment where we can run your php scripts and create databases.
  • Implement Windows Authentication and Security in WCF ServiceDec 21, 2011. In this article, I'll explain how we can implement Windows authentication with transport level security in Intranet environment.
  • Getting Started with Android Application DevelopmentDec 27, 2011. In this article we will learn how to get started developing Android applications. We will walk through the steps to setup your environment and then create a sample application.
  • Hosting a WCF Service Under a Windows ServiceJan 26, 2012. In this article we will see how to host our WCF service in a Windows environment under a Widows Service.
  • Introduction to Java AppletApr 25, 2012. In this article we are going to describe about the java applet technology.And we also discusses about the basics of Java applets, how to develop applets that interact richly with their environment, and how to deploy applets.
  • Making Our Component to be Dynamically Loading the Config FileMay 16, 2012. This article explains how to dynamically load a Config file for a component and how to map the config file even when it is converted to an Active X Control and run in another environment.
  • "Hello World" Windows Phone Application Using PhoneGap or CordovaMay 17, 2012. In this article, we will set up an environment for development of Windows Phone Applications using PhoneGap.
  • Develop Mobile Applications Using PhoneGap and Kendo UI: Part 1May 17, 2012. I have begun this series to help you in creating Windows Phone and Android applications using the PhoneGap and Kendo UI. In this article I will be showing you the setting of the environment on a Windows machine for Android development.
  • Get All Installed Fonts in C#Jul 09, 2012. If you need to retrieve all the fonts installed on your environment,you just need InstalledFontCollection class.
  • Working in a Connected And Disconnected Environment: Part 1Jul 25, 2012. In this article you will learn about the Connected And Disconnected Environment in ADO.NET.
  • Creating Hosted Service on Cloud Environment Using Windows Azure Management APIJul 27, 2012. This article explains creation of a hosted service in Azure as well as some error descriptions.
  • Working With Form Based Authentication in SharePoint 2010Aug 30, 2012. In this article we will see how to enable Form Based Authentication (FBA) in a SharePoint 2010 environment.
  • Telerik Rad Grid Sorting With Groupby Issue SolvedSep 04, 2012. Telerik is rad grid is awesome and good to have control when you are in Rapid Application Development environment.
  • Use of Environment Variable in Windows 8Sep 18, 2012. This article describes How to Use of Environment Variable in Windows 8.

About Production-Environment

NA

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.
European SharePoint Conference