Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Sunday, May 18, 2008

Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Articles & Samples > C-Sharp > Assembly
Search:
What's New - What's Hot

Assembly Attributes        
Total Hits: 44  |  Today: 0 Author: Ahmed Yassin       Rating:  
Read Reviews | Write Review |              Your Rating: 

Reflection allows you to programmatically inspect an assembly, and get information about the assembly, including all object types contained within. This information includes the attributes you have added to those types. The reflection objects reside within the System.Reflection namespace....

Demonstrating Custom Attributes: Build An Assembly Searching Tool.        
Total Hits: 28  |  Today: 0 Author: Lim Bio Liong       Rating:  
Read Reviews | Write Review |              Your Rating: 

Standard .NET attributes serve functionality similar to C++ preprocessor or pragma commands. They can be used to provide to the compiler additional information pertaining to some item in a program. They can be used to simplify certain programming tasks, e.g. setting security requirements declaratively (CodeAccessSecurityAttribute), controlling the physical layout of the data fields of a class or structure (StructLayoutAttribute), setting COM GUIDs to .NET classes (GuidAttribute), etc. They can e...

Extracting Embedded Images From An Assembly        
Total Hits: 29  |  Today: 0 Author: Josh Smith.       Rating:  
Read Reviews | Write Review |              Your Rating: 

This article examines a simple utility application, Embedded Image Grabber, which allows you to view, save, and copy images, icons, and cursors embedded in an assembly. The utility was compiled against v2.0 of the .NET framework, but the core functionality could easily be ported to v1.x, if necessary....

Calling C# assembly functions having same name differing only by case, in VB.NET        
Total Hits: 35  |  Today: 0 Author: r@hu!.       Rating:  
Read Reviews | Write Review |              Your Rating: 

I faced this issue today. I wanted to call a function written in C# from my VB.NET code, but I found out that the coder of the library had not followed Microsoft guidelines for interoperability and had used same name for two functions differing only by case having the same signature. I didn't have access to the C# code, so was helpless as VB.NET does not allow me to use any of these functions....

Extended Inline Assembly in GCC        
Total Hits: 11  |  Today: 0 Author: Gurvinder Singh       Rating:  
Read Reviews | Write Review |              Your Rating: 

Whatever is inside the asm call will be placed as is in the assembly output generated by the C compiler. This assembly output is then fed to the assembler. This kind of inline assembly is good for doing things which can not be directly done using C, but we cant place these instructions modifying registers in the middle of the C code. Because compiler will just place this code in the assembly output and it will generate the assembly for the C code without knowing that you are messing up with the ...

Using NetZ with Dynamically Loaded Assemblies        
Total Hits: 15  |  Today: 0 Author: Marc Clifton       Rating:  
Read Reviews | Write Review |              Your Rating: 

NetZ is a fantastic tool for merging your executable and dependent assemblies into a single, zipped, executable. Using NetZ makes distribution of an application very easy, and it provides a layer of protection from programs like Reflector without having to buy into an obfuscation approach. However, a NetZ application will not be able to resolve dynamically loaded assemblies, such as business rule plug-ins, extenders, or assemblies referenced in MyXaml-based applications....

Integrating Visual C++, Java and Assembly        
Total Hits: 9  |  Today: 0 Author: Zeeshan Amjad       Rating:  
Read Reviews | Write Review |              Your Rating: 

A few weeks ago I worked on a project in which java is involved. It is nice experience to integrate VC++, Java and assembly together to do something. So I decide to rewrite my C# article in which I call Assembly language from C# with the help of VC and now do the same thing with the help of VC++, Java and Assembly by using JNI (Java Native Interface)....

Sandcastle Help File Builder        
Total Hits: 19  |  Today: 0 Author: Eric Woodruff       Rating:  
Read Reviews | Write Review |              Your Rating: 

Sandcastle is the tool used for creating MSDN-style documentation from .NET assemblies and their associated XML comments files. The current version is the March 2007 CTP. It is command line based and has no GUI front-end, project management features, or automated build process that you can find in NDoc. I created the Sandcastle Help File Builder to fill in the gaps and provide some of the missing NDoc-like features that I use most often, as well as provide graphical and command line based tools ...

Editing the Interop assembly to pass array from COM DLL to C# App and vice versa        
Total Hits: 29  |  Today: 0 Author: Rabia Kl..       Rating:  
Read Reviews | Write Review |              Your Rating: 

The first step to connect between .NET components and COM components is to create an RCW, by:

1. Using the references dialog box of Visual Studio .NET , Or by
2. Using the TLBIMP command-line tool

The type library importer converts most COM method signatures into managed signatures, but it might not always be appropriate for the COM component. Here I describe how to modify the metadata inside the interop assembly....

Is someone using your assembly? (SecUtil.exe .Net FrameWork Tools Series)        
Total Hits: 33  |  Today: 0 Author: Namratha Shah.       Rating:  
Read Reviews | Write Review |              Your Rating: 

There are a lot of assemblies that we create in our projects daily. Have we ever wondered that all those assemblies that we write after putting in such a lot of hard work and effort could be easily used some one else.Also at times you dont want others to use a particular class or a method cause it may retriving some important or confidential information..Net by itself works on the concept of sharing assemblies between applications which enables rapid application development (RAD). We can secure ...

NetDasm - A tool for disassemble and patch .Net assemblies        
Total Hits: 91  |  Today: 0 Author: Fco. Javier Marin.       Rating:  
Read Reviews | Write Review |              Your Rating: 

A little tool for disassemble a .net's assembly IL code and made some patches.

For my application I have used Mono.Cecil, a very powerful library for modify IL code. If you want more info, visit Cecil homepage

I have been helped too by the Cecil article written by ronnyek: MonoCecilChapter1.asp...

Introduction to IL Assembly Language        
Total Hits: 42  |  Today: 0 Author: Sameers (theAngrycodeR).       Rating:  
Read Reviews | Write Review |              Your Rating: 

This article teaches the basics of IL Assembly language which can be used to debug your .NET code (written in any .NET high level language) at low level. From low level, I meant the point where the compiler of your high level language has finished his work. Also, using these basics, you can plan to write your own compiler for a new .NET language....

Using Satellite Assemblies to Isolate Localised Resources        
Total Hits: 39  |  Today: 0 Author: Alan Dean       Rating:  
Read Reviews | Write Review |              Your Rating: 

I have been developing shrinkwrapped software products for most of my professional career. Therefore, I have an abiding respect for internationalization and localization. In fact, it is something of a running joke to warn new developers who join not to kick me off on the subject. Of course, they will hear from me soon enough....

Shrinkwrapped products can end up in a bewildering set of environments and countries. Simply saying that your product will only run on {insert OS} with {insert la...

How to use a DLL from the GAC        
Total Hits: 614  |  Today: 0 Author: thiaguramani       Rating:  
Read Reviews | Write Review |              Your Rating: 

This article describes how to use DLLs which are in the GAC. The technique described is very useful to use common projects in a secure way. First, in the command prompt, go to the folder in which the project DLL is saved. Then, create a strong name for that DLL by using the command sn -k [strong name.snk]. Then, put that strong name in the [assembly: AssemblyKeyFile("strongnamepath")] line in assemblinfo.cs, and build that project. Again in command prompt, type gacutil /i [assemblyname]. Now, th...

Assemblies: locating, binding and deploying        
Total Hits: 364  |  Today: 0 Author: Cohen Shwartz Oren       Rating:  
Read Reviews | Write Review |              Your Rating: 

This article describes how the CLR locates and binds assemblies and how to change the default behavior when needed (e.g. in the deployment stage). Any developer and system administrator who deals with .NET assemblies, especially commercial applications, must be familiar with these topics. This knowledge is the best way to plan for service packs, upgrades and hot fixes as they come along. The .NET Framework is loaded (almost inflated) with a bunch of terms and features related to assembly deploym...

Dynamically Loading An Assembly        
Total Hits: 1701  |  Today: 0 Author: Adam Straughan       Rating:  
Read Reviews | Write Review |              Your Rating: 

It is sometimes required to load an assembly at runtime. I thought I'd answer one of the Forum questions, it's fairly simple so lets get on with it. The sample Solution contains 4 projects, PlugInTest is the test host, PlugIn is the interface that this plugin system uses the test implementations of the PlugIn interface that can be dynamically loaded Dynamic and Dynamic2....

Creating a .NET assembly in C#        
Total Hits: 2823  |  Today: 0       Rating:  
Read Reviews | Write Review |              Your Rating: 

In this article, Dinar Dalvi looks at assemblies in detail. He guides us as we learn about writing assemblies, signing them, adding them to the global cache, and how to write applications that use these assemblies. Along the way, he goes into detail about every aspect of assemblies....

Deploy .NET thick client application assemblies to remote server        
Total Hits: 4  |  Today: 0 Author: Indrajeet Valera       Rating:  
Read Reviews | Write Review |              Your Rating: 

This demo shows new way of deploying .NET thick client application assemblies, like Windows Forms and Console applications, to remote server which makes deployment and maintenance bit easier. This demo also concentrates on code security of .NET applications.During the days of VB, we use to prepare a setup file and were forced to run setup on each system....

Dynamic Creation Of Assemblies/Apps        
Total Hits: 13  |  Today: 0 Author: Sacha Barber       Rating:  
Read Reviews | Write Review |              Your Rating: 

This is a bit of a strange article, and may not be that useful, but I think its a very interesting subject, that some will probably not even be aware of. This article will cover some of the less known namespaces within .NET. Such as System.CodeDom and System.CodeDom.Compiler. What I will be demonstrating in this article, is just how neat these namespaces are and what can be done with them. Specifically I will be demonstrating that we are able to build entirely new source code files at runtime us...

Writing XAML Friendly Assemblies        
Total Hits: 9  |  Today: 0 Author: Marc Clifton       Rating:  
Read Reviews | Write Review |              Your Rating: 

This is my entry in the Code Project's Design And Strategy competition for March. It's very simple, and I hope you enjoy it!...


1  2  Next >> 


DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net