Implement Settings Popup Pages for Windows Store Apps

Preface No, this is not the first sample to be found in the internet on this topic. Anyway, I decided to add another one because the two I was looking at (see links below) gave good ideas, but did not satisfied me at all. Changes to App.xaml.cs To begin, new …

Use OpenFileDialog and FileBrowserDialog in WPF

WPF does not contain a OpenFileDialog or FileBrowserDialog. Nevertheless, I needed them in a WPF application. Searching the web, I found several approaches. One published on GitHub (https://github.com/tillias/wpFolderPicker) implements a new control for folder browsing. But I wanted a “cheap” solution. And found the starting point here: WPF OpenFileDialog and …

Microsoft Advertising Services AdControl Transition in XAML/C#

Preface According to the documentation, AdControls are hosted in a WebView control. For some reasons I was not able to figure out, WebView controls do not slide in when a page loads (or pop in, whatever the correct wording is). This means that your AdControl will not slide in neither. …

Configure Microsoft Advertising Services’ AdControl using XAML/C#

Preface The Microsoft Advertising SDK for Windows 8 allows developers to show ads in their apps. When you look at the walkthrough for putting ads in an app using XAML/C#, you can see that you have to set the ApplicationId and AdUnitId property of each AdControl control in your app. …

Make Custom Class Item Templates for Windows Store Apps Visible in VS 2012

Make the Item Visible One very helpful feature of Visual Studio is the ability to create custom item or project templates. I’m using this feature for years to get a pre-formatted C# class, containing several regions. In VS 2012, one can set the directory where these custom item templates are …

Mimic app.config in Windows Store Apps

Preface I know, the concept of app.config files is not part of Windows Store App development. The docs and postings say that one should use local or roaming settings. But I needed something to pass environment depending initial data to the app. One scenario I can think of is the …

Microsoft Advertising Services Test Mode Sample for Windows 8

Microsoft offers a very simple way to show advertising in Windows Store apps. A starting point is adsinapps.microsoft.com. The Microsoft Advertising SDK for Windows 8 can be found here: msdn.microsoft.com/en-us/library/hh506371%28v=msads.10%29.aspx. The SDK docs lead you to a document, listing all the possible advertising test modes with their appropriate test values: …

Visual Studio UI Toolbox disappeared

I can’t recall if it was right after the initial installation, or if I hit any whatever key-combination to hide it, or closed it by mistake: The UI toolbox in my Visual Studio 2012 was not visible. First, I did not care because I didn’t needed it. But the point …

Using Membership and Authorization in ASP.NET MVC 4

With the introduction of .NET 4.5 and MVC 4, some changes to Membership and Authorization came along. To keep this posting as short as possible, I will just list the findings and refer to some postings I read. 1. Web Site Administration Tool is gone, and there is no replacement …