Tag | WPF Posts

It's been so long since I posted on the blog that doing it now makes me a bit feel a bit weird. In my defense, i've been quite busy these past months: I left my previous company, got married, moved to a new country, started work for a cool company here... in this order :) More recently I've been working on a small app for Windows Phone 7 and one of the app's needs is some (fancy) charts...you know, the bar/pie/gauge kind. While there are some nice control libraries out there for bar and pie charts, ...
In this post I will talk about a new script I wrote to save PowerShell ISE files to a versioned SharePoint document library as well as a side project I created on CodePlex to host this code and future releases. Background Recently I began listening to the PowerScripting Podcast and I’m slowly catching up on old podcasts. On episodes 121 and 122 (most recent ones I’ve listened to as of this writing) Hal and Jonathan talked about an idea that piqued my interest immediately: using SharePoint as a script ...
In this Issue: Michael Washington, Alex Knight, Walt Ritscher(-2-), Glenn Block, Robert Garfoot(-2-), Michael Klucher, Silverlight WP7 Performance Team, Mike Ormond, and James Ashley(-2-), Above the Fold: Silverlight: "Using The Silverlight Data Pager Control With View Model / MVVM" Michael Washington WP7: "Simulated Push Notifications on Windows Phone 7" Robert Garfoot Blend: "How to: design a Windows Phone 7 listbox" Alex Knight Shoutouts: Mike Ormond posted his material that he used for some presentations ...
In this Issue: Bart Czernicki, Sharker Khaleed Mahmud, Dragos Manolescu, Peter Kuhn, Victor Gaudioso, John Papa, Jeff Blankenburg(-2-), Ning Zhang, Paul Seriff, Dennis Doomen, and Martin Krüger. Above the Fold: Silverlight: "My Silverlight 4 Reference Architecture: Commanding" Dennis Doomen WP7: "Windows Phone 7 RTM charting using the Silverlight Control Toolkit" Bart Czernicki Sketchflow: "Silverlight TV 48: Creating Rich Interactive Prototypes with Sketchflow - Part 1 " John Papa Now pulling Silverlight ...
In this Issue: Khawar Yunus, Ning Zhang(-2-), blender, Michael Crump, and Jeff Blankenburg(-2-). Above the Fold: Silverlight: "Silverlight Animation Class Diagram" Ning Zhang WP7: "Windows Phone 7 Design Templates" blender Shoutouts: The McObject folks have posted an update to Perst, including very nice pricing for WP7 folks: McObject’s New Perst Embedded Database Licensing Promotes Silverlight & Windows Phone 7 Development A short list today because I need to post a couple of these and I need ...
In this Issue: David Anson, Jeff Blankenburg, Walt Ritscher(-2-, -3-, -4-), Dan Wahlin, xprblog, and Jeff Prosise. Above the Fold: Silverlight: "Sizeable, yet square, content control" Walt Ritscher WP7: "Creating Windows Phone 7 Application and Marketplace Icons" xprblog MVVM: "Getting Started with the MVVM Pattern" Dan Wahlin Shoutouts: Scott Hanselman brokered a deal for 2 lucky winners: WIN a FREE Phone with like NO effort and attend the Windows Phone 7 Developer Launch Michael Crump posted a ...
Its all about creating a dynamic menu control in WPF. The source for this menu control is xml file. This sample is also an good example of adding controls dynamically and assigning animations to them dynamically. sample xml file is given below. <MenuList> <Menu id="2" image="images/Firefox-48x48... name="browser"> <SubMenu image="images/Firefox-48x48... file="firefox.exe">Firef... <SubMenu image="images/Internet-Expl... file="IExplore.exe">IE&l... ...
A couple of months ago Devnology recorded a podcast where Erik Havir from the Microsoft Surface team and myself were interviewed about all things Surface. You can listen / download it here. If you’re new to Surface, this is definitely worth a listen! Technorati Tags: surface,wpf,mvp ...
PivotViewer series Building your first PivotViewer application Runtime PivotViewer collection creation PivotViewer - Working with Facets Handling PivotViewer events PivotViewer - Custom actions PivotViewer and MVVM Intro The MVVM patterns is a commonly used pattern in Silverlight. Because of databinding MVVM suits perfectly for WPF and Silverlight. But use it only if appropriate. Often the pattern is used when it isn’t necessary. The usage of any pattern should be a helping tool, not an enforced ...
In this Issue: Sandrino Di Mattia, Kranthi Kiran Gullapalli(-2-), Mike Snow, David Anson, Jeremy Likness, Vikram Pendse, Paul Sheriff(-2-), Markus Egger, Johan Danforth, and Beth Massi. Above the Fold: Silverlight: "Change Templates Dynamically in Silverlight" Paul Sheriff WP7: "Silverlight On Mobile : InputScope in Windows Phone 7" Vikram Pendse MEF: "MEF in the Wild: A Retrospective " Jeremy Likness Shoutouts: Jesse Liberty posted The Great Silverlight Competency Test #6 From SilverlightCream.com: ...
In this Issue: Michael Washington, Jeff Wilcox, Erik Mork(-2-), Jesse Liberty(-2-), Morten Nielsen, Josh Smith, Mohamed Mosallem, and Jose Fajardo. Above the Fold: Silverlight: "Consuming resources from external assemblies in Silverlight 4 " Josh Smith WP7: "Using an image as a mask so that WP7 theme’s are honoured " Jose Fajardo Shoutouts: Jeremy Likness has posted his Intro to MVVM: Slides and Sample Code from his presentation at the Atlanta Silverlight Meetup group. Mark Tucker has a video up ...
When you right-click on your WPF project in Visual Studio 2010 (VS2010) and select Add / New Item... / Text File, the "Build Action" on this file is automatically set to "Resource." So, when you ship your application, this text file will be embedded within it. If this was simply meant to be a readme file for your own benefit, you may not want it embedded in your app. In this case, click on the text file in Solution Explorer (or Solution Navigator), go to the Properties window, and change "Build Action" ...
I’ve seen a lot of post describing how to customize a Silverlight Listbox during design time, but sometimes we want the user to have the ability to switch “themes” while the application is running. I originally started working on this for a project that would switch themes during different times of the day and decided to share here. Go ahead and fire up Blend 4 and select Silverlight Application + Website. Give it a name and hit OK. We are going to create sample data first. This will give us a Listbox ...
I’ve been spending some time working on prototyping some things I want to get working for a game I’m developing, and one thing I wanted was to get a couple of fly’s flying (buzzing?) around a lightbulb. Ideally I wanted to draw a path and say – Fly – use this path and follow it until the end of time! Turns out in WPF I could do this, but not so in Silverlight. Everything I saw explaining how to do it, involved working out complex (to me) equations to get the motion correct, or using a set of key ...
What can we expect in .NET 5.0? All we've heard so far is Compiler Services - a veritable drought of info that curbs the enthusuasm of the developer community. Following is a series of what to expect in .NET 5.0 ... and what to wish for ... Entity Framework 5.0 - not quite there yet! WCF RIA / Data Services 5.0 - not quite there yet! Silverlight 5.0 / WPF 5.0 - not quite there yet! C# 5.0 - not quite there yet! Workflow 5.0 - not quite there yet! LightSwitch - not quite there yet! The developers ...
I love Silverlight and have written / talked about it a lot. I can’t help but notice that a lot of people are new to Silverlight or may have played with it a few times. Well this post is for you. It is a list of 15 things that I’ve discovered since I started developing for Silverlight. If you are a full-time Silverlight developer than I would hope you know most of these. I promise not to scare off anyone with talks of MVVM, Prism or MEF. 1) The line highlighted below represents the MIME type and ...
Integrate RIA and Data Services why do we need 2 high level service abstractions? DataSources · Aggregate and expose entities from multiple sources including other RIA / Data Services OData · Navigation Properties on Derived Types · Any / All LINQ Operators · OData Binary Serialization Format - Provide support for a binary wire format (to supplement JSON/ATOM). · Containment / Hierarchical Models - If I have a schema that has Orders and OrderDetails, I dont want /OrderDetails to be direclty accessible. ...
Merge Wpf and Silverlight to single framework · Merge both frameworks to use the same assemblies and controls (with optional functionality in separate assemblies) make a .net silverlight profile that would be a subset of .net client profile and used by partially trusted xaps. · Conditional compilation within Xaml - stopgap solution: for Silverlight/WPF differences in shared markup. · Support the direct hosting of Silverlight – stopgap solution: support the direct hosting of Silverlight in a WPF application ...
In this Issue: Michael Washington, Mike Talbot, Kunal Chowdhury, Nigel Sampson, Shawn Wildermuth, Andy Beaulieu, Beth Massi, Joost van Schaik, Beat Kiener(-2-), and priozersk. Above the Fold: Silverlight: "Silverlight Flip Control – page flipping without the performance problems " Mike Talbot WP7: "An animated swipe-enabled title control for Windows Phone 7 " Joost van Schaik Lightswitch: "Deploy and Update a LightSwitch (Beta 1) 3-tier Application" Michael Washington From SilverlightCream.com: Deploy ...
For those that didn’t know, I have recently left a long run at Thomson Reuters (which is a great company BTW) for a new gig as CIO of Swank Motion Pictures. This company works in the movie distribution business to cruise ships, trains, universities, and more. Some links if you are interested: http://www.onboardmovies.com/ http://www.swank.com/colleg... https://www.swankhealth.com http://www.k12digitalmovies... http://www.swank.com/digita... and more more more …. The thing is that ...
I created a getting started guide for the MVVM pattern back in June 2010. Since the guide came out, I had several developers ask me when I was going to publish my MVVM example that I had promised. I played around with a way to present this that did not seem like the same old MVVM blog post that everyone has already written. Most of the blog post that I ran across explaining the pattern had lots of complicated diagrams and code snippets that would leave out vital pieces of information. I decided that ...
Why Assembly? I was going to start the title as "The Art of Assembly" however, that title was already taken. I am probably going to commit the biggest sin of modern developers, I am going to advocate that developers learn, and consider using, a bit of assembly! I know, I can already hear the voices in my head saying "But Thomas, How could you advocate the use of such a low level, non-crossplatform, and painfully slow language?". Fear not voices, I haven't completely lost my mind yet. There actually ...
My short summary This comparison is mainly originated with attention to XML-based configuration possibilities and grouping implementations of the same contract which are choosable over a key. StructureMap A really nice container with simple XML configuration. But we had problems if the container must instantiate WPF-controls. LightCore Also a really nice container with simple XML configuration. But it seems that there is no way to specify distinct implementations which are choosable by a key. Autofac ...
A while back I looked into localising a WPF application. Because I prefer the MVVM application I wanted something that I could apply to the UI layer specifically in XAML. At the time I found a post on Codeplex that allowed me to achieve this, but when we moved from VS2008 to VS2010 it broke the whole system. I am glad to see that an update to this tool is now available here <Update> After speaking to my friend Brendon he pointed me to another post about the same topic… http://compositeextensions.... ...
.NET Micro Framework includes reach graphics capabilities with WPF-like libraries, and quite a few high end development boards (Tahoe II, ChipworkX, or FEZ Cobra to name a few) include fancy graphic TFT screens, often with touch input thrown in as well. But this comes at a significantly higher costs, and requires a speedy CPU. Thus it might seem that if you are using a much cheaper board such as Netduino or one of FEZ family, you are doomed to rely on blinking LEDs only. Not quite so. In most scenarios ...
With Pete's guidance, it will feel like you have that super-smart coworker in your cubicle at all times. A new Silverlight 4 book is coming out on September 7th and I had a chance to review it before it hits shelves. After reading the book and some chapters multiple times, I can tell you that this is the best book for a developer wanting to learn Silverlight 4. If you are wondering if you should buy the book or not then let me answer that right now. YES. I would definitely recommend this book to ...
In this Issue: Benjamin Gavin, Haruhiro Isowa, Scott Fletcher, Georgi Atanasov, Timmy Kokke, Kirupa Chinnathambi, Anoop Madhusudanan, Mike James, Beat Kiener, Rudi Grobler, Lightswitch Tutorial, Jeff Brand, Manfred Pohler, Indrajit, Levente Mihály, and Erik Klimczak. Shoutouts: Jesse Liberty has posted The Great Silverlight Competency Test [2] Michael S. Scherotter posted BALL Watch Silverlight Contest Winners Announced ... and wow... do those look great!! ... congratulations everyone! Max Paulousky ...
For my next project I decided to try to upgrade my SERB robot that I showed here last year to use Netduino. This robot was designed by great inventors from oomlout and you can buy it as a nicely packaged kit from them. However because the design is open source you can also download the project files and if you have access to a laser cutter order all the acrylic pieces there. It is also very easy to build following the instructable (you can find few more photos from my build here). The original SERB ...
My own very recent personal experience mirrors this blog post: Silicon Valley’s Dark Secret: It’s All About Age So what do I do to deal with that? Looking at Vivek’s advice, item number 1 is to move into management … yikes… I firmly believe that if someone thought I had the chops to be a manager it would have happened 20 years ago… nobody wants to make me a boss, trust me :) besides which, I like coding! Item 2 sucks… and goes totally against the American Dream of continually moving up… expect to ...
In this Issue: John Papa, Beth Massi, Simon Jackson, Rob Miles, Pete Brown(-2-), Senthil Kumar, Don Burnett(-2-), and Brian Noyes. From SilverlightCream.com: Apply and Customize the New Silverlight Themes Tsitsi Gora joins John Papa on the latest Silverlight TV to discuss the new Silverlight themes -- did you know about them? -- how about tips on customizing them from one of the devs?? cool stuff. Visual Studio LightSwitch How Do I Videos 5 Lightswitch training videos from Beth Massi ... and more ...
I noticed a lot of confusion around flashing text in Silverlight 4/WPF and wanted to show you a simple way to pull it off using Blend 4. I’ve seen plenty of examples of people using code-behind to accomplish this, but this should really be handled in the View or the .XAML file (if you are not familiar using the term View from the MVVM pattern). If you can get a grasp of Storyboard’s and Behaviors, you can do a lot of things similar to this without cluttering your code-behind files. Full XAML is provided ...
this year I had the pleasure of cramming the following information into my lobes: Book: Schuams Graph Theory - http://www.amazon.com/Schau... - a subset of combinatorics. From my perspective, just use linear algebra - you can bash anything into vectors. some interesting stuff on platonic solids and the 3 color world map. SD - shortest distance SP - shortest path bipartite graph - 2 disjoint sets ...
Let me start by saying, I love looking at other people’s code. I have learned so much by reading code that I would put that in a top 5 list of things every programmer should do. If it wasn’t for tools like .NET Reflector or Snoop then I would have missed reading a lot of great code. I started working in Silverlight a few months ago and wanted a utility to browse the tree nodes like Snoop does for WPF. I found several solutions but wasn’t happy until I stumbled upon Silverlight Spy 3 by First Floor ...
Finished my session on Asynchronous Adventures in Silverlight an hour ago, and I'm putting up the presentation files. The session is Asynchronous Adventures in Silverlight. Since there are enough sessions about developing XAML, WPF and Silverlight, I've decided to do a session that emphasized the asynchronous nature of most operations that is the default mode of operations in Silverlight. The session talks about the asynchronous pattern used and how widespread it is, discuss about some pitfalls, ...
In this Issue: Emiel Jongerius, Rui Marinho, Johnny Tordgeman, and Colin Eberhardt. Shoutout: Arnie Rowland has a very worthy effort going on: Like a Phoenix rising from the ashes ... ... read it and if you need the support, give it a shot. Bart Czernicki has a fun announcement: Announcing my new book: Silverlight 4 Business Intelligence Software In this all-submittal Issue -- From SilverlightCream.com: Synchronizing group row headers with column headers in Silverlight DataGrid Did you know you can ...
I'm going to be giving a presentation for the St. Louis Day of .NET 2010 - TODAY! Worked out my materials for the first 2 sessions, for those that are interested, they can download the materials: The first session is: JumpStart: Workflow 4. The session describes the core features and technology involved in developing and managing your Activity enriched application workflows using Windows Workflow Foundation 4.0. The files can be downloaded here. The second session is Introduction to 3D in WPF. This ...
Wow its already another Monday and that means its time for the Postback report and a quick overview of some of the things I did this past week. I started playing around with some App ideas and using some sample data and binding with Silverlight for a WP7 app with Expression Blend. I’m having a blast and learning as well. Whistle while you work On the work side of things and where I earn a daily living… we’ve finally launched our first site using Sitefinity, so its time for me to move onto the next ...
In this Issue: Michael Washington, Mickael Chambaud, Colin Eberhardt, Jeff Wilcox, John Papa, Jesse Liberty, Karsten Januszewski, Kunal Chowdhury(-2-), and Tim Heuer. Shoutout: David Anson posted his Updated collection of great Silverlight/WPF/Windows Phone Data Visualization resources! From SilverlightCream.com: Using the “Hisowa Simple PopUp Behavior” in a DataGrid Michael Washington has a tutorial up showing how to use the "Hisowa simple popup Behavior" that he assisted on getting to codeproject ...
In this Issue: René Schulte, Haruhiro Isowa, Jesse Liberty, Jeremy Likness, Shawn Wildermuth, Evan Hutnick, Don Burne, Mark Tucker, On Ali Tinwala, Derik Whittaker, and Mark Arteaga. Shoutouts: Chris Cavanagh has converted his Soft Body Physics Demo to WP7: JelloPhone for Windows Phone 7 Joe Healy has his list of 7 Steps to Get You Going on Windows Phone 7 Dev ... I might add a couple more links to item 5, but I'm prejudiced :) If you're in the mood for purchasing a WP7 Toolkit for building apps, ...
In this Issue: Viktor Larsson, Roger Peters, Kirupa Chinnathambi, Kyle McClellan, Jag Reehal, Dinesh Sodani, David Rousset, Jeff Fansler, Paul Sheriff, Jeremy Likness, Mohamed Mosallem, and Jonathan van de Veen. Shoutout: The Visual Web Developer Team Blog posted Hot Fix Released for the Issue of Visual Studio 2010 Crashing When Switching to the Design View From SilverlightCream.com: Snipping databound properties Viktor Larsson has discussion of code snippets up in his latest post. He's specifically ...
So I am not a web developer! I have never been one but Silverlight keeps popping in my head as the next big thing on the Microsoft stack and I would hate to “miss the boat” (I am sure some C developer said that 10 years ago as well). Today I thought I would get a little wet with Silverlight & WCF. Up to now I have been working in WPF so I am not scared of XAML and am surprised to say that I actually enjoy it. I have however never worked with WCF so for me that will be the learning curve. My project ...
In this Issue: Jeff Fansler, Chris Klug, Kirupa Chinnathambi, Mike Taulty, David Anson, Florent Pajani, Kunal Chowdhury, Mike Snow, and Jesse Liberty. Shoutouts: The Swiss Team Blog announced Hands-on Lab: Silverlight 4 Line of Business Application using WCF RIA Services Now updated to reflect RTM changes Dan Wahlin posted his Silverlight 4 Code Demos from the Microsoft TechReady Workshop From SilverlightCream.com: The Windows Phone 7 Application Bar Jeff Fansler has another WP7 post up and is talking ...
Intro Often extensions for Expression Blend need to store some global variables. Why not use the mechanisms Blend itself offers? I’d like to show you how to add a custom options page to the options dialog. I’ve started the example project by creating a new C# WPF Custom Control Library project and naming it ExtendingBlendOptionsTutorial. The details on how to create a new Blend Extension can be found here. You need to make sure the Microsoft.Expression.Extens... and Microsoft.Expression.Framework ...
Technorati Tags: .NET,INotifyPropertyChanged... In my last post, I talked about using a Visual Studio code snippet for properties in classes implementing INotifyPropertyChanged: The code snippet lets me create the properties faster, but it's still a lot of repetitive "setter" code for each. What if I moved the "has the value changed?" and backing field update logic out of the property setters and replace my NotifyPropertyChanged method with this CheckForPropertyChange method?: protected bool CheckForPropertyChange<T... ...
Technorati Tags: .NET,INotifyPropertyChanged... Kevin Grossnicklaus gave a nice presentation on M-V-VM User Interface Patterns in Silverlight and WPF at last night's St. Louis .NET User Group meeting. A key part of MVVM is implementation of the INotifyPropertyChanged interface to let views know that bound properties have changed. Here's a simplified version of a model class from the MSDN INotifyPropertyChanged documentation: public class DemoCustomer : INotifyPropertyChanged { private Guid _id ...
In this Issue: Tony Champion, David Poll, Ben Gracewood, Ryan Alford, Willem Meints, Nokola(-2-), and Deborah Kurata. Shoutouts: This is pretty cool-- 10 years of MSDN Magazine in a Silverlight Pivot Found this via Catherine Russell -- MSDN Virtual Labs Just for those that haven't seen it already, there's a page up on MSDN containing Code Samples for Windows Phone From SilverlightCream.com: Messaging in Silverlight with MVVM Light Tony Champion sings the praises of Laurent Bugnion's MVVM Light, and ...
In this Issue: Tony Champion, Vikas, Larry Larsen, Dimitris - Ilias Gkanatsios, Gergely Orosz, András Velvárt, Rishi, John Papa, David Rousset, David Anson, and Ozymandias. Shoutout: The Swiss MSDN Team Blog announced “Building a Newsreader Application using Silverlight for Windows Phone 7” Hands-On Lab – Now updated for July BETA Developer Tools Laurent Bugnion posted an MVVM Light Hotfix for Windows Phone 7 developer tools beta Fons Sonnemans posted a video of his WP7 game Sudoku for WP7 on YouTube... ...
In this Issue: Ian Walker, Delordson Kallon, Anton Polimenov, Gill Cleeren, Tau Sick, Colin Eberhardt, Kunal Chowdhury, Jag Reehal, Rob Eisenberg, Shawn Wildermuth, Alex Yakhnin, Slobodan Pavkov, and Deborah Kurata. Shoutouts: Jeremy Alles has an MVVM comparison chart up that's very complete: MVVM Frameworks Explorer updated be sure to let him know if something is missing No discussion or code, but this demo code shares between Silverlight and WP7: Shove HalfPenny (Shove Ha'penny) New and untested: ...
In this post, we start to explore Umbraco development through the recently released WPF-based WebMatrix. A very well worded high-level overview of WebMatrix can be found on Nikhil Kothari’s blog: http://www.nikhilk.net/WebM... Additionally, Scott Hanselman has just shared a blog article providing his insight on some use cases where WebMatrix can be of great value to ease and simplify development and deployment (http://www.hanselman.com/b... WebMatrix is installed through The Web ...
In this Issue: Michael Washington, Andrea Boschin, Alex Golesh(-2-, -3-), Jaime Rodriguez, Brandon Watson, Jesse Liberty(-2-), and Scott Guthrie. Shoutouts: Walt Ritscher announced a new Shazzam is shipping today, but haven't seen a notice yet. As a teas, here's a post from Walt: Oh, shiny! Animated Mandelbrot shader effect If you plan on any wp7dev work, check out this training: Windows Phone 7 Jump Start: Session One - Getting Started with Microsoft Windows Phone 7 and Silverlight ... this is a ...