| |
browse.develop.com
Browse.develop.com is a community that was established to collect and
organize valuable web information. Our technical staff have selected and
indexed information and courses that they feel will help you stay
current on best practices across the SDLC.
|
5 Articles match "Sample","WPF"
| Related DevelopMentor Courses | MORE | | What’s new in ApprovalTests.Net v.20? Here’s an example var urls = new [] { "/Home/Index/Hello" , "/" }; AspApprovals.VerifyRouting(MvcApplication.RegisterRoutes, urls); In the sample above, the delegate (MvcApplication.RegisterRoutes) will be invokes against a mock route collection, and then fed the URLs provided. sample output would look like this: /Home/Index/Hello = > [[controller, Home], [action, Index], [id, Hello]] / = > [[controller, Cool], [action, Index], [id, ]] Event approvals Similar to the example above, another aspect of code which is often hidden (or implicit) is which events are wired-up to your form. DevelopMentor Courses - Thursday, August 9, 2012 Guerrilla.NET (US) Training WPF/SL : Develop cutting-edge UIs with Windows Presentation Foundation and Silverlight including coverage of Silverlight 5.0 MVVM : Learn advanced WPF / Silverlight design patterns and techniques including MVVM (Model-View-ViewModel). iOS : Build multi-touch enabled applications on platforms such as WPF, Silverlight, and Apple's iPhone / iPad. WPF/SL : Develop cutting-edge UIs with Windows Presentation Foundation and Silverlight including coverage of Silverlight 5.0 Main Topic Day 1 Introduction to WPF and Silverlight (version 4.0 dynamic typing from C# 4.0, DevelopMentor Courses - Tuesday, March 1, 2011 Simple MVVM Toolkit for Silverlight 5.0, Windows Phone 7.1 You still get all the source code, supporting libraries, and an abundance of samples. To get those, install the NuGet package manager from the Extensions Manager command under the Tools menu, then search for “SimpleMvvm” and select a package to install, depending on the type of project you have: WPF, Windows Phone, Silverlight 4 or Silverlight 5. I’ve just upgraded my Simple MVVM Toolki t to support Silverlight 5.0 and Windows Phone 7.1 ! If you have questions or comments, feel free to post them on the project discussion board. Enjoy DevelopMentor Courses - Friday, March 2, 2012 |
33 Articles match "Sample","WPF"
| The Latest from DevelopMentor | MORE | | What’s new in ApprovalTests.Net v.20? Here’s an example var urls = new [] { "/Home/Index/Hello" , "/" }; AspApprovals.VerifyRouting(MvcApplication.RegisterRoutes, urls); In the sample above, the delegate (MvcApplication.RegisterRoutes) will be invokes against a mock route collection, and then fed the URLs provided. sample output would look like this: /Home/Index/Hello = > [[controller, Home], [action, Index], [id, Hello]] / = > [[controller, Cool], [action, Index], [id, ]] Event approvals Similar to the example above, another aspect of code which is often hidden (or implicit) is which events are wired-up to your form. DevelopMentor Courses - Thursday, August 9, 2012 Simple MVVM Toolkit for Silverlight 5.0, Windows Phone 7.1 You still get all the source code, supporting libraries, and an abundance of samples. To get those, install the NuGet package manager from the Extensions Manager command under the Tools menu, then search for “SimpleMvvm” and select a package to install, depending on the type of project you have: WPF, Windows Phone, Silverlight 4 or Silverlight 5. I’ve just upgraded my Simple MVVM Toolki t to support Silverlight 5.0 and Windows Phone 7.1 ! If you have questions or comments, feel free to post them on the project discussion board. Enjoy DevelopMentor Courses - Friday, March 2, 2012 2011 Recap It was at that time that I decided to write my own MVVM Toolkit, which I called “ Simple MVVM Toolkit ,” first targeting it for Silverlight, and then adding support for both WPF and Windows Phone. Then I spent the better part of the next four months adding features, putting together sample apps and documentation, writing an installer, and performing some screencasts. After a rather long break from blogging, it’s time for me to jump back in! On a personal level, we added a new member to our family: Kornelius Aaron Sneed, born February 8, 2011. So what’s next for blogging? Persona Tony and Zuzana's World - Tuesday, January 31, 2012 | -
| The Best from DevelopMentor | MORE | - WPF MVVM Helper Library (WPF + MVVM = testability)
There's been a lot of talk about the Model-View-ViewModel pattern recently and it's usage around the WPF and Silverlight technology stack. When teaching WPF, I always introduce students to MVVM as part of the Essential WPF class, it's an incredibly useful pattern that really separates the UI from the code behind behavior. It's evolution owes a lot to various blog posts, WPF Disciples, and other WPF leaders; I certainly didn't invent anything radically new but borrowed heavily from all kinds of places as I built various classes I needed for my own work. file -. - Part 3: Shifting focus to the first available element in WPF
We've seen how to programatically control focus and that's all great stuff, but one thing I like to do with WPF is see how much of the repetitive or UI-specific code I can move into the XAML and keep out of the code behind. didn't in the sample (or in my production app) but I could certainly see that being a common reality. Tags: NET;WPF We can use the FocusManager.FocusedElement property to shift focus in XAML but it only works when the element exists in the main XAML file. So it might seem we are stuck with adding code behind logic (blech!) but all is not lost! - Using Model – View – ViewModel with Silverlight
have found it extremely easy to use when developing very different applications and have used the design pattern recently in both ASP.NET, WPF and Silverlight applications. Josh Smith did an excellent screen cast for Pixel8 on using MVVM with WPF, you can find it here. Even thought the UI technology used doesn't change the basic MVVM pattern there are some subtle differences, like not easily being able to use ICommand in Silverlight, so I decided to create a small Silverlight sample. know it is a bit of a lame business rule but it is just a sample. 11: {. 14: {. The Problem Solver - Tuesday, April 7, 2009 - Part 3: Shifting focus to the first available element in WPF
We've seen how to programatically control focus and that's all great stuff, but one thing I like to do with WPF is see how much of the repetitive or UI-specific code I can move into the XAML and keep out of the code behind. didn't in the sample (or in my production app) but I could certainly see that being a common reality. Tags: NET WPF We can use the FocusManager.FocusedElement property to shift focus in XAML but it only works when the element exists in the main XAML file. So it might seem we are stuck with adding code behind logic (blech!) but all is not lost! - Access Control Service: Passive/Active Transition Sample
Here you can find my updated ACS2 sample. In addition to the existing front ends (web [WS-Federation], console [SOAP & REST], Silverlight [REST]) and error handling , it now also includes a WPF client that shows the passive/active transition with a SOAP service as illustrated here. All the ACS interaction is encapsulated in a WPF user control that: retrieves the JSON feed. displays a list of supported identity providers. triggers the sign in via a browser control. retrieves the token response. All you need to supply is the ACS namespace and the realm. Have fun! www.leastprivilege.com - Thursday, June 23, 2011 - MVVM: Views and ViewModels
Views are the UI presentation of data - in the case of a WPF/Silverlight application this is most commonly the XAML and XAML code behind files (they are considered a single element together). That way, my ViewModel sticks with base (non-WPF) types. This is necessary under WPF 3.5 cf0 cf3 ///cf4 Sample ViewModel that wraps a Directory.par ??cf0 par ??} -->. ///. /// Sample ViewModel that wraps a Directory. ///. cf0 messageVisualizer.Show(cf7 "About File Explorer Sample"cf0 , cf7 "File Explorer Sample 1.0"cf0 Tags: NET Code MVVM WPF Views. - Replacing Services in MVVM Helpers
ll start with a brand-new WPF application and add MVVMHelpers through NuGet – a new service from Microsoft for adding dependencies easily: Next, let’s add a single button and a TextBlock to the window, in two equally spaced rows – binding the first to a command called “CalculatePi” and the second to some text “PiText”. The implementation provided in the sample code displays a notification dialog – where the IDisposable returned object closes the dialog for you. Hopefully that gives some background on service resolution – the full sample is located at [link]. Happy Coding! %>
| | |