Tag | WPF Posts

1,000 blogposts is quite a few, but to die-hard geeks, 1000 isn't the number... 1K is the number, and today is my 1K blogpost! I've been working up to this for at least 11 months. Way back at MIX10, I approached some vendors about an idea I had. A month ago I contacted them and others, and everyone I contacted was very generous and supportive of my idea. My idea was not to run a contest, but blog as normal, and whoever ended up on my 1K post would get some swag... and I set a cut-off at 13 posts. ...
ASP.NET applications can make use of the System.Web.Caching.Cache object to cache data and prevent repeated expensive calls to a database or other store. However, ideally an application should make use of caching at the point where data is retrieved from the database, which typically is inside a Business Objects or Model layer. One of the key features of using a UI pattern such as Model-View-Presenter (MVP) or Model-View-Controller (MVC) is that the Model and Presenter (or Controller) layers are ...
Today I spent the better part of an hour trying to figure out what I had had done wrong. I had an application that when the user click’s “exit”, it should prompt if they want to save the last unsaved file, or cancel the exit. If the select cancel it should not exit the application. Everything seemed fine in my code, all I was doing was calling Application.Current.Shutdow... And then capturing the Closing event and setting cancel to true.. (see SO question here) Long story short, If should not have ...
Check out the Top Five most popular news at SilverlightShow for Dec 27-Jan 2, 2011. The most visited news for last week is Mahesh Sabnis's post on how to use Prism in Silverlight 4. Among the top 5 news is also the announcement for SilverlightShow December Newsletter that you can now read online. Here is SilverlightShow's weekly top 5: Using Prism with Silverlight 4 "What's new in Silverlight 4 demo" app Cinch - A Rich Full Featured WPF/SL MVVM Framework SilverlightShow December Newsletter Now Online ...
In this all-Submittal Issue: Gill Cleeren(-2-), Brian Noyes, Brian Genisio, René Schulte, and Andy Schwam(-2-). Above the Fold: Silverlight: "The INavigationContentLoader interface in Silverlight 4" Gill Cleeren WP7: "Sending Windows Phone Screenshots in an Email" René Schulte WCF RIA Services: "WCF RIA Services Part 10 - Exposing Domain Services To Other Clients" Brian Noyes Shoutouts: Want to know what it takes to be an MVP? Check out René Schulte's recap of 2010: Goodbye 2010 - Hello 2011 ... ...
So, I have been pretty quiet for the last month or so. True, it has been holiday time and I went to Cape Town for a stunning week of sunshine and blue skies, but the second I got back home I spent the remainder of my holiday on my pc viewing tutorials on www.tekpub.com Craig Shoemaker, who I got in contact with because of his podcast, sent me a 1 month free subscription to the site and it has been really appreciated. I have done a lot of WPF programming in the past, but not any asp.net stuff and ...
I've been writing software for a while and recently had an opportunity to broaden my horizons and start developing for iOS. We decided to leverage, as much as possible, our existing skills and use MonoTouch and MonoDevelop by Novell. For those of you who do not know, Mono is a .NET port originally designed for Linux but adapted for other platforms as well. MonoTouch is a port specifically for building iOS applications using the .NET framework. MonoDroid is a port (in CTP-esque release) for Android. ...
Check out the Top Five most popular news at SilverlightShow for last week (20 - 26 Dec 2010). The most popular news for last week is Ryan Alford's solution on handling an error in Silverlight 4 when using Entity Framework 4, followed by Jeremy Likness' video on building an RSS Feed Reader in Silverlight. Here is SilverlightShow's weekly top 5: Silverlight 4 - Productivity Power Tools and EF4 A Silverlight MVVM Feed Reader from Scratch in 30 Minutes Resizable Grid Using Thumb Controls A Simplified ...
In this all-submittal Issue: Michael Washington(-2-), Ian T. Lackey(-2-, -3-), Sandrino Di Mattia, Colin Eberhardt(-2-), and Antoni Dol. Above the Fold: Silverlight: "A Style for the Silverlight CoverFlow Control Slider" Antoni Dol WP7: "Getting the right behaviors in your Phone 7 App – Part 1 Phone Home" (and the other two parts) Ian T. Lackey Silverlight/WPF: "A Simplified Grid Markup for Silverlight and WPF" Colin Eberhardt Shoutouts: Dennis Doomen has updated his Coding Guidelines and provided ...
In this 4-days loss to a sinus infection and all-submittal Issue.... and this only catches me up on submittals through last Sunday: Mark Monster, Sacha Barber, Rénald Nollet, Georgi Atanasov, and András Velvárt. Above the Fold: Silverlight: "Silverlight with Facebook - a practical guide to integration" András Velvárt WP7: "RadDateSelector for Windows Phone 7 – Loaded within a standard in-browser Silverlight application" Georgi Atanasov MVVM: "Cinch - A Rich Full Featured WPF/SL MVVM Framework" Sacha ...
2010 has been a very good year for me and I wanted to create a list and thank everyone for what they have done for me. I also wanted to thank everyone for reading and subscribing to my blog. It is hard to believe that people actually want to read what I write. I feel like I owe a huge thanks to everyone listed below. Looking back upon 2010, I feel that I’ve grown as a developer and you are part of that reason. Sometimes we get caught up in day to day work and forget to give thanks to those that helped ...
I feel compelled to post this blog because I find I’m repeatedly posting this same code in silverlight and windows-phone-7 answers in Stackoverflow. One common task that we feel we need to do is burrow into the visual tree in a Silverlight or Windows Phone 7 application (actually more recently I found myself doing this in WPF as well). This allows access to details that aren’t exposed directly by some controls. A good example of this sort of requirement is found in the “Restoring exact scroll position ...
In this Issue: Michael Washington, Pete Brown, Robby Ingebretsen, Bill Reiss, Jordan Knight, Mike Taulty, Justin Angel, Jeff Blankenburg. Above the Fold: Silverlight: "Creating the Silverlight View Model (MVVM) Control: Calendar Icon" Michael Washington WP7: "United Nations News for Windows Phone 7" Justin Angel Silverlight, WP7/WPF: "CameraPanel: A Parallax Panel for Silverlight, WP7 or WPF" Robby Ingebretsen Shoutouts: Michael Scherotter produced a Silverlight Webcam photo app that he's providing ...
In this Issue: Rénald Nollet, Benjamin Gavin, Dennis Doomen, Tim Greenfield, Mike Taulty, Jeff Blankenburg, Michael Crump, Laurent Duveau, Dragos Manolescu, KeyboardP, Yochay Kiriaty. Above the Fold: Silverlight: "Silverlight RIA Services and Basic, Anonymous Authentication" Benjamin Gavin WP7: "lving Circular Navigation in Windows Phone Silverlight Applications" Yochay Kiriaty SQL Azure: "SQL Azure Database Manager – Part 1 : How to connect to your SQL Azure DB" Rénald Nollet Shoutouts: Yochay Kiriaty ...
In this Issue: Michael Washington, Samuel Jack, Alfred Astort(-2-), Nokola(-2-), Avi Pilosof, Chris Klug, Pete Brown, Laurent Bugnion(-2-), and Jaime Rodriguez(-2-, -3-). Above the Fold: Silverlight: "Sharing resources and styles between projects in Silverlight" Chris Klug WP7: "Windows Phone Application Performance at Silverlight Firestarter" Jaime Rodriguez Training: "Silverlight View Model (MVVM) - A Play In One Act" Michael Washington Shoutouts: Koen Zwikstra announced the availability of the ...
In this Issue: Peter Kuhn, David Anson, Jesse Liberty, Mike Taulty(-2-, -3-), Kunal Chowdhury, Jeremy Likness, Martin Krüger, Beth Massi(-2-, -3-)/ Above the Fold: Silverlight: "Rebuilding the PDC 2010 Silverlight Application (Part 1)" Mike Taulty WP7: "WP7: Glossy text block custom control" Martin Krüger Lightswitch: "How to Create a Screen with Multiple Search Parameters in LightSwitch" Beth Massi From SilverlightCream.com: Requirements of and pitfalls in Windows Phone 7 serialization Peter Kuhn ...
Silverlight 5 is coming next year (2011) and this blog post will tell you what you need to know before the beta ships. First, let me address people saying that it is dead after PDC 2010. I believe that it’s best to see what the market is doing, not the vendor. Below is a list of companies that are developing Silverlight 4 applications shown during the Silverlight Firestarter. Some of the companies have shipped and some haven’t. It’s just great to see the actual company names that are working on Silverlight ...
In this (Almost) All-Submittal Issue: John Papa(-2-), Jesse Liberty, Tim Heuer, Dan Wahlin, Markus Egger, Phil Middlemiss, Coding4Fun, Michael Washington, Gill Cleeren, MichaelD!, Colin Eberhardt, Kunal Chowdhury, and Rabeeh Abla. Above the Fold: Silverlight: "Two-Way Binding on TreeView.SelectedItem" Phil Middlemiss WP7: "Taking Screen Shots of Windows Phone 7 Panorama Apps" Markus Egger Training: "Beginners Guide to Visual Studio LightSwitch (Part - 4)" Kunal Chowdhury Shoutouts: Don't let the ...
Today, at the Silverlight Firestarter event on the Microsoft Campus in Redmond, Scott Guthrie (Microsoft’s Corporate Vice President, .NET Developer Platform) announced Silverlight 5 and introduced us to its features. Among them: 1080p video, GPU-acceleration, "trickplay" (variable speed playback with pitch correction) WS-Trust support, low-latency networking for real time apps Ability to set breakpoints on data binding expressions and debug them Merging into Silverlight of WPF data binding features ...
I have been using Rx for over a month now and can’t even begin at telling how beautiful it really is and how much it has simplified my life especially working with UI declaratively and without having to worry about Dispatchers, threading etc., and I ended up rewriting most of the custom controls I have build over time to support Rx. And have been a big fan of Observable pattern and WeakEventListeners again had their own limitation which I always found a bit intimidating and for me Reactive Extensions ...
All-In-One Windows 7 Code Samples Introduction Download Windows 7 Code Samples Request Windows 7 Code Samples Introduction Windows 7 provides many new programmable features, e.g. the new Taskbar, the Shell Library, the service trigger-start feature. The All-In-One Windows 7 code samples demonstrate the typical programming topics about Windows 7. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. ...
All-In-One WPF Code Samples Introduction Download WPF code samples Request WPF code samples Introduction Windows Presentation Foundation (WPF) provides developers with a unified programming model for building rich Windows smart client user experiences that incorporate UI, media, and documents. The All-In-One WPF code samples demonstrate the typical programming topics about WPF. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our ...
In this Issue: goldytech, Rob Eisenberg. Chris Rouw, Denis Gladkikh(-2-), Mike Taulty, Mohamed Mosallem, Mike Ormond, and Vuyiswa Maseko(-2-). Above the Fold: Silverlight: "Silverlight basics. Validation. Part 1. DataAnnotations & ValidatesOnExceptions" Denis Gladkikh WP7: "Live Tiles on a Schedule" Mike Ormond Blend: "Blend Bits 18–Sample Data" Mike Taulty Shoutouts: Rob Eisenberg has a contest going... check it out: Caliburn.Micro Contest Braulio Diez & Sebastian Stehle have a great-looking ...
In this Issue: Brad Tutterow, Kevin Dockx, Richard Waddell, Roberto Sonnino, Dustin Horne, Tim Greenfield, Rod Paddock, Timmy Kokke, Tim Heuer, Manuel Felício, Mike Taulty, and Brian Noyes. Above the Fold: Silverlight: "Using Visual States in custom controls in Silverlight" Timmy Kokke WP7: "Leveraging the Silverlight ecosystem with Windows Phone 7" Tim Greenfield Silverlight/JS: "JavaScript Can't Do Math - SilverlightCalculator A New Silverlight OSS Project" Rod Paddock Shoutouts: Telerik announced ...
In this Issue: Dan Wahlin(-2-), Kirupa, Jeff Handley(-2-), Mike Snow, Robby Ingebretsen, David J. Kelley, Jonathan van de Veen, Lee, and Walt Ritscher(-2-). Above the Fold: Silverlight: "Prism 4 – Silverlight and Custom Commands" Lee WP7: "Windows Phone 7 Themed Videos" Kirupa Expression Blend: "Building and Using Expression Blend Behaviors" David J. Kelley Shoutouts: The Studio 6 Software Blog folks have updated their ComboBox... check out the demo, and grab the code: Silverlight ComboBox Updated ...
In this Issue: Sigurd Snørteland, Martin Krüger(-2-), Beth Massi, Karl Shifflett, Joe McBride, Ryan Alford, Mike Taulty, Kunal Chowdhury, and Asim Sajjad. Above the Fold: Silverlight: "How to: Create a nonrectangular ChildWindow - part 2" Martin Krüger WP7: "loud tweets -- a "twitter-do-speak" wp7 app" Sigurd Snørteland Lightswitch: "LightSwitch Team “How To” Articles and New Developer Center Content" Beth Massi Shoutouts: Sincorde has the beginnings of a nice-looking Silverlight Library up on CodePlex: ...
In this Issue: Martin Krüger, Vikas, Kevin Dockx, Brian Noyes, Kunal Chowdhury, Gergely Orosz, Garry McGlennon, René Schulte, Matias Bonaventura, Bart Czernicki, and Dennis Doomen. Above the Fold: Silverlight: "How to: create a nonrectangular ChildWindow - part 1" Martin Krüger Prism: "Prism Training Kit: Updated to Prism 4.0" Matias Bonaventura Shoutouts: Component Ways has a releast of their xamlDataGrid for Silverlight... might be worth a look ... check out the feature set and download the eval. ...
Let’s face it: not everybody can afford a full-blown Surface unit in his or her house. But most of us can afford a windows 7 touch enabled computer. The prices for these kind of devices have dropped a lot since the introduction of Windows 7. Companies such as Dell, HP and others offer notebooks as well as desktop systems that can handle multi-touch for a reasonable price. And with touch you’re halfway there. What you don’t have is the object recognition of the Surface. And the rigidity of the Surface ...
I was lucky enough to attend Visual Studio Live! in Orlando on November 14th-17th. There were so many great speakers and the networking was great. I met a lot of really cool people and we talked about everything .NET (from WP7, Silverlight, C#, ASP.NET WebForms, AJAX, MVC 3.. and so forth). I took a lot of notes during all the sessions and wanted to provide it to those that could not come out. If you follow me on Twitter then you have seen most of these. Most of the authors put slides/source code ...
I recently bought Call Of Duty: Black Ops for the PC. It's a really realistic and challenging game, and my kids love it. However, if you want to share a gaming experience, you want to have different profiles for each player in the family. No luck with CoD:BO though. The game doesn't support mutliple profiles. I started looking around on the internet for known solutions and stumbled upon this guy who made his own multi-profile CoD:BO launcher. I was quick to notice that it was a .net 3.5 app, probably ...
PDC stands for Professional Developers Conference, an event regularly hosted by Microsoft, often at Seattle. It is a great opportunity for developers who work with Microsoft products to come together under one roof, get to know about new forthcoming products, be briefed about key technologies ruling the market and finally, mingle with one another. At least that was how it used to be all these years. So what was different this year? This year, when PDC 2010 was being held in the last week of October, ...
I have to admit it. I’ve had fun the last 14 years. Starting a company, not knowing where it would take me. Hiring our first employee, that was kinda scary…Moved away from Delphi and jumped aboard the .net train, without a second of regret. Became a MVP because the company allowed me to spend a lot of time on the community. Saw my first Surface computer while attending a MVP summit in Redmond. Became one of the first 4 Surface MVP’s because the company allowed me to work with that technology extensively ...
In this Issue: Ryan Alford(-2-), Joe McBride, Rob Tiffany, Pete Brown, Charles Petzold(-2-), Alfred Astort, Mark Hopkins, Nokola, Chris Klug, Gergely Orosz, and Adam Barney. Above the Fold: Silverlight: "Creating a Metro UI Style Control" Joe McBride WP7: "Ready for take-off? Top 10 things to check when you think you are done with your application" Alfred Astort Shoutouts: Adam Barney posted his "Introduction to the MVVM UI Pattern": Slides and Demo from Iowa Code Camp Damon Payne gave a WP7 presentation ...
In this Issue: Michael Washington, Peter Kuhn, Bill Reiss, Lee, Walt Ritscher, John Papa, Kunal Chowdhury, cherylws, Jeremy Likness, Martin Krüger(-2-), Michael Crump, and Brad Tutterow. Above the Fold: Silverlight: "I know what you downloaded last summer" Peter Kuhn WP7: "Free fonts for commercial game development" Bill Reiss Training: "A couple of more data-related Silverlight Quickstarts for you" cherylws Shoutouts: Martin Krüger has an accordian style published in Expression Gallery: New accordion ...
In this Issue: Michael Washington, Sigurd Snørteland, Mark Monster, David Anson, Jesse Liberty(-2-), Mike Taulty(-2-), Brad Tutterow(-2-, -3-, -4-). Above the Fold: Silverlight: "Silverlight Attendance Demo using Sterling Silverlight Database" Michael Washington WP7: "How I made the ‘myChannel9' wp7 app (source code included) – Part 1" Sigurd Snørteland From SilverlightCream.com: Silverlight Attendance Demo using Sterling Silverlight Database Michael Washington has a great tutorial up on Code Project ...
In this Issue: René Schulte, Walter Ferrari, Amyo Kabir, David Anson, Jesse Liberty, Mike Taulty, Erik Mork, Jeremy Likness, and Joost van Schaik. Above the Fold: Silverlight: "Swapping two elements in a bound ObservableCollection" Joost van Schaik WP7: "Tracking Sales Statistics with the Silverlight Analytics Framework for Windows Phone" René Schulte Sharepoint: "how to build a small Silverlight 4 utility to upload files in a List or Library of Sharepoint" Walter Ferrari Shoutouts: Mike Taulty blogged ...
Microsoft: Our strategy with Silverlight has shifted At Microsoft’s Professional Developers Conference (PDC) this week, the future of Silverlight is one topic that has gotten short shrift. There have been no sessions about Silverlight 5 and only one mention of Silverlight in the kick-off keynote. But there were plenty of mentions of HTML 5 and Microsoft’s commitment to that technology, not only in the next version of its Internet Explorer browser, but also as the glue “facilitating a level of independence ...
Latest update (and hopefully last update): Microsoft has published a few posts to clarify the debate. Please consider the following: PDC and Silverlight by Bob Muglia PDC Thoughts by Steve Ballmer *NEW* Silverlight Questions by Scott Guthrie Silverlight is dead. Long live Silverlight! by Tim Heuer Committed to Silverlight by John Papa ---------------------------... Read the rest of this entry » ...
In this Issue: Michael Crump, XAMLCast, Sigurd Snørteland, Brad Tutterow(-2-), Manuel Felício(-2-), Mohamed Mosallem, Lee(-2-), Walt Ritscher, Chris Koenig, and Jeff Blankenburg. Above the Fold: Silverlight: "Architecting Silverlight LOB applications – Part 1" Manuel Felício WP7: "OData v2 and Windows Phone 7" Chris Koenig New: "Visual Studio Async CTP for the rest of us…" Michael Crump Shoutouts: Shawn Wildermuth posted an interesting discussion: A Week with WP7 from an Android User's Perspective ...
If you are like me, you may have been surprised when you read the MSDN documentation for System.Activities.Statement... A Parallel activity operates by simultaneously scheduling each Activity in its Branches collection at the start. It completes when all of its Branches complete or when its CompletionCondition property evaluates to true. While all the Activity objects run asynchronously, they do not execute on separate threads, so each successive activity only executes when the previously ...
In my last post, I introduced TouchToolkit – a toolkit for developing touch-enabled applications. This is the first of a multi-part post where I will explain how TouchToolkit can help simplify the development process of multi-touch applications in Silverlight or WPF 4.0. While we can use the recorded touch interactions (I will explain the recorder module in another post), its better to have a touch-enabled device (e.g. Dell XT2) or an emulator (e.g. MultiTouchVista) to test the application. First, ...
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 ...
In WPF, the TreeView control empowers developers with the ability to display hierarchical content with great ease and convenience. However, while load testing a TreeView control, we saw significant slowness on application startup. Contrary to our initial expectations, benchmarks showed that the bulk of the wait time is actually spent binding the data to and updating the TreeView interface while only a few seconds were spent retrieving and building the data model. That led us to learn more about UI ...
Sam Abraham (Me) presented an introduction to MVVM for WPF/Silverlight at the Ft Lauderdale ArcSig on Tuesday October 19th, 2010. With 43 registered attendees of whom many made it to the event, MVVM was sure proven to be a hot topic of interest. In a quick poll among the audience, many did develop WPF and/or Silverlight solutions, yet only one attendee had leveraged MVVM in code. A member of the audience reminded us that while our talk covered MVVM in the context of WPF, MVVM as a pattern is also ...
In this Issue: Walter Ferrari, Wei-Meng Lee, Rob Eisenberg, Timmy Kokke, Joost van Schaik, Jesse Liberty, Jeff Blankenburg, Jeremy Likness, and Victor Gaudioso(-2-). Above the Fold: Silverlight (and Sharepoint): "Silverlight and Sharepoint 2010: Getting Started" Walter Ferrari WP7: "Windows Phone 7 – Animation and Games (Part 2)" Jesse Liberty WP7 (2): "31 Days of Windows Phone | Day #19: Push Notifications" Jeff Blankenburg Shoutouts: Tim Sneath has some (not messy) pumpkin-carving fun to share ...
Intro Adobe Photoshop offers people the possibility to share gradients through .GRD files. These files can be found very easily on various sites. This extension for Expression Blend allows you to import these files and use them in your Silverlight or WPF projects. The extension makes use of some changes to Expression Blend made in SP1. You must have Blend SP1 installed to use this extension. Know limitations The extension isn’t finished yet. I haven’t worked out all the bugs yet, but this first release ...
Sam Abraham (Me) will be speaking on MVVM at the Ft Lauderdale ArcSig on October 19th, 2010. We will be covering the concepts and architectural patterns behind MVVM then move to discuss the MVVM-friendly features of WPF/Silverlight including XAML, Dependency Properties, Attached Properties and Behaviors. We will also take a look at some of the available MVVM Frameworks that can help quickly create the necessary structure and setup for an MVVM project including Prism, Caliburn Micro and MVVM Light. ...
In this Issue: Martin Krüger, Viktor Larsson, Peter Brady, Colin Eberhardt, Jeremy Likness, Jeff Blankenburg(-2-), and Jesse Liberty. Above the Fold: Silverlight: "Quick Fix for Silverlight HyperlinkButton Rendering" Peter Brady WP7: "iPhone to Windows Phone 7 – XNA, Animation and Games" Jesse Liberty Blend: "Expression blend 4 Add-in for access to a Silverlight XAML source code 4 project" Martin Krüger Shoutouts: My buddy András Velvárt posted a link to one of his company's latest creations... a ...
Microsoft All-In-One Code Framework is updated on 2010-10-10. Download address: http://1code.codeplex.com/r... If it’s the first time that you hear about Microsoft All-In-One Code Framework, please read the introduction on our homepage http://1code.codeplex.com/, and this Port25 article http://port25.technet.com/a... Windows Shell Extension New Samples In the September release of All-In-One Code Framework, we gave ...
I have been developing TouchToolkit for some time now and just released the October community technical preview (CTP) at the codeplex project website. The key features are: A domain-specific language to define custom gestures (e.g. sample gestures) Supports Windows 7/WPF 4.0 Touch API, Microsoft Surface, Silverlight and TUIO A record/replay module to simplify multi-touch testing and simulate multi-user scenarios A test framework to write unit test for testing gestures (integrated with Visual Studio ...