The WPF Performance Suite is a set of performance profiling tools that allow you to analyze the runtime behavior of your WPF application.
This suite includes the following tools:
- Perforator - for analyzing rendering behavior.
- Visual Profiler - for profiling the use of WPF services, such as layout and event handling, by elements in the visual tree.
- Working Set Analyzer - for analyzing the working set characteristics of your application.
- Event Trace - for analyzing events and generating event log files.
- ETW Trace Viewer - Record, display, and browse Event Tracing for Windows (ETW) log files in a WPF user-interface format.
The screeshot below is presenting how to Visual Profiler tool looks like:
Download WPF Performance Suite (x86 version)
Technorati Tags:
Profiler,
WPF,
Tools
This is second part of a two-part article about free online editors.The first part of article can be found here
widgEditor
widgEditor is an easily installed, easily customizable WYSIWYG editor for simple content. It replaces existing textareas with an improved editing pane using JavaScript .
Download widgEitor
Demo
JWYSIWYG
This plugin is an inline content editor to allow editing rich HTML content on the fly.
Download JWYSIWYG
Demo
NicEdit
NicEdit is a Lightweight, Cross Platform, Inline Content Editor to allow easy editing of web site content on the fly in the browser.NicEdit Javascript integrates into any site in seconds to make any element/div editable or convert standard textareas to rich text editing.
Download NicEdit
Demo
Whizzywig
It allows to create rich, formatted text through a web form. It actually creates HTML (or xhtml, if you prefer) .Whizzywig is cross-browser: it is written in Javascript, which will run in nearly all web browsers.
Download Whizzywig
Demo
Yahoo! UI Text Editor
The Rich Text Editor is a UI control that replaces a standard HTML textarea. It allows for the rich formatting of text content, including common structural treatments like lists, formatting treatments like bold and italic text, and drag-and-drop inclusion and sizing of images. The Rich Text Editor's Toolbar is extensible via a plugin architecture so that advanced implementations can achieve a high degree of customization.
Download Yahoo!UI Text Editor
Examples
markItUp!
markItUp! is a JavaScript plugin built on the jQuery library. It allows you to turn any textarea into a markup editor. Html, Textile, Wiki Syntax, Markdown, BBcode or even your own Markup system can be easily implemented.
Download martkUp!
Demo
Technorati Tags:
online,
editor,
web
Use the built-in browser to navigate to a web page. Silverlight Spy will automatically pick up any Silverlight application embedded in the page and display it in the XAML Explorer. The XAML Explorer presents the UI element structure of a Silverlight application. Explore the structure and view and edit the details of the selected UI element in the Details pane.
Features
- Convenient XAML UI element explorer
- XAML object property grid allows for getting and settings object property values
- Regeneration of XAML based on the UI element structure
- Statistics of used objects
- Statistics of used resources (images, video, fonts, etc.)
- UI element preview
- Extensive search
- Event Monitor
- XAP package inspection
- HTTP monitor
Download Silverlight Spy 2
Note: You must download and register(regsvr32) csexwb2 component before installing Silverlight Spy 2
Tag property is very often used to store a data associated with an object. The simple way to add support for Tag property is to create a base class with the Tag property .I don’t like this solution – the reason is simple .Sometimes I want to inherit from an existing class that doesn’t have the Tag property and I can’t change its source code .In WPF we have dependency properties that can help us in this case.
MyControl cnt = new MyControl();
cnt.SetValue(FrameworkElement.TagProperty, new Info() );
One problem – we still need to inherit from DependecyObject class.
The helper class below uses extension methods – to provide the tag functionality for your classes.
Of course, for better performance, you may change the dictionary(and methods) to be more type specific .
/// <summary>
/// Implements tag functionality
/// </summary>
static class TagHelper
{
/// <summary>
/// Adds the tag.
/// </summary>
/// <param name="element">The element.</param>
/// <param name="tag">The tag.</param>
public static void AddTag(this object element, object tag)
{
if (!tags.ContainsKey(element))
{
tags.Add(element, tag);
}
}
/// <summary>
/// Removes the tag for the specified element.
/// </summary>
/// <param name="element">The element.</param>
public static void RemoveTag(this object element )
{
tags.Remove(element);
}
/// <summary>
/// Clears the tags.
/// </summary>
public static void ClearTags()
{
tags.Clear();
}
/// <summary>
/// Gets the tag for the specified element.
/// </summary>
/// <param name="element">The element.</param>
/// <returns></returns>
public static object Get(this object element)
{
object tag;
tags.TryGetValue(element, out tag);
return tag;
}
private static Dictionary<object, object> tags =
new Dictionary<object, object>();
}
Technorati Tags:
c#,
dotnet,
snippet
NetFXHarmonics DevServer is a web server hosting environment built on .NET 3.5 using WPF, WCF, and LINQ technologies that allows multiple instances of VS-like web servers to run in parallel. NetFXHarmonics DevServer also includes tracing capabilities for monitoring view status code, date/time, URL, POST data , response data, request headers, response headers, as well as parsed ViewState and Control state for both the request and response, visually enhanced HTTP status codes, IP binding modes for both local-only as well as remote access, and easy to use XML configuration. You can trace text specific files like HTML, CSS, JavaScript, JSON, XAML, Text, and SOAP and their content.
Download NetFXHarmonics DevServer
DevServer Announcement and Overview
[Via David Bet'z Blog]
FCKeditor this HTML text editor brings to the web much of the power of desktop editors like MS Word.
Download FCKeditor
Demo
Damn Small Rich Text Editor - very small text editor.Built on top of well known JQuery library.
Download Damn Small Rich Text Editor
Demo
TinyMCE -Cross platform HTML WYSIWYG text editor .Supports templates, easy localizable and can be extended using plugins
Download TinyMCE
Demo
HotEditor - browser-based rich text editor that provides an advantage in simplifying the workload and providing options for integration to forum software
Download HotEditor
Demo
WYMeditor - simple cross platform XHTML web editor
Download WYMeditor
Demo
SPAW Editor is a web based in-browser WYSIWYG editor control enabling web site developers to replace a standard textarea html control with full-featured, fully customizable, multilingual, skinable web based WYSIWYG editor.
Download SPAW Editor
Demo
Technorati Tags:
online,
editor,
asp
My coworker wrote a interesting silverlight tool ,which allows to you test and play with string formatting syntax.
Or you can use it as a interactive online reference when you deal with strings and localization.
Check out string format tool
Technorati Tags:
silverlight,
tool,
c#
StickyNotes is a Visual Studio Addin that provides sticky notes capabilities to project and project items inside VS 2008 IDE.
Download StickyNotes Addin
PowerCommands is an addin for Visual Studio 2008 that contains additional command menu functions for the IDE that most developers would use regularly.
The PowerCommands Addin is available along with source code and documentation.
Below is a list of the features that you will currently find on in PowerCommands Addin for Visual Studio 2008.
- Collapse Projects - This command collapses a hierarchy in the solution explorer starting from the root selected node.
- Copy Class - This command copies a selected class entire content to the clipboard.
- Paste Class - This command pastes a class entire content from the clipboard.
- Copy References - This command copies a reference or set of references to the clipboard.
- Paste References - This command pastes a reference or set of references from the clipboard.
- Copy As Project Reference-This command copies a project as a project reference to the clipboard.
- Edit Project File-This command opens the MSBuild project file for a selected project inside Visual Studio.
- Open Containing Folder-This command opens a Windows Explorer window pointing to the physical path of a selected item.
- Open Command Prompt-This command opens a Visual Studio command prompt pointing to the physical path of a selected item.
- Unload Projects-This command unloads all projects in a solution.
- Reload Projects-This command reloads all unloaded projects in a solution.
- Remove and Sort Using's-This command removes and sort using statements for all classes given a project.
- Extract Constant-This command creates a constant definition statement for a selected text.
- Clear Recent File List-This command clears the Visual Studio recent file list.
- Clear Recent Project List-This command clears the Visual Studio recent project list.
- Transform Templates-This command executes the associated custom tool with text templates items.
- Close All- This command closes all documents.
Download PowerCommands for Visual Studio 2008
SourceMonitor measures and records source code metrics. SourceMonitor parses ASCII source code looking for countable metrics items. As these items are identified, their counts are accumulated for each source code file, and within each function or method. These metrics are then accumulated into summary metrics for all files in each checkpoint.If you develop software with Visual Studio, you can add items to your tools menu in Visual Studio that invoke SourceMonitor. You can also operate SourceMonitor from a batch file using commands stored in a text file. SourceMonitor measures metrics for source code written in C++, C, C#, VB.NET, Java, Delphi, Visual Basic (VB6) or HTML.Exports metrics to XML or CSV for further processing with other tools.
C# Metrics
- Statements
- Percent Comment Lines
- Percent Documentation Lines
- Classes, Interfaces, Structs
- Methods per Class
- Statements per Method
- Calls per Method
- Maximum Method Complexity
- Maximum Block Depth
- Average Block Depth
- Average Complexity
Download SourceMonitor
MS has released the .NET Reference Source Code, you can only get it one file at a time while you’re debugging. If you’d like to populate the cache, you’d may use Mass Downloader For .Net Framework which allows you do download .Net Framework source code in batch.The Mass Downloader For .Net Framework enables offline debugging of .Net Framework in Visual Studio 2008/2005(including Express Editions).
For configuration details you can check out the article in codeproject.com
Download The Mass Downloader For .Net Framework
Technorati Tags:
debug,
ms,
dotnet
DataGridView Extension is a free component that extends the standard DataGridView control, provided with .NET 2.0 Framework.
Features
- Customization the grid in IDE (design mode support for the background color and borders,default cell formatting, alignment,colors,column and row headers formatting, column sizing ...).
- Exporting the data within the data grid in several file formats (MS Excel,Html,PDF).
- Build-in print functionality
- Manage multiple DataGridView controls in a single project and to store all settings for every one of them
- The integrated security allows the developers to control what features are accessible for the end-user depending on the application’s logic.
- Intelligent searching capabilities.
- Set of custom column types (DateTime picker and Numeric Up/Down columns)
- All features are programmable through the API
DataGridView Extension Downloads
Cake3 library supports compressing and extracting files to/from different archive formats .The library can be easily integrated to your projects .
Usage of Cake3 library:
Compress
Cakdir3 cdir3 = new Cakdir3(@"c:\temp\arch.lha");
cdir3.AddOptions.addFolder = AddOptions.folderMode.relative;
cdir3.AddOptions.baseFolder = @"c:\temp\";
//Mask not supported in Cake3.
cdir3.AddOptions.addFile = new String[2] {@"c:\temp\arch.zip", @"C:\temp\test\image.bmp"};
cdir3.Add();
Decompress
Cakdir3 cdir = new Cakdir3(@"c:\temp\test.lha");
cdir.ExtractOptions.extractItem = new String[1] {cdir.Archive_Contents[0].fileName};
cdir.ExtractOptions.extractFolder = Utils.GetTempPath() + "qztemp";
cdir.ExtractOptions.allowFolder = true;
cdir.ExtractOptions.allowOverwrite = true;
if (cdir.Extract())
Console.WriteLine("Success");
Supported Archives(compress)
Zip archives (SharpZipLib)
7z archives (7-zip32.dll)
lha archives
Supported Archives(extract only)
- Zip archives (SharpZipLib)
- 7z archives (7-zip32.dll)
- Ace archives (acev2.dll)
- Arj archives (Unarj32j.dll)
- Lha archives (Unlha32.dll)
- Sqx archives (Sqx20.dll)
- Rar archives (unrar.dll)
- Cab archives (Xacrett.dll)
- Rar archives (Xacrett.dll)
- Yz1 archives (Xacrett.dll)
- Bga archives (Xacrett.dll)
- Gca archives (Xacrett.dll)
- Imp archives (Xacrett.dll)
- Zoo archives (Xacrett.dll)
- Arc archives (Xacrett.dll)
- Cpt archives (Xacrett.dll)
- Pit archives (Xacrett.dll)
- Arg archives (Xacrett.dll)
- Asd archives (Xacrett.dll)
- Zac archives (Xacrett.dll)
- MacBin archives (Xacrett.dll)
- Tar, Cpio, Rpm archives (Xacrett.dll)
- Shar archives (Xacrett.dll)
- Quake Pak archives (Xacrett.dll)
- Ar(Deb) archives (Xacrett.dll)
- Gzip archives (Xacrett.dll)
- Bzip2 archives (Xacrett.dll)
- Compress archives (Xacrett.dll)
- Pack archives (Xacrett.dll)
- Compact archives (Xacrett.dll)
- Freeze archives (Xacrett.dll)
- Belon archives (Xacrett.dll)
- Splint archives (Xacrett.dll)
- Jam archives (Xacrett.dll)
- MS-Compress archives (Xacrett.dll)
- Base64 archives (Xacrett.dll)
- UUEncoded files (Xacrett.dll)
- XXEncoded files (Xacrett.dll)
- BinHex archives (Xacrett.dll)
- Ish archives (Xacrett.dll)
- Boo archives (Xacrett.dll)
- BtoA archives (Xacrett.dll)
- Fish archives (Xacrett.dll)
- Jack archives (Xacrett.dll)
- Rez archives (Xacrett.dll)
- Cab(InstallShield) archives (Xacrett.dll)
- Dzip archives (Xacrett.dll)
- yEnc archives (Xacrett.dll)
- Dmg archives (Xacrett.dll)
- BriefLZ archives (Xacrett.dll)
- ISO (Xacrett.dll)
- Alz archives (Xacrett.dll)
- Lzx archives (Xacrett.dll)
- Jcalgl archives (Xacrett.dll)
- apLib archives (Xacrett.dll)
- Neo_ASK archives (Xacrett.dll)
Download Cake3
Pex (Program EXploration) is an assistant to the programmer.Pex takes test-driven development to the next level. Pex analyzes .NET programs. From a parameterized unit test, it automatically generates unit tests cases with high code coverage. In addition,when a generated test fails, it suggests to the developer how to fix the bugs.
Features
- With Pex, you can write parameterized unit test methods and leave to Pex the task of deciding which input is relevant to cover the code (or find bugs). Actually, parameterized unit tests are nothing but specifications. Pex integrates 'naturally' with existing unit test framework (VSTS, NUnit, MbUnit, etc...) by providing a set of custom attributes to tag Pex classes and tests.
- Call Pex directly from Visual Studio to start exploring the parameterized unit tests.
- Pex runs the parameterized unit tests with different input values. Pex monitors the execution and figures out why the program executed the way it did. This is represented as a boolean function over the test parameters. Pex then uses a constraint solver to compute new parameter values that make the program execute in a different way.
- From the parameterized unit tests, Pex generates classic unit tests that can be re-executed without Pex. Pex also tags the generated tests with additional information using attributes (for tools) and xml documentation (for humans).
- While exploring parameterized unit tests, Pex explicitly looks for program errors such as index out of bound or failing user assertions. Pex reports dynamically detected errors in the code.
- Sometimes Pex can automatically fix bugs! When a test fails, Pex traces back the involved values. Pex suggests additional checks to prevent the failure from happening again. Those checks are argument or invariant validation.
- Pex summarizes all the possible fixes in a prioritized table with quick preview.
- Pex integrates generated tests automatically inside the test project. Pex also avoids duplicate tests and recycles obsolete tests.
- Pex comes with a command line tool to execute any assembly containing Pex tests. Great for automation!
- Pex generates detailed HTML reports about the exploration process. The reports contains details about each generated tests, path conditions, suggested fixes, etc...
- Pex generates code coverage reports for each test.
- Pex has a built-in support for mocking interfaces and virtual methods. Pex generates the return values of mocked methods just like it generates test input for parameterized unit tests.
Watch the screencast
Technorati Tags:
nunit,
tdd,
pex
Microsoft SharedView is a fast, easy way to share documents and screen views with small groups of friends or coworkers.Share, review, and update documents with up to 15 people in real time.A Windows Live ID (Passport, Hotmail, or MSN) is required to start sessions, but not to join sessions.
Sharing an Application or Desktop Previewing what Attendees See Pointing and Highlighting Taking Control Tracking Results in Word Using Handouts Managing and Monitoring Participation
Download MS SharedView