Lester's WPF\SL Blog


Simple, Easy & Beautiful


 

Blog - Post Feedback Form(CAPTCHA)
  • Lester's WPF\Silverlight Blog

    TestAPI Library Usage

    • 6 Comments
    TestAPI . Heard of it? Tried it?... huh So here is the gist of it. It’s a collection of helper functions that will make testing your applications easier. Now this is an alpha release and is in the first iteration – so we still have a feature backlog J Currently we support the following 5 scenarios: Visual Verification Sample Usage: // Capture the actual pixels from the bounds of the screen rectangle Snapshot actual = Snapshot .FromRectangle(windowRect); // Load the reference/master data from a previously saved file Snapshot master = Snapshot .FromFile( Path .Combine( TestContext .TestDeploymentDir, "Master0.png" )); // Compare the actual image with the master image Snapshot difference = actual.CompareTo...
  • Lester's WPF\Silverlight Blog

    MEF for Loading themes/resourceDictionaries

    • 1 Comments
    Hmm... One more acronym to remember :).. "The Managed Extensibility Framework (MEF) is a new library in .NET that enables greater reuse of applications and components. Using MEF, .NET applications can make the shift from being statically compiled to dynamically composed. If you are building extensible applications, extensible frameworks and application extensions, then MEF is for you." - MEF Site MEF is a relatively new project which is still in development (alpha release) and looks very promising Was catching up with the blogs and articles online and Rudi's post of the use of MEF for loading themes caught my eye... Nice good read... Take a peek :) Share this post
  • Lester's WPF\Silverlight Blog

    WPF Test Helper Library

    • 2 Comments
    Testing your application is a critical part of the development lifecycle. However, as part of testing we often reinvent the wheel when it comes to helpers. How many of you out there have written file, input, and so forth helper classes. We realized this and decided to put out an open source project that delivers quality helper classes that would work out of the box. We have started out with a small set of API's for now but plan to expand it further. Currently we support the following helpers Commandline parsing API Input API UIA Utility API Visual Verification API WPF Dispatcher Where do you get it: http://www.codeplex.com/TestApi You also get documentation of the APIs and a sample...
  • Lester's WPF\Silverlight Blog

    Translation bot for Messenger

    • 3 Comments
    Did you know about it. I tried it out today and it works pretty well. All you need to do is add mtbot@hotmail.com as one of your contacts. Start the conversation with the bot and it asks for the source and target language and from then on you have a translator bot doing the translation. Current languages supported: English to/from: Arabic Chinese Simplified Chinese Traditional Dutch French German Italian Japanese Korean Portuguese Russian (RUS->ENU only) Spanish Chinese Simplified <-> Chinese Traditional For more info click here Share this post
  • Lester's WPF\Silverlight Blog

    Testing WPF apps using NUnit

    • 2 Comments
    Needless to say I use VSTS for testing purposes. However, quite a lot of people use NUnit for testing. So it was a good read for me when I came across Sacha's post on NUnit and WPF testing. So if you are using NUnit, do take a peek :) Other related posts: http://marlongrech.wordpress.com/2007/10/14/wpf-unit-testing/ http://www.codeproject.com/KB/WPF/UnitTestDispatcherTimer.aspx Share this post
  • Lester's WPF\Silverlight Blog

    SilverLight Chart Controls running on WPF

    • 3 Comments
    In his recent blog post , Jaime took a stab at running the charting controls in the SilverLight ToolKit CTP on WPF.. Now thats awesome, aint it? Jaime also has the updated source code posted - Click here Share this post
  • Lester's WPF\Silverlight Blog

    New WPF Controls: Ribbon/Calendar/DatePicker/VSM

    • 1 Comments
    Now you asked for more controls and you got it!! We have got walkthroughs for the following features: WPF Toolkit: DataGrid Feature Walkthrough New! WPF Toolkit: Visual State Manager Overview New! Ribbon Feature Walkthrough New! WPF Toolkit: DatePicker and Calendar Walkthrough New! And to whet your appetite, heres some screenshots: So where do you download it: http://www.codeplex.com/wpf Share this post
  • Lester's WPF\Silverlight Blog

    WPF sources/symbol files for 3.5 SP1

    • 0 Comments
    Today the debug symbols and sources for WPF 3.5 SP1 were pushed online for download through VS2008. Steps for configuring VS to make use of the symbols and sources are located at : http://referencesource.microsoft.com/serversetup.aspx To read the RSCC post, click here Share this post
  • Lester's WPF\Silverlight Blog

    Tool: Crack.NET

    • 1 Comments
    Josh has just published the tool he's been working on - CRACK.NET. Its a combo of Snoop and Mole and its pretty awesome. "Crack.NET allows you to “walk” the managed heap of another .NET application, inspect all kinds of values on objects, and even manipulate those objects via IronPython scripts" You can read more about it from here Documentation : http://joshsmithonwpf.files.wordpress.com/2008/10/cracknet-article1.doc Link: http://www.codeplex.com/cracknetproject Download (Binaries/code): http://www.codeplex.com/cracknetproject/Release/ProjectReleases.aspx?ReleaseId=18629 Some snapshots: Share this post
  • Lester's WPF\Silverlight Blog

    XAML to PNG with server-side WPF

    • 0 Comments
    Y'day I just read an interesting post of rendering xaml files with Server side WPF logic.. Got time.. take a look at Lurent's post here Share this post
  • Lester's WPF\Silverlight Blog

    Xaml Coding guidelines

    • 1 Comments
    While we have comes across a number of Coding guidelines, there is hardly any guidance wrt writing Xaml. Recently, I was pointed to Paul Stovell's post on Xaml coding guidelines and it is indeed an interesting post. Its a pretty nice list of Xaml coding guidelines. Take a look Share this post
  • Lester's WPF\Silverlight Blog

    Analyzing complex code

    • 3 Comments
    Quite often you come across some complex code, and the first thing you think of is "is there a diagram which lays this out?". .NET Reflector and its large set of plugins do help in this aspect and one of the plugins that is like is the SequenceViz, which gives you sequence diagrams in SVG format. This is in alpha, so be prepared for crashes. :). I use it with Inkscape which allows you the ability to edit the SVG files. Bit of a pain, you would say. hmmm.... However, recently i got a chance to play around with NDepend , a static analysis tool. It has a lot of functionality and it does its job well. The one thing I like about this tool is the graph that it shows for the dependencies. And not just that, you can use the cql language (which is...
  • Lester's WPF\Silverlight Blog

    XamlPadX 4.0

    • 21 Comments
    So I finally got a chance to update XamlpadX and heres the new version. Whats new. The UI has been revamped to give the Blend sorta look. Menus have been rearranged to maximize the space. New addins: Clipboard viewer - which works well for analyzing rtf/xaml ... Path Designer/Jasema (thanks to Marlon) Snapshot utility to take snapshots and save the xaml rendering Syntax highlighting and collapsing (thanks to the editor control from SharpDevelop project) Error logs - left bottom corner has a link to the stack trace when there is an error Error light - editor has a red/green box at the bottom right corner Bug fixes/code restructuring Also, i would like to point...
  • Lester's WPF\Silverlight Blog

    WPF SplashScreen Template

    • 3 Comments
    The Splashscreen feature was part of SP1. However, there was no VS template to get it done fast. We have now released the VS template for creating Splashscreens for your projects. EnJoi http://www.codeplex.com/wpf/Release/ProjectReleases.aspx?ReleaseId=14962 For step by step walkthrough of creating the splashscreen check this blog entry Share this post
  • Lester's WPF\Silverlight Blog

    WPF Datagrid CTP

    • 9 Comments
    One of the common requests from LOB customers has been the Datagrid control. Its not there is SP1 but we have released the CTP version of this control on Codeplex. check it out here: http://www.codeplex.com/wpf/Release/ProjectReleases.aspx?ReleaseId=14963 In addition, it also includes VS templates for building GPU shader based effects.. http://www.codeplex.com/wpf/Release/ProjectReleases.aspx?ReleaseId=14962 Share this post
  • Lester's WPF\Silverlight Blog

    .NET 3.5 SP1 released

    • 4 Comments
    Theres just a ton of new features in SP1... so lets just jump to the links (from Charlies blog post ) :) VS 2008 Service Pack 1: Executable: http://go.microsoft.com/fwlink/?LinkId=122094 ( Direct Link ) Iso: http://go.microsoft.com/fwlink/?LinkId=122095 ( Direct Link ) VS 2008 Express Editions with Service Pack 1: Executable: http://go.microsoft.com/fwlink/?LinkId=123679 ISO: http://go.microsoft.com/fwlink/?LinkId=123680 VS Team System 2008 Team Foundation SP 1: http://go.microsoft.com/fwlink/?LinkId=124829 .NET Framework 3.5 Service Pack 1 http://go.microsoft.com/fwlink/?LinkId=124150 Team Foundation Server Team Foundation Server 2008 SP1 ( TFS Installation Guide ) Got feedback? https:/...
  • Lester's WPF\Silverlight Blog

    Posts about threading in .NET

    • 2 Comments
    if you want to know more about Threading, theres a series of posts (in the making) by Sacha Barber on Code Project. This is definitely a good read :) The following are links to the posts: Introduction into threading in .NET Lifecyle Of Threads/Threading Opportunities/Traps Synchronization Thread Pools Threading in UIs (Winforms / WPF / Silverlight) - not yet done The Future Of Threading (Task Parallel Library) - not yet done Share this post
  • Lester's WPF\Silverlight Blog

    Composite Application Guidance for WPF 2008

    • 2 Comments
    Its been some time before my last post. Just catching my breath with a new addition to my family. :) The Composite Application Guidance aka PRISM for WPF 2008 has just been released. For those who havent heard of it : "The Composite Application Guidance for WPF can help you split the development of your WPF client application across multiple development teams, each responsible for the development of a piece of the application, and help you seamlessly compose those pieces together into a client application. The guidance includes a reference implementation, reusable library code (called the Composite Application Library), documentation, quick start tutorials and hands-on labs." For more details/downloads take a look at the project on codeplex...
  • Lester's WPF\Silverlight Blog

    WPF WebBrowser (.NET 3.5 SP1)

    • 15 Comments
    One of the new controls is the WebBrowser... aha!! not the Winforms control.. we now have it in WPF. Functions supported by this control are: NavigateToString NavigateToStream Navigate GoBack GoForward In xaml it would look like something like this: < StackPanel Name = " panel " > < WebBrowser Height = " 500 " > </ WebBrowser > </ StackPanel > I put together a simple sample which tries to use this functionality Looks like the above. Nothing fancy :) Also since this is beta you might find a few rough edges (bugs) here and there.Please report them on the connect website or on the forums. Project Code: Attached Share this post
  • Lester's WPF\Silverlight Blog

    New 3.5 SP1 features: ScrollViewer.IsDeferredScrollingEnabled; AlternationCount;IEditableCollectionView

    • 2 Comments
    3 more features which go hand in hand are the: · ScrollViewer.IsDeferredScrollingEnabled · AlternationCount · IEditableCollectionView All the above have been used in a sample which looks like this - it supports add/delete/cancel (escape key) operations ScrollViewer.IsDeferredScrollingEnabled This is an opt in features which provides a perceived performance improvement. What it does is that content doesn’t scroll while the scrollbar is in action. Once you stop the content refreshes to the new scrolled value. In this case you avoid the possible jitter motion in scrolling. Usage: < ListBox ScrollViewer.IsDeferredScrollingEnabled = "true”> Alternation Count This allows setting alternating properties on...
Page 5 of 13 (241 items) «34567»