Pages

Monday, 17 September 2012

MetroLog - A lightweight logging system designed specifically for Windows Store and Windows Phone 8 apps


MetroLog is a lightweight logging framework designed for Windows Store and Windows Phone 8 apps. Although the API is based on NLog and log4net, the intention is that it's a very basic logging system.

The need for it to be basic comes from the fact that the Windows Store apps API surface area intentionally limited for very specific applications. This project came out of the fact that porting NLog to Windows Store apps is difficult because of it's incredibly rich feature set, most of which is not workable in Windows Store apps.

Read More

Sunday, 16 September 2012

Windows 8, XAML and Displaying Multiple Sized Items

One of the common layouts that you see in Windows Store applications is one that looks a little like the one below.
Windows 8, XAML and Displaying Multiple Sized Items


Want to get like this UI for your app, read more here

Referring to Package Files

When you’re working with a Windows 8 project in VS2012, you have some number of project files in your Solution Explorer. You have HTML files, CSS files, JavaScript files, images, and perhaps some XML or JSON or TXT files - something like that.

If, in the course of executing logic in your app, you need to access these files, there are a number of ways and you should know when you might use what and why… that’s as opposed to being incapacitated or stabbing in the dark.

Read More

Parsing CSV Files in WinRT

I am proud to announce that my CSV Parser for Windows RT is now available on MSDN Code Samples. Creating a CSV parser sounds like an easy task, but it’s the developer equivalent to quick sand. CSV stands for Comma Separted Values and, despite the name, the files in this "format" are often not fields separated by commas. Often, tabs or pipe characters are used instead. Additionally, parsing a CSV file is not as straightforward as it seems. One would think that it would be as simple as splitting the raw text first by line to get the records and then by delimiter to extract the fields.

Read More
Web Informer Button