So you have your web application built in Visual Studio on Windows 10. You run your application locally and it…
Blog
Get started with WPF and MVVM – Build a Music Library using a DataGrid
Who is this blog post for? You are a beginner in creating Windows desktop application. You are interested in writing…
Nancy over ServiceStack
From Lightweight Nancy to ServiceStack Working on a project for a client, I decided to use ServiceStack. I found ServiceStack’s…
Dangerous Designs with RESTful thinking
Towards a better RESTful service REST web services allows disparate network to communicate on the internet using a predetermined format. While…
Want to bind to a WPF ConverterParameter?
The other day I was working on a WPF functionality that requires me to format a user input from a DatePickerTextBox.…
WPF did you know series #3: the following code snippets are the same
Snippet 1:
1 |
<Button xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation” Content=”OK”><br /> <Button.Background><br /> <SolidColorBrush Color=”White”/><br /> </Button.Background><br /></Button> |
Snippet 2:
1 |
<Button xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation”<br />Content=”OK”><br /> <Button.Background><br /> <SolidColorBrush><br /> <SolidColorBrush.Color><br /> <Color A=”255” R=”255” G=”255” B=”255”/><br /> </SolidColorBrush.Color><br /> </SolidColorBrush><br /> </Button.Background><br /></Button> |
Snippet 3:
1 |
System.Windows.Controls.Button button = new System.Windows.Controls.Button();<br />button.Content = “OK”;<br />button.Background = (Brush)System.ComponentModel.TypeDescriptor.GetConverter(typeof(Brush)).ConvertFromInvariantString(“White”); |
Snippet 1 uses in-built converters to convert “special” type…
WPF did you know series #2: margin and padding
I’ve been reading WPF Unleashed by Adam Nathan. I will be posting my lesson’s learnt in the form of small code…
WPF did you now series #1: you can run XAML from Internet Explorer
Dear reader, It’s being a while, I know. Got married, changed jobs, moved cities, and a newly minted daddy to…
Apps I Use
Sometimes I get asked what apps I use on my phone and iPad. On my Google Nexus S, I mostly…
Do you get confused identifying which w3wp.exe to attach to in Visual Studio?
Two options for you: Option 1 (from command prompt) – In IIS 6: run %windir%system32cscript iisapp.vbs – In IIS 7: %windir%system32inetsrvappcmd.exe list wp…