C# Corner

Resources  
  • Protecting IL Code from unauthorised DisassemblingApr 09, 2001. Microsoft .NET proved a mechanism where the code written in VB.NET, C# or any CLS compliant languages to generate MSIL (Microsoft Intermediate Language)code which targets the CLR and executes. This is an excellent mechanism to abstract the high level code from the underlying hardware.
  • Compilation and Runtime Execution of a C-Sharp ProgramApr 10, 2001. C-Sharp (C#) is a strongly typed object-oriented programming language designed to give optimum composition of simplicity, expressiveness and performance.
  • .NET framework comparison with Java ArchitectureMay 08, 2001. This article outlines Microsoft's proposed standardization of .NET framework in ECMA forum as CLI (Common Language Infrastructure), but the Microsoft documentation refer this as CLR (Common Language Runtime).
  • Ouch! There is a Hook in My C#May 15, 2001. As an extension to the J++ design practice, C# has a syntactic construct, called Attributes, which let you drop hooks to Windows API or modify the runtime semantics, like threading synchronization behavior. The C# has legalized the hooking practice by calling them Attributes, and including them in ECMA C# specification.
  • 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).
  • A Vision Regarding .NETAug 27, 2001. The present enterprise setup's need to have n-tire architecture with diverse platforms and object models communicating with each other. The present applications are to be created such that those applications have to run in any platform (like Windows, Linux, Mac , Unix etc) and which consist of components written in many programming languages and object models.
  • An insight into Code Reusability and COM Interoperability : Part IAug 28, 2001. Code reusability is the art of using existing code to achieve better productivity and ease of maintenance. The concept of reusability is not new. Its existence has been evident since the evolution of mankind.
  • A Quick View From C/C++ to C#Sep 10, 2001. This article provides a quick overview of the C/C++ and C# languages.
  • Exploring delegates in C#Oct 30, 2001. Delegates are a kind of type safe function pointers which are actually declared as class derived from System.MulticastDelegate.
  • Overview of Automated TranscationsJan 04, 2002. Two or more .NET Framework objects can participate in the same transaction. One or more .NET Framework objects can participate in the same transaction as one or more COM+ objects. All objects must be hosted in Microsoft Windows 2K Component Services so as to receive services such as transaction processing.
  • .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.
  • .NET Performance Counters, Part 1: Predefined CLR Performance CountersMay 13, 2002. In this article, I will describe what a performance counter is and introduce you to the predefined counters that you can use to monitor the state of the CLR while your applications run.
  • Remoting in C#May 13, 2002. This simple article shows you how to write simple server and client to access the server remotely.
  • Comparison of C# with Java: A Developer PerspectiveMay 29, 2002. The .NET is a language and operating system (on Windows as of now) independent platform pretty similar to Java.
  • Custom Error Handling in ASP.NETMay 30, 2002. Structured exception handling is a fundamental part of the CLR and provides .Net programmers a great way of managing errors. In addition to CLR exception system, ASP.Net also provides ways of handling errors.
  • COBOL and .NET Data TypesSep 24, 2002. .NET has created a new, level playing field for a multitude of programming languages to interact on a scale never before seen.
  • Building Reusable ComponentsMay 08, 2003. One of the main advantages of building components is to promote reusability.
  • Boxing and Unboxing of Value Types : What You Need to Know?Jul 21, 2003. Programmers new to C# can encounter less than ideal performance and even unexpected results due to boxing and unboxing of value types.
  • Export Managed Code as UnmanagedAug 05, 2003. The following Article explains in detail how to use any .NET Assembly from BlitzPlus/Blitz3D.
  • Using the .NET compact FrameworkOct 01, 2003. In this article, we will see how to write a simple .NET Compact Framework application and deploy it onto a device. This article provides a step-by-step instruction on how to write the application.
  • .NET versus ONENov 24, 2003. Microsoft .NET and Sun ONE are that glue for each of the companies—the super glue that tries to hold together a lot of information around vision, architecture and products.
  • Generics in C#Mar 08, 2004. Parametric Polymorphism is a well-established programming language feature. Generics offers this feature to C#. The best way to understand generics is to study some C# code that would benefit from generics.
  • 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.
  • Building Applications with .NET Compact FrameworkJun 09, 2004. In this article, author explains various components of Microsoft .NET Compact Framework and how to build compact device applications using .NET Compact Framework.
  • Introduction to ASP.NETNov 17, 2004. I have seen many tutorials on ASP.NET but most of them starts with coding and writing your first ASP.NET program. But here I have written this tutorial for explaining why there is a need for ASP.NET when classy ASP is working fine, what are the underlying technology behind ASP.NET, and what programming model ASP.NET provides to programmers.
  • Understanding Threading in .NET FrameworkApr 21, 2005. This article describes how to use threading model in .NET Framework including creating, joining, suspending, killing, and interlocking threads.
  • How to Maintain a CodeGroup in Security Policy at Runtime?Jul 05, 2005. Whenever protected resources are accessed by an assembly, it’s permissions are determined by the code access security system of CLR. Each permission set granted to an assembly is based on the assembly's evidence (such as its URL or publisher certificate, strong name), which in turn is based on configurable security policy.
  • SQLCLR DebuggingAug 09, 2005. In SQL Server 2005, CLR integration allows you to write stored procedures, triggers, user-defined types, and user-defined functions using any .NET Framework language, including Microsoft Visual Basic .NET and Microsoft Visual C#. In this article, I will explain how to debug SQLCLR stored procedure or SQLCLR user-defined function.
  • Programming with .NET Compact Framework 1.0 and SQL CE 2.0 : Part IIAug 11, 2005. In this article I am going to talk about garbage collection and JIT process in .NET compact framework and what are the differences between these two model of framework.
  • Building Managed Code Using Common Language Runtime (CLR) Integration in SQL Server 2005Oct 24, 2005. In this article I am going to talk about a cool new feature of SQL Server 2005 called "CLR Integration", its advantages and how to program database objects using managed code with a simple project in Visual Studio 2005 beta 2.
  • SQLCLR DebuggingNov 10, 2005. In SQL Server 2005, CLR integration allows you to write stored procedures, triggers, user-defined types, and user-defined functions using any .NET Framework language, including Microsoft Visual Basic .NET and Microsoft Visual C#. In this article, I will explain how to debug SQLCLR stored procedure or SQLCLR user-defined function.
  • J2EE and Microsoft .NET for Enterprise ApplicationsDec 05, 2005. The purpose of this article is to provide an introduction to and overview of both J2EE and Microsoft .NET and compare the both side by side.
  • C# Heap(ing) Vs Stack(ing) in .NET: Part IJan 14, 2006. Even though with the .NET framework we don't have to actively worry about memory management and garbage collection (GC), we still have to keep memory management and GC in mind in order to optimize the performance of our applications.
  • Service-Oriented Architecture and Microsoft .NETJan 21, 2006. This article is intended to provide an overview how Microsoft .NET and related technologies support the goals and principles of Service-Oriented Architecture. The main approach of Microsoft .NET is explained along with the concepts of Service-Oriented Architecture and it fits into this strategy.
  • The C# Value Type and BoxingFeb 17, 2006. Even though with the .NET framework we don't have to actively worry about memory management and garbage collection (GC), we still have to keep memory management and GC in mind in order to optimize the performance of our applications. One of the things we need to be aware of is how the Common Language Runtime (CLR) deals with references to value types.
  • Writing C# 2.0 Unsafe CodeFeb 23, 2006. We will see that C# allows suspending the verification of code by the CLR to allow developers to directly access memory using pointers.
  • Enabling CLR integration in SQL Server 2005Jul 31, 2006. One of the new features in SQL Server 2005 is the feature to write your own stored procedures using any language supported in .NET. This feature gives you more flexibility to implement any complex logic in your business scenario.
  • Points to remember about .NetSep 11, 2007. This article will give you some tips about .Net. This could be helpful for you especially when you prepare for interviews.
  • Best Practices for handling exceptionsSep 18, 2007. This article shall explain some of the best practices when you deal with exceptions.
  • Step by Step Procedure of How to Install an Assembly: Part IJan 16, 2008. This step by step tutorial will guide the programmer to install his assembly in the GAC.
  • Chapter 1: C# PreviewJan 22, 2008. This chapter explains you the brief description about the difference between c# and c++ and also gives you an overview of what's new in c# 3.0.
  • CLR Object Binding In WPFJul 27, 2009. This article explains about one of the binding concept in WPF.
  • .NET Best Practice No: 1:- Detecting High Memory consuming functions in .NET codeAug 15, 2009. This article discusses the best practices involved using CLR profiler for studying memory allocation.
  • Windows Programming using C#Jan 05, 2010. In this article I will explain you about Windows Programming using C#.
  • Demystifying CLR: Part IMar 15, 2010. In this article, I am going to explain fundamentals of CLR.
  • Interacting with the Hardware using C# 4.0Jun 07, 2010. In this article you will know how to get OS, Service Pack, CLR Version, CPU and other hardware Information using C#.
  • Harnessing Regular Expressions in SQL Server using CLR IntegrationDec 02, 2010. This article discusses how to create a Regex library of CLR functions for SQL Server. CLR Integration is available in SQL Server 2005 and above.
  • Garbage Collector in .NETDec 27, 2010. Garbage Collector is common term for developers working with high level languages such as Java, .NET, Ruby etc.
  • 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.
  • Me, Routed Event and My NieceJan 11, 2011. Until now we were acquainted with normal events which are the basics of Windows Forms Applications. WPF introduces a new concept called Routed Event. So here we will have a brief introduction for this new feature and a comparison between CLR Events and Routed Events. We will not start with a definition; instead we will go back to old methods of CLR event and try to achieve something funny but logically meaningful.
  • Converting XML data to CLR object using XmlSerializerFeb 14, 2011. My last Post (Consuming Webservice from Silverlight) was all about accessing a web service/API from Silverlight; there I described how to consume an external API, with a sample from GeoName web services. As I said in that article, this article is the continuation. Here I am going to demonstrate how to convert the result output, which is in XML, to a CLR object and of course using it as a datasource in a Silverlight application.
  • 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.
  • 6 Reasons to become an ASP.NET ProgrammerMar 02, 2011. Here I give you 6 reasons to become an ASP.NET Programmer.
  • Search in Asp.NetMar 03, 2011. In this article we will see how to implement a search facility in our ASP.Net web site.
  • CLR Execution ProcessApr 13, 2011. Here you will see CLR Execution Process.
  • .Net Architecture and .Net Framework BasicsApr 26, 2011. Here you will see .Net Architecture and .Net Framework basics.
  • Create Your First CLR Trigger in SQL Server 2008 Using C#May 05, 2011. Here you will see how to create your first CLR Trigger for SQL Server 2008 using C#.
  • Managed Code in SQL Server 2005Aug 08, 2011. As a database developer you create database objects such as procedure, functions and triggers to implement programming logic by using T-Sql.
  • General Event Handling in .NETAug 12, 2011. This article continues the analysis by posing a very high goal - attempting to subscribe handlers to events which are completely unknown at compile time. As will be shown, CLR does not support such intentions and specific approach must be employed to solve the problem.
  • Managed C++ Wrapper For Unmanaged CodeFeb 10, 2012. This article shows how to create a C++ CLR Class Library wrapper for unmanaged code.
  • Stored Procedure Using c# CLR ProjectMay 16, 2012. In this article you will learn how too create a Stored Procedure using a C# CLR Project.
  • Creating and Sharing .NET Assemblies For a .NET Application Projects: Scenarios ExplainedAug 05, 2012. This article is about the Global Assembly Cache (GAC) and DLLs relevant to the deployment of applications.
  • CLR Function in SQL Server 2005Aug 27, 2012. In SQL Server 2005 and later version of it, database objects like function, store Procedure, etc can be created which are already created in CLR.
  • CLR Object and JSON Serialization and DeserializationAug 27, 2012. This article demonstrates how to serialize and deserialize CLR objects for web-based applications.
  • Table Valued CLR Function in SQL Server 2005Aug 28, 2012. In SQL Server 2005 and later versions of it, database objects such as functions, Stored Procedures, etc. can be created which are already created in CLR.
  • Custom Error Handling in VB.NETNov 09, 2012. Structured exception handling is a fundamental part of the CLR and provides .Net programmers a great way of managing errors. In addition to CLR exception system, ASP.Net also provides ways of handling errors. When a runtime or design-time error occurs in an application, ASP.Net shows a default error page that gives a brief description of the error along with the line number on which the error occurred.
  • How to build Multi-Language Web Sites with ASP.NET 2.0 and VB.NET 2005Nov 10, 2012. In this article, we will explore the necessary details for working with resources in ASP.NET applications.
  • Protecting IL Code from Unauthorized Disassembling in VB.NETNov 10, 2012. Microsoft .NET proved a mechanism where the code written in VB.NET, C# or any CLS compliant languages to generate MSIL (Microsoft Intermediate Language)code which targets the CLR and executes. This is an excellent mechanism to abstract the high level code from the underlying hardware.
  • Common Language Runtime in VB.NETNov 10, 2012. In this article we will discuss what common language runtime (CLR).
  • C# Tutorial Part 1 - Introduction to .NET FrameworkFeb 05, 2013. In this article we explain the .NET framework, a platform developed by Microsoft for application developers.
  • Exception Handling With C#Mar 28, 2013. This article explains how to properly handle existing exceptions using try, catch, finally and throw blocks and how to create your own custom exceptions.
  • CLR Internals - Process and Application DomainMay 28, 2013. In this article, you‘ll drill deeper into the details of how an assembly is hosted by the CLR and come to understand the relationship between application domain (appdomain) and processes.
  • To Find Installed Version of .Net Framework Using CLR Version ToolJun 14, 2013. In this article I am sharing thoughts on Clrver.exe, how it works and advantages of this.
  • Searching and Listing Files of Selected Drive in WPFJul 03, 2013. This article introduces how to search the files of your drive and list the results in a Data Grid View.
  • Introduction to .NET Framework 4.5.1Jul 09, 2013. This article is a brief introduction to .NET Framework 4.5.1.
  • WPF Dependency PropertyJul 24, 2013. While working with WPF you all may have come across the word Dependency Property, wondering what this may be and is it any time related to the property provided by CLR? So here I am with this article. Let’s try to understand this amazing feature of WPF.
  • Demystify Garbage Collection in C#: Part 3Aug 17, 2013. Today we will clarify one fundamental idea of Garbage Collection. The idea is that a destructor is nothing but a finally block in C# and the finally block is always used to clean up resources.
  • SQL CLR For Beginners: Part 1: Create Store Procedure in SQL-CLR ProjectAug 29, 2013. In this article series, we will understand a few important concepts to develop projects in SQL Server CLR. Please don't be confused by the name SQL-CLR, It's nothing but a SQL Server CLR project. For the sake of simplicity, in this article we will call it SQL-CLR.
  • SQL CLR For Beginners: Part 3: Create Function in SQL-CLRSep 01, 2013. In this article we will see how to create a simple function in a SQL-CLR Project.
  • SQL CLR For Beginners: Part 2: Create Trigger in SQL-CLR ProjectSep 01, 2013. In this article we will see how to create a simple trigger in a SQL-CLR project. I hope you are already quite familiar with the concept of triggers in SQL Server (or some other database).
  • SQL-CLR For Beginners: Part-4: Consume C# Class in Stored ProcedureSep 04, 2013. In this article we will learn how to use traditional C# class within SQL-CLR Application.
  • Using Microsoft RoslynSep 17, 2013. Microsoft Roslyn is an API that exposes the C# compiler as a service or one can say now the entire compiler is exposed in a form of a library that can be included in your project or application.
  • SQL-CLR For Beginners: Part-5: Call Function and Procedure From Other ProcedureSep 20, 2013. In today’s article we will learn how to call store procedure and user defined function ( UDF in Database) from store procedure.
  • Using CLR With SQL Server 2012Dec 08, 2013. In this article, I’ll cover the SQL CLR in SQL Server 2012.
  • Performance Analysis For String and StringBuilderFeb 24, 2014. This article will give you an overview of when and how to use the String and StringBuilder classes with proper statistical data using the CLR Profiler.
  • What is Common Language Runtime in C#Feb 25, 2014. Today in this article I will explain the very basic and starting topics of the C# programming language.
  • What is An AssemblyApr 21, 2014. An Assembly is a basic building block of .Net Framework applications. It is basically compiled code that can be executed by the CLR.
  • Unsafe Coding: Pointers in .NETNov 05, 2014. In this article you will learn one of the advanced concepts of the pointer implementation under the CLR context.
  • MSIL Programming: Part 1Nov 15, 2014. In this article you will learn that .NET assemblies contain an ultimate CIL code that is compiled to platform-specific instructions using JIT.
  • MSIL Programming: Part 2Nov 16, 2014. The primary goal of this article is to exhibit the mechanism of defining (syntax and semantics) the entire typical Object Oriented Programming “terms” like namespace, interface, fields, class and so on.
  • Monitoring the Activities of Garbage Collection in .NET Using CLR ProfilerJan 05, 2015. In this article we learn about garbage collection and it's generations as well as how we can monitor it using the CLR Profiler.
  • .NET Application Domain InternalsFeb 10, 2015. In this article, you‘ll drill deeper into the details of how an assembly is hosted by the CLR and come to understand the relationship between Application Domains (appdomain) and processes.
  • CLR Stored Procedures in SQL ServerMar 12, 2015. In this article we will learn about CLR Stored Procedures in SQL server.
  • Pass the Table Type Data to SQL CLR ObjectMar 19, 2015. In this article we will learn how to pass table type data to a SQL object.
  • Step-by-step Create CLR Stored ProcedureMar 26, 2015. In this article we will create a CLR stored procedure step by step.
  • ASP.Net 5 Part: 3May 15, 2015. In this article we will learn about ASP.NET 5.
  • C# FAQ 2 - About .NET Framework And Visual StudioOct 09, 2015. This FAQ examines the concepts associated with .NET Framework, CLR, Visual Studio, Visual Studio Community and Visual Studio Online.
  • C# Program Compilation Steps Oct 13, 2015. In this article we are going to understand C# Program compilation Steps & contains of .EXE file.
  • C# FAQ 3 - Getting Started With C#Oct 19, 2015. This article examines the basics concepts associated with C# programming such as CLR, Class libraries and namespaces.
  • .NET CLR Interview Questions and AnswersOct 23, 2015. In this article you will go through some important interview questions and answers on .NET Framework or CLR.

About CLR

NA

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
Download Free eBooks