Hello Ghost!

Well, I finally got tired of having a blog engine that I could not easily customize myself (Wordpress) and having to pay someone to deal with the themes and plugins and PHP craziness of that platform for me. So I am now on Ghost, and liking what I see so far. Still have some work to do to get it fully the way I want it, but already liking the pure HTML/CSS/JavaScript nature of it... an arena I am completely comfortable with these days. Now I just need to blog more to take advantage of it... how many…

read more...

Demos and Slides from DEVIntersection Europe

Had a great couple of days here in Amsterdam speaking at DEVIntersection Europe. Great venue and a great crowd of attendees. For those of you who attended my talks – Thanks! Anyone who is interested in the content can grab the slides and demos below. Rich Data Services with ASP.NET Web APISlidesDemos Build Maintainable and Extensible WPF Applications with PrismSlidesDemos WPF Data Binding in DepthSlidesDemos Enjoy!…

read more...

Prism 6 for UWP, Prism 6 for WPF update + a new logo to adorn its new home

Back in the spring we announced that the Prism framework had gone open source and that Brian Lagunas and myself would be the primary owners of the framework moving forward. We also joined the .NET Foundation, and they have been awesome at helping us quickly mature into a fully functioning open source project team. Now we have an official logo for the project that you will see us using moving forward on the project. Behold! LogoWithTextMWhite" title="Prism_Logo_WithText_M_White" /> We have been working hard on getting an initial release out since turning full OSS, which we are…

read more...

Using MVVM in a Reusable UserControl

In my Pluralsight Course WPF MVVM In Depth I cover all the fundamentals of the MVVM pattern and show how to handle a wide range of scenarios, including hierarchical MVVM – when you have a nested hierarchy of View/ViewModel pairs containing child Views/ViewModels to form a composite view for the user. In those cases, there is usually explicit knowledge in the parent ViewModel of the child ViewModel(s) so that the parent VM can have a supervisory relationship with its children. I cover that setup in my course and show how the child Views can be rendered based on…

read more...

Prism.Windows for Windows 10 UWP Initial Port complete

So I finally sliced off some time this 4th of July weekend to do the initial migration of Prism for Windows Runtime to Prism 6 for UWP. Most things came over without any difficulty. If you are not familiar with the core functionality that Prism for Windows Runtime provided, here it is in a nutshell: MVVM supportthrough an Application base class, Page base c;lass, and ViewModel base class that let you implement the MVVM pattern while still letting your UI logic (that should mostly live in your ViewModels and client side services) manage everything ViewModelLocator for connecting views…

read more...

Building Windows 10 UWP Apps Caparea.net talk

Tuesday night I gave a talk at our Caparea.net user group on Windows 10 UWP development. Had a good crowd and a lot of good questions. Wanted to share my slide deck here in case anyone wants it for reference. Slides Demos were mostly from the platform SDK samples found here: https:// github.com/Microsoft/Windows-universal-samples And my one converted 8.1 app I showed you can grab here. Enjoy!…

read more...

NOVA Code Camp Slides and Demos

I had fun today speaking at the Northern Virginia (NOVA) Code Camp at the Microsoft Reston offices. I gave the keynote and a session on Securing Angular Apps. Wanted to share the slides and demos for those who would like to take a look. Mobile+Cloud Keynote Slides Securing Angular Apps Slides Securing Angular Apps Demos Enjoy!…

read more...

WPF: Using PasswordBox in MVVM

One question that often pops up as people start digging into using the MVVM pattern is: “How do I use PasswordBox with MVVM?” The basis for this question is usually that they tried, but quickly discovered that the Password property on PasswordBox is not a DependencyProperty, therefore it cannot be the target of a Binding, and therefore there is no straightforward way of reading and writing the value through a binding to a property in your ViewModel. So the first thing you have to ask yourself before you pursue an MVVM-compatible solution is: Am I using PasswordBox just to get…

read more...

HelloWorld Prism for Windows Runtime 2.0

I put together a short video to supplement my Pluralsight course Building Windows Store Business Apps with Prism because a new release of Prism for Windows Runtime has come out since I created the course and there are some minor differences in where the different classes live within the assemblies and some of the MvvmAppBase virtual method signatures. You can download or view that video here. The video walks through creating a HelloWorld app with Prism for Windows Runtime 2.0, including setting up your application class, your first view and view model, using the ViewModelLocator to tie them together,…

read more...

DevIntersection Slides and Demos

Had a great week last week speaking at DevIntersection. Really fun conference that you ought to check out if you have not already. For those that attended… thanks! For them and anyone else who wants to check out my slides and demos from my sessions, here you go: Building Azure Mobile Services with ASP.NET Web API[Slides](https://dl.dropboxusercontent.com/u/7366831/downloads/Conferences/DevIntersection/Noyes_Azure_Mobile_Services_With_ASPNET.pdf)[Demos](https://dl.dropboxusercontent.com/u/7366831/downloads/Conferences/DevIntersection/DevIntFall2014_AzureMobileServices_Demos.zip)Building Rich Data Web APIs with ASP.NET OData[Slides](https://dl.…

read more...

Be-Aware of differences in explicit and implicit deserialization with DCS

DataContractSerializer (DCS) is the class that is used by WCF to serialize and deserialize messages when you make service calls. It is also sometimes used on its own to read and write objects to a stream, such as inside the WinRT SuspensionManager class. It works great and is very powerful, even being able to handle circular references inside the object graph that you are serializing (such as a parent object having a collection of child objects inside a collection property, and each of the child objects having a parent object reference through a navigation property). The DCS supports several kinds…

read more...

NYC Code Camp Slides and Demos

Had a great time speaking at the NYC Code Camp this weekend at the Microsoft Offices in Times Square. For those that attended or others who just want the goods, below are the slides and demos I presented there. Build Data-Centric HTML5 Client Apps with Breeze:SlidesDemos AngularJS JumpStart:SlidesDemos Enjoy!…

read more...

Two Weeks a Windows Phone User

So I decided to make the switch from iPhone to Windows Phone a couple weeks ago, and thought I would share my experiences after two weeks on the platform. Thanks to Nick Landry (@ActiveNick) for giving me the final nudge I needed to make the switch. This is actually my third try making the switch, but it is going much better than the first two. The very first was when Windows Phone first came out. Back then the platform was pretty raw and there simply were not enough apps. Second try was in the Windows Phone 7.5 days… again,…

read more...

Working with Breeze Lookup Queries

One capability of Breeze that is often overlooked or not fully understood is executing queries that bring back multiple collections of data. These are often referred to as lookup queries because they are a perfect fit for going to the server one time to get back a collection of lists that can be used for populating “lookup lists” – lists of objects that you will use to populate drop down lists or other selection lists in various places in the application. These are often coded lists of allowable values for an enumerated property on some object you are going to be…

read more...

Reusable Async Validation in WPF with Prism 4.2

I recently wrote a post on implementing a reusable validation base class for models and view models in WPF using Prism 4.2 on the Pluralsight blog. You can find the whole article here: http://blog.pluralsight.com/async-validation-wpf-prism…

read more...

VSLive! Chicago Sessions

Had a great week presenting at VSLive! Las Vegas last week and am already looking forward to presenting again at VSLive! Chicago next. You can register for that conference with this link http://bit.ly/CHSPK22_Reg. In Chicago I’ll be presenting the following: Full day workshop: Data-Centric Single Page Apps with Angular, Breeze, and Web API Build Data-Centric HTML5 Single Page Applications with Breeze Build Maintainable Windows Store Apps with MVVM and Prism Zero to Connected with Windows Azure Mobile Services Hope to see you there!…

read more...

Programmatic WPF Bindings and Chaining CollectionViewSource

In my Pluralsight course WPF Data Binding in Depth, I barely covered using bindings from code behind, mainly because where bindings really shine is in XAML. But there are occasions where you need to set a binding from code behind. I got a question on my course discussion about an example I showed where I show how to chain CollectionViewSources (CVSs) to get a Master-Details presentation of parent and child collections and how you could do that from code behind. So rather than answer there, I’ll do it here where it is a little easier to show code and…

read more...

Passing Complex Query Parameters with Breeze

In my course Building Data-Centric Single Page Applications with Breeze, I cover Breeze’s ability to pass parameters when you execute a query. The basics of that are that there is a withParameters method on the EntityQuery object that lets you pass in a JavaScript object with key/value pair properties that will be turned into a query string parameter by breeze and passed along to the service. You need to make sure the resource you are querying has a corresponding method on the target controller that takes those parameters. So lets say I executed a query on the client…

read more...

Yet Another Podcast - Breeze Roundtable

Want to get to know more about Breeze and where it fits into HTML client and Single Page Application development? This discussion that we had as a round table podcast discussion on Jesse Liberty’s Yet Another Podcast is a great place to start: http://jesseliberty.com/2014/02/10/yet-another-podcast-120-breeze-roundtable/…

read more...