News

Open Source Starter Kit Builds Runtime Repository for VS 2010 Dotfuscator Suite

PreEmptive Solutions released a Runtime Intelligence Endpoint Starter Kit aimed at early adopters of its new Dotfuscator Suite of tools in Visual Studio 2010.

Dotfuscator is a .NET obfuscator designed to help developers harden their apps and protect their managed code from reverse engineering and tampering. A community edition of the tooling has been a well-known component in Visual Studio since VS 2003. The new Dotfuscator Software Services in VS 2010 builds on the obfuscation by enabling tamper alerts, expiration activation, opt-in/opt-out logic and app instrumentation with the community edition of PreEmptive's Runtime Intelligence Service for .NET, first released in 2007.

Runtime Intelligence is a post-compile code injection technology that enables developers to monitor app usage by putting custom attributes into their source code, or selecting Instrumentation in the Dotfuscator user interface and defining entry and exit points using extended attributes. After the app is compiled, logic code is injected into the decorated methods to track usage data and session-level information. The runtime data is streamed via XML-based SOAP messages to an HTTP endpoint--an arbitrary URI or an RIS portal with basic dashboard and reporting features. The commercial version of the Runtime Intelligence Service is a multitenant repository, available as a hosted service or custom installation.

"The community edition does not come with a repository," said Sebastian Holst, chief marketing officer at PreEmptive Solutions. "You have to catch those signals yourself and do something with them."

The Runtime Intelligence Endpoint Starter Kit is an open source reference project for building a repository based on SQL Server Express 2005, MySQL 5.0 or later versions. Along with sample code and reference materials, it includes Dotfuscator CE to inject instrumentation into a sample application, a schema to store the SOAP packets in a repository and an example of a simple SharePoint Web Part to publish that data. The source code is licensed under Ms-RL. It requires .NET 3.5 (for the SharePoint Web Part) and Visual Studio 2010 Beta 1, or later versions. The Endpoint Starter Kit can also be used with the Java version of PreEmptive's obfuscation technology, DashO.

An earlier CodePlex project features the source code from a VS 2010 editor extension, presented by PreEmptive Solutions at Microsoft's Professional Developer Conference in November. The VS extension integrates Runtime Intelligence data to show gaps between code coverage, tests and usage data. It takes advantage of custom margins, inline adornments and other new code editor functionality.

The Dotfuscator Software Services Community Edition is available in all but the Express versions of VS 2010. It is also part of all of the Visual Studio test builds. The app instrumentation can be used with assemblies in all versions of .NET, the Compact framework, Silverlight XAP files, WPF, WinForms, WCF and Azure WebRoles.

"What is important about this approach is that because it is inside of Dotfuscator, a post-compile utility, things can be applied to anything that has ever been written," said Holst. "We are working with organizations that are refactoring to take advantage of Silverlight. They can inject the analytics into the legacy app as well as the new app to compare from a functional perspective how users are doing the same things but inside of new code."

About the Author

Kathleen Richards is the editor of RedDevNews.com and executive editor of Visual Studio Magazine.

comments powered by Disqus

Featured

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

  • Vibe Coding with Latest Visual Studio Preview

    Microsoft's latest Visual Studio preview facilitates "vibe coding," where developers mainly use GitHub Copilot AI to do all the programming in accordance with spoken or typed instructions.

  • Steve Sanderson Previews AI App Dev: Small Models, Agents and a Blazor Voice Assistant

    Blazor creator Steve Sanderson presented a keynote at the recent NDC London 2025 conference where he previewed the future of .NET application development with smaller AI models and autonomous agents, along with showcasing a new Blazor voice assistant project demonstrating cutting-edge functionality.

Subscribe on YouTube