ConfigEx 2.1.0

I’d like to introduce a library for accessing app settings in the App.config and Web.config. Unlike standard ConfigurationManager, ConfigEx additionally allows reading configs of other assemblies used in the project. Moreover, it is strongly typed, has a mechanism of settings overriding and allows apply automatic conversion of values.

Continue reading ConfigEx 2.1.0

Reading large XML files

Have you ever had a task to read and deserialize a large XML file? Like 500 MB, that is impossible just to read to the end and parse. I’ve faced such problem having an XML that looks like the following:

<?xml version="1.0" encoding="UTF-8"?>
<record id="0" Text="Some text for record 0" />
<record id="1" Text="Some text for record 1" />
<record id="2" Text="Some text for record 2" />
<record id="3" Text="Some text for record 3" />
...
<record id="1000000" Text="Some text for record 1000000" />

Continue reading Reading large XML files

WPF Async Pack

WPF Async Pack is a small library for creating asynchronous WPF applications. It’s not a framework, it was created mainly for the small applications where installing heavy frameworks is just overkill. It doesn’t have any dependencies and contains such the most used classes as AsyncCommand and BaseViewModel.

The library can be installed through the NuGet:

PM> Install-Package WpfAsyncPack

Continue reading WPF Async Pack

ResX Translation Tool 1.1

ResX Translation Tool Logo I’ve just released the first version of the helper application ResX Translation Tool that simplifies project localization and minimizes manual work with ResX files!

At work we develop an application that is localized for now into 3 languages. The base one, English, is maintained by our team. And previously we had to create the list of resources for translation into 2 other languages, and send this list in the Excel file to our customer. The next step was to update project’s resources with the new translated texts. A lot of manual work…

Continue reading ResX Translation Tool 1.1

Open XAML without design editor in Visual Studio

Just a quick post about Visual Studio setting that disables the design editor for XAML files. If you prefer to work only with source code without Designer, you can configure it in the Tools -> Options:

  • For Visual Studio 2013 enable the setting Always open documents in full XAML view in the Text Editor -> XAML -> Miscellaneous

Disable XAML design editor in Visual Studio 2013

  • For Visual Studio 2015 set the Default document view to Source View in the XAML Designer -> General

Disable XAML design editor in Visual Studio 2015