webmaster

Stories kicked by webmaster

Lighthouse – Silverlight Unit Test Runner Project released(blog.roboblob.com)

submitted by spavkovspavkov(1713) 1 year, 2 months ago

Since the initial release of Silverlight i was really annoyed by the fact that Unit Testing had very slim support. Even later when Silverlight Unit Testing Framework was introduced by Microsoft things became little better but still it was far from good. You could create Unit Tests, but you had to start your Visual Studio in order to run them – eventually looking at the results of tests in your favorite Web Browser... read more...

add a comment |category: |Views: 105

tags: another

Microsoft Silverlight 4 Certification, is it worth the ride?(blog.roboblob.com)

submitted by spavkovspavkov(1713) 1 year, 3 months ago

Now some good news folks: I received the confirmation that I successfully passed the Silverlight 4 Microsoft Certification. I was too busy to immediately brag about it and write a show-off post so I will here just quickly share my thoughts on how all this went before my brain moves these impressions to non-accessible-memory-banks-prepared-for-deletion. read more...

add a comment |category: |Views: 224

tags: another

Design Patterns Series: The Decorator Pattern(blog.image0.com)

submitted by image0image0(189) 1 year, 3 months ago

The Decorator Pattern explained using C# and real-world examples. read more...

add a comment |category: |Views: 55

tags: another

Introducing the Prism Navigation Framework for Silverlight MVVM Apps(blog.roboblob.com)

submitted by spavkovspavkov(1713) 1 year, 7 months ago

After receiving a lot of positive feedback and requests for source code for my previous post on Prism navigation i decided to release the code i had as open source project. This is how Prism Navigation Framework project was born. My intention was to create simple-to-use but powerful-and-feature-full Navigation Framework for building Silverlight MVVM applications with Prism... read more...

1 comment |category: |Views: 278

tags: another

Combining Silverlight Navigation Framework & Prism to create MVVM Apps(blog.roboblob.com)

submitted by spavkovspavkov(1713) 1 year, 7 months ago

This is introductory post for a series of posts where i will try to tackle the holy grail of MVVM applications – Navigation. To do this I will be using Prism from Microsoft’s Patterns and Practices team (Silverlight version – latest drop) combined with Silverlight Navigation Framework and i will build small navigation framework on top of that... read more...

add a comment |category: |Views: 157

tags: another

Silverlight TextBox Control that immediately updates Text field(blog.roboblob.com)

submitted by spavkovspavkov(1713) 1 year, 10 months ago

Standard Silverlight TextBox control is very useful but has one strange behavior: if you use TwoWay data binding and bind some property to controls Text property, when users type text into the control, this change is not propagated to the bound property until the control loses its focus. Lets see how to solve that problem easily... read more...

1 comment |category: |Views: 162

tags: another

Silverlight MergedDictionaries – styles & resources from Class Libs(blog.roboblob.com)

submitted by spavkovspavkov(1713) 1 year, 11 months ago

If you were developing larger Silverlight/WPF applications and trying to keep things like styles, control templates and other resources organized it can become really hard. Prior to Silverlight 3 it was hell to be honest. But then nice people from Microsoft introduced lovely little feature called MergedDictionaries that allows you to combine the resources from different places in your application. read more...

add a comment |category: |Views: 101

tags: another

Unit Testing Modal Dialogs in MVVM and Silverlight 4(blog.roboblob.com)

submitted by spavkovspavkov(1713) 2 years, 1 month ago

As feedback to my recent post on Modal Dialogs in MVVM and Silverlight 4 I have received comments that the solution is not easy to Unit Test so i decided to create small blog posts on this subject just to show how simple and clean it is to do this... read more...

add a comment |category: |Views: 243

tags: another

Unit Testable WCF Web Services in MVVM and Silverlight 4(blog.roboblob.com)

submitted by spavkovspavkov(1713) 2 years, 1 month ago

I figured that there has to be a better way to solve this everyday problem so while working on my personal MVVM framework (yes, everyone is building one these days) i was setting these goals regarding the Web Service calls from my MVVM applications: 1. simplify as much as possible asynchronous invocation of Web Service methods (avoid writing boring boilerplate code for each call) 2. get rid of the Add Service Reference approach completely if possible 3. make the Web Services unit testable (hide them behind some interface so we can mock them in our unit tests) 4. simplify exception handling 5. fault tolerance (if web service client is faulted by exception it should be automatically recreated) ... read more...

add a comment |category: |Views: 268

tags: another

Unit testing and mocking internal interfaces with RhinoMocks(blog.roboblob.com)

submitted by spavkovspavkov(1713) 2 years, 3 months ago

Im not the kind of purist that will avoid unit testing internal classes. If its some very important code i want to test it even if its internal. Another case when i want to access internal classes is when i want to test some public class that uses some internal classes (via their interfaces). In this scenario i need to be able to mock those internal interfaces that the public class is using in order to be able to instantiate it and unit test it. read more...

add a comment |category: |Views: 227

tags: another

Binding UI Events from View to commands in ViewModel in Silverlight 4(blog.roboblob.com)

submitted by spavkovspavkov(1713) 2 years, 4 months ago

In previous two posts we covered wiring up the Views and ViewModels and Blendability and showing ModalDialogs in MVVM way. Today we will touch another problem that people starting with MVVM very often fail to address properly: Handling the UI Events of the View in the ViewModel while avoiding placing any logic in code behind of the View. So our design goals for this post are: * We want to be able to wire-up UI Events to the commands in ViewModel via DataBinding in Xaml without any code behind in the View * View should not be aware of the ViewModel’s type or any other details of its existence – View should just use Silverlight’s DataBinding to access its ViewModel public properties (its DataContext) regardless of what is actually set to be there * We want to be able to handle any event that occurs in View (that includes not only Button clicks but also Mouse events, Drag and Drop events, Loaded events etc). read more...

add a comment |category: |Views: 281

tags: another

Modal dialogs with MVVM and Silverlight 4(blog.roboblob.com)

submitted by spavkovspavkov(1713) 2 years, 4 months ago

In this post i would like to tackle another problem that is very common in MVVM and yet very rarely done correctly. I will try to provide simple and platform agnostic way of showing Modal Dialogs in MVVM manner without any code in View (later in the post we will reuse same concept and provide way to show simple message dialogs in the same way). read more...

add a comment |category: |Views: 88

tags: another

Wiring up View and Viewmodel in MVVM and Silverlight 4 – Blendability(blog.roboblob.com)

submitted by spavkovspavkov(1713) 2 years, 4 months ago

Im a BIG fan of Silverlight and also i really like the Model View ViewModel pattern. Nice part is that those two fit perfectly. The downside is that everyone is doing MVVM the way they like it or the way they think they like it. There is no strict guidance, there are no ‘Bible’ kind of books written on the subject, there is only a enormous pile of information (of varying quality) on the web contributed by developers all over the world trying to (ab)use this pattern in their everyday practice. (probably you can take this post as just another small contribution to that information pile on the MVVM). read more...

add a comment |category: |Views: 124

tags: another

Silverlight 4 WebCam Motion Detector demo(roboblob.com)

submitted by spavkovspavkov(1713) 2 years, 5 months ago

Silverlight 4 WebCam Motion Detector demo done in VS2010 Beta 2 read more...

add a comment |category: |Views: 377

tags: another

Old school demo effect Plasma - in Silverlight 3 with WriteableBitmap(aspdotnetfaq.com)

submitted by spavkovspavkov(1713) 2 years, 10 months ago

just to make your eyes dizzy... :) read more...

add a comment |category: |Views: 111

tags: another

How to add "Open with reflector" to your right-click actions(itscodeinhere.com)

submitted by RhythmAddictRhythmAddict(440) 2 years, 10 months ago

A tip for convenience, this post provides instructions on how to easily add "Open with reflector" to your windows explorer right-click menu so you can right-click and open any DLL with reflector. read more...

6 comments |category: |Views: 271

tags: another