• Future mocking revisited

    Friday, September 30, 2011 by Just* Team | Go comment!
  • Future mocking revisited

    Friday, September 30, 2011 by Just* Team | Go comment!

    Previously , I have posted how it is possible to mock a method without passing the dependency through a constructor / calling method. This is something true for third party controls and tools where we have little control over how its created.

    You can find more on that in the following post:

    http://weblogs.asp.net/mehfuzh/archive/2011/07/21/fake-a-member-without-worrying-about-passing-the-dependency.aspx

     

    Now the feature that lets you mock  members without passing the dependency, we call it Future mocking. However it does not mean that Justmock ignores the instance completely but rather there is a workflow where it checks if there is no match for instance (of course it is a profiler intensive...

  • We here at Telerik always strive to help you deliver applications leveraging the latest and greatest industry trends from the moment that they are released. With touch-enabled devices gaining more popularity by each passing day, we surely don’t want you to miss out on the opportunity to build applications leveraging this exciting technology. Android, iOS and now even Windows 8 devices – they all use touch as their primary way of interaction. Some of you might even be reading this very post with one of these devices! What about your favorite set of ASP.NET AJAX controls?

    Tap and touch are...

  • In the last episode we were examining a creative approach that the development team behind the CRM demo incorporated for connecting views to their Prism regions using a combination of custom attributes, attached behaviors, and the managed extensibility framework (MEF). One of the commenters was a little critical of the ‘magic’ behind MEF, and rightly so as many of us like being able to trace the exact line that code will go through as opposed to relying on the magic of composition to work everything out for us. Today we bring you one of those unexpected issues in which the...

  • As every year Telerik sponsored the biggest .NET developer conference in Germany, BASTA.

    It was good to see that the number of attendees has grown again keeping us pretty busy on our booth.

    Basta conference, Telerik booth

    Considering that we got 18 products at the moment it is quite a challenge to staff the booth with people. Anyway we managed it with 3 guys plus extra support from Richard Campbell.

    A little surprise was that quite a lot of people were interested in our WinForms controls. So it’s not always the latest technology people are looking for, some like it mature ;-)
    This just further confirms the...

  • This is part one of the RadChart for WinRT blog series. For more information please refer to the other parts of the series:
    Part two - The Compilation
    Part three - Taking its First Breath

     

    Now that the early bits of WinRT – the new Windows 8 development platform are out, we (at Telerik) are eager to explore this whole new world that awaits us - the opportunities it offers and the challenges to be faced. I would like to elaborate a bit more on how we feel about this new world. We are strong believers that a programming language is only a tool used...

  • The Q2 2011 SP1 release is already out and it includes many improvements and fixes for the existing controls promised to our customers, however, it also includes a brand new component that is in the beta stage - RadBulletGraph.

    The bullet graph is a component for data visualization that succinctly and accurately visualizes a comparison between different data in a quantitative and qualitative manner. A full specification of the bullet graph component can be found here.

    The great thing about the bullet graph is that it takes the linear subset of the gauges and uses it so that the information is visualized clearly and concisely...

  • In the early days of Silverlight binding support for advanced dynamic scenarios was very limited (remember my DataTable?). Since then, however, the platform has evolved greatly – so did our tools!

     

    Dynamic code 2009 style:
    image

     

    Dynamic code 2011 style:
    image

     

    Now to bind RadGridView to some dynamic data you just need ObservableCollection<dynamic>:
    image

     

    RadGridView will auto-generate columns automatically using your DynamicObject GetDynamicMemberNames() implementation and will call your TryGetMember/TrySetMember (TryGetIndex/TrySetIndex in case of indexer binding) methods when needed.

     

    To illustrate this I’ve made small example project (similar to this blog post) demonstrating...

  • As we mentioned in our recent post we added new project templates to Telerik OpenAccess ORM, making it easier than ever to get an application up and running. In this blog we will take a look at each of the new templates, see what they provide, and see how you can leverage them with other Telerik Components.

    Using the Templates

    These templates are for .NET 4.0; so when adding a new project make sure that .NET Framework 4 is selected in the drop down above the project template list.

    image

    Web Site Template

    To make it easier for developers using Web Site projects, we added a...

  • Currently RadMap supports three built-in map providers: Bing Maps, Open Street Maps and Empty provider. The empty provider does not show any map tiles. It just provides spatial reference (projection) for other operations (i.e. KML or ESRI shape files).
    The Bing Maps and Open Street Map providers read their tile images from internet. Of course a browser can use these images from its cache, but the Bing Maps provider requires internet connection because it uses a WCF service to get URLs of the tile images.
    It is a common scenario that the map...