Archive for the ‘Silverlight’ Category

An Even Better .NET Regular Expression Tester

For a long time, I have been a fan of Derek Slager’s “Better .NET Regular Expression Tester”. As an an avid user of Visual Studio, I have gotten used to using F5 to quickly debug code; however, when using Derek’s tester, that refreshes the page and I loose all my work. Thus, I have created an “even better” tester in Silverlight which evaluates the input text against the pattern in real-time as well as displaying error messages about malformed patterns. Check it out.

Posted on January 28, 2012 at 9:28 am by Steve Konves · Permalink · Leave a comment
In: C#, Development, Regex Tester, Silverlight

Namespace change issues with Silverlight RIA Services

Problem Recently, at my job, we have implemented a naming convention across all .Net projects.  In the process of updating some old projects to the new naming convention, I ran across an issue that did not prevent the solution from building, but gave a pesky runtime error. InitializeError #2103 – Invalid or malformed application - Code# 2103 [...]

Posted on January 5, 2012 at 11:02 am by Steve Konves · Permalink · Leave a comment
In: Development, Silverlight

Bind to DataContext property from within a DataGrid

Problem Consider the following DataGrid: <sdk:DataGrid ItemsSource=”{Binding LineItems}” > <sdk:DataGridCheckBoxColumn Binding=”{Binding IsValueTrue }” /> </sdk:DataGrid> The DataGridCheckBoxColumn assumes that the objects contained in the collection “LineItems” each have a boolean property named “IsValueTrue” which will be displayed in the column for each record.  However, if you want to bind to a property on the ViewModel, you would reference the “LayoutRoot” [...]

Posted on November 28, 2011 at 2:23 pm by Steve Konves · Permalink · Leave a comment
In: C#, Silverlight

What’s in YOUR snippet picker?

I have recently been adding new, custom snippets to quickly stub out stuff when developing in the MVVM pattern.  Pattern programming is a great idea, but spending hours hand-typing ICommand implementations or notification properties can make you want to disavow patterns entirely and just shove it all in the code-behind. (For those of you who [...]

Posted on November 9, 2011 at 7:40 am by Steve Konves · Permalink · One Comment
In: C#, Development, Silverlight, Visual Studio

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

Posted on November 5, 2011 at 3:57 am by Steve Konves · Permalink · One Comment
In: Silverlight