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...

Speaking at Microsoft Maniacs 18 March 2014

I’m going to give a talk at a new user group in Sterling Virginia on March 18: Designing RESTful Services with ASP.NET Web API. You can find all the details and sign up to attend here: #meetupoembed .muclearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }* html #meetupoembed .muclearfix, *:first-child+html #meetupoembed .muclearfix { zoom: 1; }#meetupoembed { background:#eee;border:1px solid #ccc;padding:10px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;margin:0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; }#meetupoembed h3 { font-weight:normal; margin:0 0 10px; padding:0; line-height:26px; font-family:Georgia,…

read more...

Passing Parameters in a Breeze Query

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...

Hello World Podcast with Shawn Wildermuth

Shawn recently started a new podcast called Hello World that is not your typical geek talk podcast. This one lets you get to know a little of the back story behind some of the authors, speakers, and trainers that you might have seen at conferences or heard talk on other podcasts. So last week was my turn at bat. I’ve got a pretty atypical history for a software guy in that I didn’t go right into computers from an early age. I was into surfing growing up in the San Diego area, then went off to the U.…

read more...

Use {x:Type} with WPF Implicit DataTemplates

I have burned myself with this little thing so many times, I’m long overdue for a simple blog post as a reminder to myself for the future. When you use Implicit DataTemplates in WPF, you need to specify the DataType property using the {x:Type} markup extension. In Silverlight and later XAML technologies that support implicit DataTemplates this changed because there was no x:Type markup extension, you just specified the type like so. <DataTemplateDataType="local:ExplicitDataTemplatesViewModel"><local:ExplicitDataTemplatesView/>DataTemplate> But in WPF it needs to look like this: <DataTemplateDataType="{x:Type local:ExplicitDataTemplatesViewModel}"><local:…

read more...

Migrated dasBlog -> WordPress!

I’ve been wanting to get my blog moved over from dasBlog that I started using just over 10 years ago to WordPress for all the flexibility that WordPress offers – countless themes and plug ins, tools,etc. and now I am finally there. I want to thank the folks at hipinspire.com for the help in getting it done – they have been a fantastic resource us, both for this small little task and for getting our web site together at http://www.solliance.net. Part of my inertia in not blogging lately has been feeling like I would just be…

read more...

Demos from DEVIntersection

It has been a great but quick week at DEVIntersection in Las Vegas this week. The show goes on today and tomorrow, but I’m headed home after finishing my talks yesterday. I wanted to share the code from my demos with anyone who wants to check it out. I gave four sessions this week: Building Windows Store Business Applications with Prism – This one covered the capabilities of Prism for Windows Runtime for structuring your application with MVVM, using it to help with navigation and application state management in the suspend-terminate-resume lifecycle of Windows 8, and using the client and…

read more...

New York Code Camp Slides and Demos

Yesterday I spoke at the New York Code Camp at the Microsoft offices in midtown Manhattan. It was a very well run event, with a bunch of great sponsors and organizers. I gave a talk I have given to a number of user groups and at conferences on Designing RESTful Services with ASP.NET Web API. The talk focused on clarifying what the REST architectural style really involves and how to go about doing those things in ASP.NET Web API. If you would like the slides and demos for that talk you can download them through the links below:…

read more...

TechEd Talks Done!

I’ve completed my talks for TechEd US, which I will also be repeating at TechEd EU in Madrid in a couple of weeks. Turn out was pretty good, but overall interest in building WinRT / Windows Store apps is still slow. The slides and video for my talk yesterday on Building Windows Store Line of Business apps (with Prism for Windows Runtime) has already posted, the ones for my talk today on Navigation in Window Store Apps should post at end of today. All the demos in my Prism talk were done from the sample code that comes with Prism,…

read more...

Awesome new Prism for Windows Runtime resource - Project and item templates!

One thing that is a little tedious when you are first getting started with Prism for Windows Runtime is setting up a new project and swapping out base classes on the App class and each Page that you create, and cleaning up all the boilerplate code that Visual Studio puts in place. The good news is, you no longer have to, thanks to David Britch (who also wrote all the docs for Prism for Windows Runtime). You can get the goods for what I am describing in this post here. Using the Prism for Windows Runtime templates, you can now…

read more...

New Pluralsight Course & Prism for Windows Runtime Released!

I pleased to announce that my new Pluralsight course Building Windows Store Business Applications with Prism is now live, right on the same day that the subject – Prism for Windows Runtime – is released. How is that for timing? You can read the official word on the release from the team PM Blaine Wastell here. I had the pleasure of working as a vendor on the Prism team (formerly known as the Kona team during development) part time. I was involved with the initial requirements definition for the project, the design of the sample applications and the reusable code libraries, and…

read more...

Kona is Dead, Long Live Prism!

UPDATE: They got the Codeplex URLs updated today, so the new and permanent home for Prism for Windows Runtime is here: http://prismwindowsruntime.codeplex.com. If you have read my blog, seen me speak at conferences or user groups, or read some of my articles lately you might know I have been working with the Microsoft patterns & practices team on guidance for Windows Store Business apps. This guidance has been code named “Kona” up until recently, and I’ve posted and written articles on that in various places. As the team was getting the guidance ready for release, they…

read more...

DevIntersection Session Wrap Up

I had a great week speaking at DevIntersection this week and already looking forward to the fall show. If you haven’t made it to this conference yet, you ought to try to make it to the next show. Just a fantastic set of speakers and topics all expertly orchestrated by the conference organizers all set in a great conference venue. For those that made it or those that didn’t that are interested in the things I presented, below are the slides and demos for the sessions I gave. Let me know if you have any questions – best to…

read more...