C# Corner

Resources  
  • Extending MVC Controllers From External Assemblies And ProjectsJan 13, 2017. In this article you will learn how to extend MVC Controllers from External Assemblies and Projects.
  • Building Assemblies using VB.NETNov 10, 2012. This article discusses how to build assemblies and secure them from being tampered.
  • 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.
  • Unloading Assemblies in C#Jul 08, 2012. This article shows how to unload assemblies.
  • Finding What Are the Assemblies Are Loaded Currently in Current AppDomainMay 14, 2012. Determining what assemblies are currently loaded in the current AppDomain
  • How to Load .Net assemblies in powershellApr 11, 2011. In this article we will be seeing how to load the .Net assemblies in the powershell and how to access the methods.
  • 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.
  • Namespaces and Assemblies in C#Nov 27, 2009. In this article I will explain about Namespaces and Assemblies in C#.
  • Calling External Assemblies From Maps in BizTalkOct 30, 2009. In this article, I will cover how to call external assemblies from maps in BizTalk through a simple example of an external assembly which implements the logic of string concatenation.
  • Calling External Assemblies From OrchestrationsAug 07, 2009. In this article, I will cover how to call business logic contained in external assemblies from orchestration in order to reuse this component's logic. For the solution, I will create a library with a component which implements the string concatenation logic. Then this assembly will be referenced from an orchestration and the underlying method will be invoked.
  • Enhancements in Assemblies and Versioning in Visual Studio 2005May 01, 2006. The article discusses a couple of features introduced for assembly and versioning in Visual Studio 2005 such as referencing assemblies, registering assemblies to GAC, digital signing and friend assemblies.
  • How to work with Assemblies in InstallShield Developer 7.0Oct 14, 2004. InstallShield Developer 7.0 is the best solution for providing the very easy user interface to author installations having both .NET and side by side components. This article is a step by step walk through of how to create a deployment project using InstallShield.
  • Assemblies In .NET ApplicationAug 14, 2016. In this article, I am going to explain about assemblies in .NET. Also, we will see how we can create assembly with a strong name. This article will help you understand the assembly, deeply.
  • Assemblies in C#: Part 2May 27, 2015. This article explains assemblies in C# with an example.
  • Assemblies in C# : Part 1May 25, 2015. This article explains Assemblies in C#, a basic unit of application deployment and versioning.
  • Assemblies in ASP.Net using VB.NETNov 09, 2012. In this article we will discuss what assembly is and why we use it.
  • C# Friendly Assemblies: Looking at Building Truly Reusable ComponentsNov 01, 2006. This article discusses how we can hide our base class implementation and require referencing of our objects through their interfaces. This keeps our own projects loosely coupled and also allows us to publish our assemblies as truly reusable components because they are 100% “Black box”.
  • When to Delay Sign AssembliesAug 03, 2006. Delay signing plays a vital role in development when you are building assemblies. In this article, I talk about the significance and process of delay signing the assemblies.
  • Assemblies : The Ins and Out : Part IIIApr 20, 2001. In this part I will discuss in more detail than Part 2, the available utilities for manipulating assemblies.
  • Assemblies : The Ins and Out : Part IIApr 16, 2001. In this part, I will discuss both Private and Shared assemblies and how to create a Shared Assembly.
  • Assemblies : The Ins and Out : Part IApr 13, 2001. In Part 1, I will cover what exactly an assembly is, and what an assembly contains.
  • Debugging Tips - Part OneOct 24, 2017. A cool attribute to save some debugging time is DebuggerTypeProxy (Namespace: System.Diagnostics). Using this attribute, you can write your own logic to interpret the object at debug time. Meaning, if you have a list of class objects then you can project on certain properties and force debugger to show the value off of this proxy class. This attribute is applicable to Structures, Classes and Assemblies.
  • How To Secure PII Data In SQL Server Using .NET AssemblySep 21, 2017. PII (Personally Identifiable Information) is used to identify individual identity markers such as SSN, DOB, Bank Account Number etc. When you are working with financial applications you face a scenario where you have to store the data in encrypted format, so no one can see the actual data.
  • Boosting Up The Reflection Performance In C#Aug 10, 2017. Reflection is a way of obtaining metadata information about the types used in applications, which helps you describing the types, modules or assemblies at runtime. This is an extremely useful feature in the strongly-typed languages like C#.
  • Dependency Injection - Part Two - Five Reasons To Write Loosely Coupled CodeAug 09, 2017. A loosely coupled application has good isolation among its classes, modules and assemblies. Therefore, if we make a change to one part of the application, we only need to update the relevant modules. We do not need to make changes throughout the application.
  • Creating Your Own Operating SystemFeb 22, 2017. In this article, we will write our own bootloader using 16-bit assembly language to create our own operating system.
  • .NET Decompiling Tools: Part 1Jan 31, 2016. This article explains about decompiling tools for the .NET application and their features, how to use the tools to decompile assembly and assembly browser.
  • Private Public Assembly in .NETJan 24, 2016. In this article you will learn about Private Public Assembly in .NET.
  • Getting Users From Active DirectoryJan 02, 2016. In this post, we will fetch Active Directory users using C# code. For this, all we need are Active Directory assemblies.
  • Decompile An Assembly In C#Nov 18, 2015. In this article you will learn how to decompile an Assembly in C#.
  • How to Create Excel File Using C#Jun 06, 2015. This article shows how to create an Excel file using the interop assembly Microsoft.Office.Interop.Excel.
  • Autocomplete TextBox in WPF (Using Only .NET and WPF Libraries)May 31, 2015. In this source sample I show how to add the autocomplete functionality in your WPF application's TextBox control using your own model data, .NET assemblies and WPF assemblies.
  • Getting Assembly Metadata at RuntimeMar 28, 2015. This article shows how to get assembly metadata at runtime.
  • Directives in ASP.Net Web PagesMar 22, 2015. In this article we will learn about the Directives of ASP.Net Web Pages.
  • 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.
  • .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.
  • Overview of Fakes AssemblyJan 07, 2015. This article provides an overview of Fakes Assembly.
  • Things to Consider When Designing .NET ApplicationsNov 24, 2014. Proper design is a major factor that contributes to the scalability and performance of any .NET application.
  • 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.
  • Bypassing Obfuscation: Ciphered Code Reverse EngineeringNov 11, 2014. In this article, we have performed reverse engineering over a protected binary by deep analysis of both obfuscated source code and MSIL assembly code.
  • Anti-Reverse Engineering (Assembly Obfuscation)Nov 10, 2014. The modus operandi of this paper is to demystify the .NET assembly obfuscation as a way to deter Reverse Engineering.
  • Executing Assembly Code in C#Nov 10, 2014. This article explains how inline assembly programming by linking or invoking CPU-dependent native assembly 32-bit code to C# managed code.
  • Disassembling With Reflector: Part 1Nov 09, 2014. This article shows dissembling of the source code of an assembly using Reflector.
  • Disassembling With Reflector: Part 2Nov 09, 2014. This article shows how to reveal the license code information by dissembling its corresponding classes after backtracking the code flow execution.
  • Native Assembly Programming in .NETNov 07, 2014. In this article you will learn how to create both an EXE and a DLL file using the MASM programming language employing the Visual Studio IDE.
  • Advanced .NET Assembly Internals: Part 2Nov 07, 2014. This tutorial explains the difference between private and shared assemblies and see how private and shared are created.
  • .NET Assembly Internals: Part 1Nov 06, 2014. This tutorial drills down into the details of how the CLR resolves the location of externally referenced assemblies.
  • Native Image Generation in Managed CodeNov 01, 2014. This article explains how to write and execute high-performance .NET managed code by employing the Native Image Generator utility as well as some of its disadvantages and recommended scenario guidelines for its use.
  • .NET Binary Reverse Engineering: Part 1Oct 23, 2014. The prime objective of this article is to explain the .NET mother language called Common Instruction Language (CIL) that has laid the foundation of .NET.
  • Friend Assembly Using C#Jul 12, 2014. This article explains how to to provide access to one class but not all classes.
  • Reflection Concept and Late Binding in C#Jun 16, 2014. By this article I am trying to explain refection concept and the real time uses in projects.
  • Register Your Assembly in GAC Using Gacutil ExeMay 17, 2014. Here you will learn how to add an assembly to the Global Assembly Cache (GAC).
  • 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.
  • Microsoft Fakes; Testing the Untestable CodeApr 07, 2014. I have always been the great fan of TDD approach of coding. But recently, I've ran into case with a situation when the code was not Testable.
  • Learn MVC BasicsMar 18, 2014. The Model View Controller (MVC) pattern is an architectural design principal that separates components of web applications.
  • Additional Information About ASP.Net HeliosFeb 25, 2014. This article describes how to work with the AspNet.Loader.IIS assembly in the Helios Project without using the OWIN Host.
  • ASP.Net Page DirectivesJul 11, 2013. As a ASP.NET developer everyone have to have knowledge about Page Directive. If you are a fresher and you want to know about the page directive then you can read this article
  • 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.
  • Using Reflection with C# .NETMay 18, 2013. This article explains discovery of types at runtime using .NET Reflection. This article will also explain late binding that is very related to reflection.
  • Using LINQ in .NETMar 21, 2013. In this article we will discuss the LINQ approach introduced in .NET 3.5 for querying.
  • Implementing Generics Classes and Functions In C# ProgramsFeb 13, 2013. Today we'll have a look at how we can implements generics in our program and how we can make our functions, code more robust and less prone to changes in program code.
  • How to Register an Assembly or DLL in Web ApplicationsJan 18, 2013. In this article you will learn how to register an assembly or DLL in web applications.
  • Builder Pattern in VB.NETNov 10, 2012. Builder is an object creational design pattern that codifies the construction process outside of the actual steps that carries out the construction - thus allowing the construction process itself to be reused.
  • Getting Images From Scanners and Webcams using VB.NETNov 10, 2012. In this article I will show how to acquire pictures from imaging peripherals like scanners, webcams and so on, by calling some API functions, provided by the EZTW32.DLL library, and Visual Basic.
  • Reading Assembly attributes in VB.NETNov 10, 2012. This article allows you to read the assembly attributes information using .NET. The information store in AssemblyInfo files like Title, Description, copyright, Trade mark can be read using reflection and assembly namespace.
  • 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.
  • COM Interoperability in VB.NET Part 2Nov 10, 2012. This article elucidates how to build and install-managed code that will be used from COM applications. A classic COM server is activated using the Service Control Manager (SCM). It looks up numerous information such as CLSIDs, IIDs, ProgIDs etc.
  • Viewing Assembly Permissions in VB.NETNov 10, 2012. In this article I will show you how you can view the Code Groups that an assembly belongs to and what permissions belong to the assembly. I will demonstrate the Caspol utility supplied with the .NET SDK.
  • COM Interoperability in VB.NET Part 3Nov 10, 2012. In this article I cover the area how to use a COM server in a .NET client. Existing COM components are precious resources to your managed applications. So now let us observe how you can build a .NET Client that uses a COM Server.
  • Understanding How Assert Effects Security in VB.NETNov 10, 2012. This article expalins about how asserts effect security in VB.NET. How you restrict access to your library modules and resources requires that you understand the pros and cons in the security process used.
  • A Journey - From Binary to .NET: Part INov 09, 2012. Right now, everybody is discussing about .NET and its future in the near future. Is this all stuff only for advance users (developers)? Well ! Nobody is worried about that because the final aim for everybody is, Do I know this? If yes then what's next?
  • Attributes Programming in VB.NETNov 08, 2012. An attribute is a new code level language construct in all major .NET languages. It provides integration of declarative information to assemblies, classes, interfaces, members, etc. at the code level. The information can then be used to change the runtime behavior or collect organizational information.
  • Signing a Third Party Library With Ildasm and IlasmAug 11, 2012. Let see here what is not signed if you have a strongly named project assembly and third-party library.
  • Loading an Assembly on DemandJan 28, 2012. This article shows how to load a .NET assembly dynamically on demand. It explains how an assembly can loaded in a separate AppDomain, so unloading is not required.
  • Loading Assembly Dynamically and Calling Method (Modular Programming)Dec 12, 2011. Modular programming with silverlight is a really interesting topic. Because, Modularizing program plays a very important role while developing rich internet applications. As applications grow, there could be possibilities of performance hit due to not handling correctly.
  • Windows Azure - AppFabric Service - Client CreationOct 28, 2011. In this article you will see how to create a client to connect to the WCF Service using the AppFabric Service Bus feature.
  • Concept of Shared Assembly in .NETOct 22, 2011. This article describe the concept of shared assembly with Reflection in .NET.
  • Could not load type 'System.Data.Services.Providers.IDataServiceUpdateProvider' from assemblyJul 09, 2011. In this article we will be seeing how to resolve the error “Could not load type ‘System.Data.Services.Providers.IDataServiceUpdateProvider’ from assembly ‘System.Data.Services, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’”.
  • How to Get Data from EnterpriseLibrary 5.0Jul 07, 2011. In this Post you will see how to Bind Dropdownlist using Enterpriselibrary 5.0.
  • WPF: An Introduction (Part 2)Jun 17, 2011. This is the second part of an introduction to WPF; here we are going to learn WPF in detail.
  • How to Unload an Assembly Loaded Dynamically Using ReflectionJun 01, 2011. Unloading an assembly loaded dynamically using reflection.
  • Creating And Using Shared AssemblyApr 13, 2011. By default every assembly is a private assembly. If we add a reference to a private assembly to any project, a copy of the assembly is given to the project.
  • CLR Execution ProcessApr 13, 2011. Here you will see CLR Execution Process. The CLR which is the runtime environment for .Net, provides services such as Memory Management, Security Management, Exception Handling, and Cross language Integration.
  • All about Global Assembly CacheMar 31, 2011. This small article introduces the Global Assembly Cache for the beginners.
  • Assembly in .NET: Part 1Feb 01, 2011. An assembly in the .Net world is nothing but a DLL or an exe. It is a basic building block of any .Net application.
  • Web Solution Packages Jan 11, 2011. Managed code assemblies can be deployed to a SharePoint server using a new capability called Solution Deployment.
  • Silverlight with MEF, for dynamic downloading of XAP FilesDec 18, 2010. MEF i.e. Managed Extensibility Framework is a component of .Net Framework 4.0 and also added support to Silverlight 4.0. It actually simplifies the creation of extensible applications using extensions to develop encapsulated code without any hard dependencies, i.e we can load an assembly on demand from a specific location.
  • 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.
  • How to resolve "The type or namespace name 'SharePoint' does not exist in the namespace 'Microsoft'Nov 21, 2010. In this article we are going to see how to resolve The type or namespace name 'SharePoint' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) For console application in Visual Studio 2010.
  • Securing your .Net Assembly code Sep 17, 2010. Tips on how to secure your .net code from crackers.
  • Reflection in C#Apr 22, 2010. In this article I would like to explain how to load an assembly dynamically and display its forms with the help of Reflection.
  • Demystifying CLR: Part IMar 15, 2010. In this article, I am going to explain fundamentals of CLR.
  • Signing an Assembly in C# Mar 04, 2010. In this article I will explain you about Signing an Assembly in C#.
  • Security in .NET.Mar 02, 2010. In this article I will explain you about Security in .NET.
  • Windows Programming using C#Jan 05, 2010. In this article I will explain you about Windows Programming using C#.
  • Hello C#Nov 05, 2009. This short article is based on the classic “Hello, World” sample program familiarizes you with the language syntax and introduces the command line compiler.
  • .NET Framework and ArchitectureJun 26, 2009. This article will help your in understanding .NET and .NET architecture.
  • Introduction to Publisher Policy FileMay 06, 2009. This article explains about Assembly redirection using Publisher policy file.
  • 7 Steps to Write Your Own Custom Rule using FXCOPMar 04, 2009. FXCOP is one of the legendary tools which help us automate reviews using set of rules against compiled assemblies. This article will discuss some basics of FXCOP and then concentrate mainly on how we can add custom rules in FXCOP.
  • Creating Excel/Word/HTML Document Using C#Feb 24, 2009. This article describes a simple approach to create Excel/Word/HTML document using C#, ADO.Net dataset without using interop/excel assemblies reference.

About Assemblies

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!