Wednesday, June 4, 2008

.NET Utilities

.NET Utilities

FileHelpers
The FileHelpers are an easy to use library to import/export data from fixed length or delimited records in files, strings or streams.

Automatic C# Code Generator
ADCG (Automatic Data Class Generator) is a tool written to speed-up the writing of C# XML class structures.

Resx Editor
Resx Editor is a small translation-oriented file editor.

IP2Location Geolocation .NET Component
IP2Location .NET Component is fully managed code written for .NET Framework. The component enables you to discover in real-time, where your web visitors are coming from by IP address. You can then dynamically tailor the content of your site based on your visitors country, region, city, latitude, longitude, ZIP code, ISP and domain name. This component is using a fast and self-contained lookup engine. Therefore, no remote query or database connection required.

C#Studio
C#Studio is an Integrated Development Environment for the creation of C# based .NET applications. This product has been designed to offer an efficient and functional environment that is a joy for the hobbyist, novice or more experienced developer to use.

ANTER
Another Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++, C# or Java actions.

Grammatica
Grammatica is a parser generator for C# and Java. Readable and commented source code for an LL(k) parser can be created, but Grammatica also supports run-time parser creation without ever generating source code.

FxCop version 1.072
FxCop is a code analysis tool that checks your .NET assemblies for conformance to the .NET Framework Design Guidelines.

FindTypeEx
This is a modified version of the FindType sample that comes in the .NET SDK. This modification adds the ability to find all the types which derive (either directly or indirectly) from a specific base.

NUnit
A simple testing framework for .Net languages. Implemented in C#, applies to all .Net languages. Comes with a text mode for inclusion in automated builds, plus a GUI browser. Open Source.

Compiler Tools
These are compiler writing tools in the tradition of lex and yacc, but using C# as an implementation language. The tools are written using object-oriented techniques that are natural to C# and are provided in source form to assist an understanding of the standard algorithms used. ....

Resourcer for .NET
Resourcer is an editor for .resources binaries and .resX XML file formats used with the Microsoft.NET platform. The program is written in C# and allows the integration of bitmaps, icons and text strings into resource packages..

DatePicker for .NET
The DatePicker presented here is a .NET rewrite of the oulook control. It is a ComboBox-like control which shows a Calendar when dropped down.

WithClass 2000
UML Tool now has support for C#. It can reverse engineer C# into class diagrams and generate C# code. Reports for diagrams can be generated in Word, Excel and HTML. A free trial version is available at http://www.microgold.com

SharpDevelop
SharpDevelop is a free editor for C# (C Sharp) projects on Microsoft's .NET platform. It is open-source (GPL), and you can download both sourcecode and executables from this site. In addition, you can find the latest information and changes on SharpDevelop, as well as get in touch with its author, Mike Krüger.

NZipLib - A Compression Utility in C#
NZipLib is a by-product to our open source IDE SharpDevelop. It is free, C# source code included!

Reflector for .NET
Reflector is a class browser for .NET components (assemblies). It features with a hierarchical assembly view, type and member search index, type reference search, custom attributes view, IL disassembler and an MSDN-like viewer for XML documentations. Assembly dependency trees, supertype/subtype hierarchies and resources can be inspected as well. Function prototypes are displayed in C# and VB syntax. Windows XP enabled. In short: the swiss army knife for .NET programmers.

QuickModeler
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. It uses the VS.NET extensibility model and comes as a Microsoft Installer Package.

Assembly Explorer
In our project we developed a bunch of utility classes. For each one of them we had to create some kind of test application just to enter parameters and display result of method invoked. At some point I decided that WinForm we just created should be the last one. Why could not we create entry form on the fly for each method in utility class, we want to test? With this thought in mind, I dig out mine old little utility that uses reflection to display assembly hierarchy, and make couple of additions.

.NET Flat Control Library
The attached source code contains a library of basic flat controls. Controls are .NET based and can be used only in .NET supported programming languages (C#, VB .NET, J# etc.)

Code Analyzer Tool
Code Analyzer tool enables programmers and QA managers to check C# source for compliance with coding standards and best practices. Code analyzer enables to define your own "policy", which consists of set of rules that define how the code should look like.

Compiler Design in C#
In this section I'll share my experience with compiler design using C#. For now there isn't much, but hopefully someone will find this information useful.

vsPropertyGenerator
is an Add-On to Visual Studio .NET for easily creating/removing properties to C# classes. It works like "Generate Getters/Setters" feature from Eclipse IDE.

TraceView
TraceView is a debug utility that captures debug messages from shared memory DBWIN_BUFFER. It provides features such as trace selected processes, apply custom filters at runtime, level of tracing, log messages to log files, and persistent user settings.

TDO
The attached source code is a too called TDO (Typed Data Object). TDO is a C# source code generator which works on both versions Microsoft Framework .NET 1.0 and 1.1. This tool generates source code to work with databases including SQL Server 7 and SQL Server 2000.

Prof-It: A C# Profiler
Prof-It is an easy-to-use standalone profiler for C# that measures execution frequencies for each statement while keeping the instrumentation of the source code to a minimum. An optimized strategy for finding basic blocks, incrementing their counters and calculating counters from others makes Prof-It faster than every other profiler, that can collect execution frequencies for each line of code!

FxCop
FxCop analyzes programming elements in managed assemblies, called targets, and provides an informational report containing messages about the targets, including suggestions on how to improve the source code used to generate them.

Labels: ,

.NET Tools

.NET Tools

ASP.NET IIS Registration Tool (Aspnet regiis.exe)
This tool is to facilitate the administrator or the installation program to update the script maps for ASP.NET application. This helps point the ASP.NET ISAPI version associated with the tool and also to perform other configuration operations.

The Assembly Cache Viewer(Shfusion.dll) This tool is used for viewing and manipulating the contents of the global assembly cache using the Windows explorer.

Assembly Linker (Al.exe)
This tool helps generate a file with an assembly manifest from one or more files that are either resource files or MISL files (Microsoft Intermediate Language files).

Assembly Registration Tool (Regasm.exe)
This tool is used to read the metadata within an assembly and adds the necessary entries to the registry. This in turn allows the COM clients to create .NET Framework classes transparently.

The Assembly binding log viewer (Fuslogvw.exe)
This tool is used to display details of failed assembly binds so that users can diagnose why the .NET framework cannot locate an assembly at runtime.

CorFlags Conversion Tool (CorFlags.exe)
Allows you to configure the CorFlags section of the header of a portable executable image.

Global Assembly Cache Tool (Gacutil.exe)
Allows you to view and manipulate the contents of the global assembly cache and download cache. While Shfusion.dll provides similar functionality, you can use Gacutil.exe from build scripts, makefile files, and batch files.

Installer Tool (Installutil.exe)
This tool helps the user install or uninstall server resources by executing the installer components of a specified assembly.

Isolated Storage Tool (Storedm.exe)
Lists or removes all existing stores for the currently logged-on user.

Native Image Generator (Ngen.exe)
This tool creates a native image from a managed assembly and installs it in the native image cache on the local computer.

The .NET Framework Configuration Tool. (Mscorcfg.msc)
The .NET Framework security policy and applications that use remoting services are managed by this graphical user interface. The global assembly cache can be managed ant configured using this tool.

The .NET services Installation tool (Regsvcs.exe)
The managed classes are added to Windows 2000 component services using this tool. The services are loaded and registered into the assembly and the type libraries are generated, registered and installed into an existing COM + 1.0 application.

XML Serializer Generator Tool(Sgen.exe)
The XML serialization assembly for types in a specified assembly is created by this tool. This helps in improving runtime performance of the
System.Xml.Serialization.XmlSerializer

Soapsuds Tool (Soapsuds.exe)
This tool helps the user compile client applications that communicated with XML Web services using remoting.

Type Library Exporter (Tlbexp.exe)
Generates a type library from a common language runtime assembly.

Type Library Exporter (Tlbimp.exe)
The type definitions found within a COM type library is converted into equivalent definitions managed in metadata format.

Web Services Description Language tool. (Wsdl.exe)
This Generates code for XML Web services and XML Web services clients from Web Services Description Language (WSDL) contract files, XML Schema Definition (XSD) schema files, and .discomap discovery documents.

Web Services Discovery Tool (Disco.exe)
This tool is used to discover URLs of XML Webservices located on the server and saves documents related to the XML web service on a local disk.

XML Schema Definition tool(Xsd.exe)
This tool helps generate XML schemas that follow th XSD language proposed by the World Wide Web Consortium (W3C). It also generates common runtime language classes and Data Set classes from an XSD schema file.

Microsoft CLR Debugger (DbgCLR.exe)
The graphical user interface provided by this tool helps application developers find and fix bugs in programs that target the runtime.

Runtime Debugger (Cordbg.exe)
This tool provides a command line debugging service that uses the Common Language Runtime Debug API to find and fix bugs in programs that target the runtime.

Certificate Creation Tool (Makecert.exe)
This tool generates X.509 certificates for testing purposes only.

Certificate Manager Tool (Certmgr.exe)
This tool Manages certificates, certificate trust lists (CTLs), and certificate revocation lists (CRLs).

Certificate Verification Tool (Chktrust.exe)
This tool is useful in the verification of the validity of a file signed with X.509 certification. This tool ships with the .NET Framework SDK version 1.0 and 1.1. For later versions users must use the Sign Tool (signtool.exe)

Code Access Security Policy Tool (Caspol.exe)
This tool allows users examine and modify machine, user, and enterprise-level code access security policies

File Signing Tool (Signcode.exe)
Signs a portable executable (PE) file with an Authenticode digital signature. The File Signing Tool only ships with the .NET Framework SDK version 1.0 and 1.1. In later versions of the .NET Framework SDK, use the Sign Tool (signtool.exe) utility instead.

Permissions View Tool (Permview.exe)
Displays the minimal, optional, and refused permission sets requested by an assembly. You can also use this tool to view all declarative security used by an assembly.

PEVerify Tool (PEverify.exe)
Performs MSIL type safety verification checks and metadata validation checks on a specified assembly.

Policy Migration Tool (Migpole.exe)
Migrates security policy between two compatible versions of the .NET Framework.

Secutil Tool (Secutil.exe)
Extracts strong name public key information or Authenticode publisher certificates from an assembly, in a format that can be incorporated into code.

Set Registry Tool (Setreg.exe)
Allows you to change the registry settings for the Software Publishing State keys, which control the behavior of the certificate verification process. The Set Registry tool only ships with the .NET Framework SDK version 1.0 and 1.1. In later versions of the .NET Framework SDK, use the Sign Tool (signtool.exe) utility instead.

Sign Tool (signtool.exe)
Digitally signs files, verifies signatures in files, and time stamps files.

Software Publisher Certificate Test Tool (Cert2spc.exe)
Creates, for test purposes only, a Software Publisher's Certificate (SPC) from one or more X.509 certificates.

Strong Name Tool (Sn.exe)
Helps create assemblies with strong names. Sn.exe provides options for key management, signature generation, and signature verification.

License Compiler (Lc.exe)
Reads text files that contain licensing information and produces a .licenses file that can be embedded in a common language runtime executable.

Management Strongly Typed Class Generator (Mgmtclassgen.exe)
Allows you to quickly generate an early-bound class in C#, Visual Basic, or JScript for a specified Windows Management Instrumentation (WMI) class.

MSIL Assembler (Ilasm.exe)
Generates a PE file from Microsoft intermediate language (MSIL). You can run the resulting executable, which contains MSIL code and the required metadata, to determine whether the MSIL code performs as expected.

MSIL Disassembler (Ildasm.exe)
Takes a PE file that contains MSIL code and creates a text file suitable as input to the MSIL Assembler (Ilasm.exe).

Resource File Generator Tool (Resgen.exe)
Converts text files and .resx (XML-based resource format) files to .NET common language runtime binary .resources files that can be embedded in a runtime binary executable or compiled into satellite assemblies.

Windows Forms ActiveX Control Importer (Aximp.exe)
Converts type definitions in a COM type library for an ActiveX control into a Windows Forms control.

Windows Forms Class Viewer (Wincv.exe)
Finds managed classes matching a specified search pattern, and displays information about those classes using the Reflection API. The Windows Forms Class Viewer only ships with the .NET Framework SDK version 1.0 and 1.1.

Windows Forms Resource Editor (Winres.exe)
Allows you to quickly and easily localize Windows Forms forms.

------

Labels: