Jeff Brand
Niner since 2009
-
Message Based Navigation for WP7 MVVM Apps
Avg Rating: 5
(1)Do you have an MVVM-based Windows Phone 7 application and you don't like having to hook into the RootFrame to navigate between pages? Do you wish you could just "ask" to navigate to a new view from your view model? One possible solution can be found in this screencast.
Using an message...
-
Building Multiscreen Applications - Part 1
Avg Rating: 4.5
(2)This multi-part screencast series will look at the fundamentals involved in building multiscreen applications using Microsoft Silverlight and Visual Studio 2010. Starting with an overview of the Microsoft ecosystem, Part 1 lays the foundation for future episodes, introducing key concepts that will...
-
Implementing an MVVM MessageBus with XAML
Avg Rating: 5
(2)Using a Messag Bus to communicate between ViewModels is a very common activity when building an application based on MVVM. In this video, I show how you can build a Message Bus that can be created on a per-page basis and easily connected to the ViewModels on a page using XAML.
For a deeper...
-
Simple Dependency Injection with XAML
Avg Rating: 5
(2)Have you ever wanted the flexibility of dependency injection without having to implement a full-blown IoC solution? Maybe you just want an easy way to pass concrete services to your ViewModel? This short video will show you you can use XAML to configure your ViewModels to provide a property-based...
-
Three Reasons Developers Should Use Expression Blend
Avg Rating: 4.75
(5)Lots of developers are building XAML-based applications today. Be it WPF, Silverlight or Windows Phone 7, I have seen a lot of people struggle with certain tasks in Visual Studio that would be much easier if undertaken in Expression Blend. Blend seems to be somewhat intimidating to developers,...
-
Managing Windows Phone 7 Trial Applications
Avg Rating: 5
(1)Windows Phone 7 provides the LicenseInformation class that includes the IsTrial() method. IsTrial() allows you to check, at runtime, if the running application has been installed from the Marketplace as a trial application, or if the user has purchased the application. Developers are able...
-
Custom Per-Page Transitions for Windows Phone 7
Avg Rating: 0
-
Windows Phone 7 April CTP and TransitioningContentControl
Avg Rating: 5
(1)In my original screencast (my blog or on here on Channel 9), I showed you how to use the Silverlight Toolkit’s TransitioningContentControl to add automatic transitions between pages of your Windows Phone 7 Silverlight application. A few days after recording and posting that screencast, ...
-
Simplify Page Transitions in Windows Phone 7 Silverlight Applications
Avg Rating: 0
Update: To see how to extend this solution for custom per-page transitions, see my follow-on article.
If you have played around with Silverlight on Windows Phone 7, one thing you may have tried to figure out is how to add nice transitions between different pages of your application. By default, Windows... -
Peer to Peer Series Part 7: PeerChannel Basics
Avg Rating: 0
In Part 7, I introduce the basics of building a WCF PeerChannel application. Using a simple console application, the following steps are shown:- Creating the necessary interfaces
- Setting up the WCF enviornment
- Checking online status
- Sending and receiving messages
While basic, it demonstrates...
Staff
Here is a list of Channel 9 staff members.
Message Based Navigation for WP7 MVVM Apps
Apr 28, 2011 at 6:37 AMI like to wire up XAML as much as I can. I don't think it is all that much code really... the MessageBus and NavigationHandler (which is the same thing as your IMyAppNavigationService) are very small. I replace the dependency you have on the nav service with a dependency on the message bus, which provides me additional capabilities. Too each there own... whatever works for the apps you build. Just thought it was an interesting alternative.
Implementing an MVVM MessageBus with XAML
Jan 25, 2011 at 8:23 AM@Ganesh: Not really. This was more of an effort to illustrate different ways to incorporate XAML and design-time support rather than deal with event routing /messaging per se. PRISM is great, but for a lot of apps it is also overkill so this was just a nice, simple way to get some of the goodness provided by things like Event Aggregator without having to dive into PRISM.
Simple Dependency Injection with XAML
Jan 24, 2011 at 7:48 AM@cellra: I am constructing the dependency in XAML and then binding it to the property I want to inject into. There is no code behind used for the injection itself.
Simple Dependency Injection with XAML
Jan 18, 2011 at 1:38 PM@mark: Hi mark. Sorry for the video problems. I messed something up somewhere along the way. I have re-processed the vid and the HiQuality files are much better. The default vid may still be choppy depending on bandwidth.
Simplify Page Transitions in Windows Phone 7 Silverlight Applications
Jun 03, 2010 at 8:00 AMConfirmed that the flicker is a known issue and entered as a bug.
Simplify Page Transitions in Windows Phone 7 Silverlight Applications
Jun 01, 2010 at 1:46 PMInteresting. I hadnt really noticed it because I was always using the back button to navigate between pages when I was in landscape mode. Problem when you have a demo app that has TWO WHOLE pages.
I'm not sure what is going on. It appears to have
something to do with sliding content into the various content controls that make up the TCC and the phone having to figure out that the new content should be in landscape rather than portait. I would lean toward this being a bug in the phone but I have spent
about 5 minutes looking at it. I will try and dig deeper into it tomorrow.
UPDATE: Ok, this happens on pages with our without the TCC. I have sent an email to the dev team to see if this is by design, emulator issue, or bug.
Simplify Page Transitions in Windows Phone 7 Silverlight Applications
May 26, 2010 at 4:58 AMI dont think TCC would do the trick. I took just a quick look, but an orientation change does not actually change the page content, so the TCC would not be invovled in at all. It would just behave "as normal". You would need to wire up the OnOrientationChanged event at the page level and control an animation from there I think. I want to say Peter Torr has a MIX10 video that shows him doing this.
Simplify Page Transitions in Windows Phone 7 Silverlight Applications
May 20, 2010 at 1:38 PMYou can see a quick fix to getting the TransitioningContentControl working with the April CTP here - http://channel9.msdn.com/posts/SlickThought/Windows-Phone-7-April-CTP-and-TransitioningContentControl/
Simplify Page Transitions in Windows Phone 7 Silverlight Applications
May 18, 2010 at 8:24 AMI just got the project working under the April CTP. At this point, I brute forced it by putting the TransitioningContentControl source directly into my project. I am working on a blog post / screencast to show how to get things working. I have a couple of other things I want to explore before I finish it up. Keep an eye here or on my blog - http://slickthought.net for details. Hopefully in the next day or so...
Simplify Page Transitions in Windows Phone 7 Silverlight Applications
May 05, 2010 at 1:50 PMThanks for the info Jeff!
For the TopLevelNavigationService... (I don't have the code in front of me - on a different laptop), if it is what I am thinking of, you will have to use the Application.Current.RootVisual and cast it to a PageNavigationFrame and grab the Nav service from there. That's my guess...
See more comments…