Telerik blogs

Latest

  • Productivity

    Working with multiple interfaces on a single mock.

    Today , I will cover a very simple topic, which can be useful in cases we want to mock different interfaces on our expected mock object.  Our target interface is simple and it looks like:   public interface IFoo : IDisposable {     void Do(); } Our target interface has an IDisposable implemented. Now, generally if we implement it in a class , we have to implement the whole of it [which is quite logical] and that should not wait for any extra calls or constructs. Considering that, when we are creating our target mock it should also implement all the dependent interfaces for us as well.   Therefore,  as we are creating...
    April 26, 2010
  • Productivity

    Validating Your Domain Model

    With the Q1 Release of the Telerik OpenAccess ORM we introduced the new Visual Designer for OpenAccess. In a nutshell it’s a drag-and-drop editor that visualizes the mapped classes and their relationships. It is a great improvement and people are often stunned by it. One of the coolest features that it presents though is often overlooked. OpenAccess gives you the possibility of validating your model. Note that this is extremely helpful due to the fact that you are able to build your solution with an invalid model and then get errors in the runtime. On top of that it also suggests...
    April 26, 2010
  • People

    Great Indian Developer Summit Wrap-Up

    Last week I spoke at the Great Indian Developer Summit in Bengaluru, India. This was my second year speaking at GIDS, so it was great to be back. Before the event Telerik’s Team Fantastic Four set up the booth and then hit McDonalds for a Maharaja Mac. Remember India does not eat beef, so we HAD to go to McDonalds and check it out! Imagine a McDonalds without a hamburger. Totally awesome. (Though we all preferred the McAloo, a potato patty sandwich.) The event is really 4 conferences in 4 days. One day each on: .NET, Web, Java, and Seminars. On the Day 1 (.NET) I spoke on: Building Data...
    April 26, 2010
  • Productivity

    Looking at the Telerik OpenAccess ORM Visual Designer Toolbox

    The Telerik OpenAccess ORM Visual Designer provides toolbox items that one can use to update and fine tune the persistence model and how the entity classes will behave. Inheritance - like other objects, the mapped entity classes can be used in inheritance scenarios and can be derived from other classes. The Telerik OpenAccess ORM provides the power of inheritance to the data access layer. Classes in an inheritance hierarchy can be mapped to the same table (flat mapping) or to different tables (vertical mapping and horizontal mapping), or a combination of two strategies (mixed flat and vertical). The Telerik OpenAccess ORM Visual...
    April 25, 2010
  • Release

    XAML RadControls are out with Q1 2010 SP1

    Our main focus with Q1 2010 SP1 release is the official launch of RadControls for Silverlight 4 RTW. Shortly after the official announcement on April 15th we delivered the natively built suite on Silverlight 4 to empower our clients with the advantages of the new capabilities for developing robust enterprise applications. The suite features support for both Microsoft Visual Studio 2010 and Microsoft SharePoint 2010. With Q1 2010 SP1 we have delivered installations for both Silverlight 3 and Silverlight 4. We’ll keep the support for Silverlight 3 with full installations until the Q2 2010 release and after that will ship upgrades...
  • Web ASP.NET AJAX

    Templates and Cross-domain client-side binding with RadGrid for ASP.NET AJAX

    Or yet another Twitter grid… Yesterday, while I was playing around with this example of our MVC Grid, I thought that the RadGrid for ASP.NET AJAX deserves one too. What I like about this sample scenario is that it gives a perfect opportunity to demonstrate both how to do client cross-site request (as we have received a few questions through our support channels) and to check the “future” ASP.NET AJAX/jQuery client-side templates prototype.     A wiser guy once said “a code sample is worth more than a 1000 words “;) That is why I’ll keep it short and let you check the...
    April 23, 2010
  • Productivity Reporting

    Using Telerik Reporting in a WPF application

    Now that Telerik Reporting provides WPF support, let's see how to use it (a video on this topic is available as well): Creating the application Install RadControls for WPF 2010 Q1 SP1 (download | release notes). Install the corresponding Telerik Reporting version. Create a new WPF application project in Visual Studio Add references to the following Telerik RadControls for WPF assemblies: Telerik.Windows.Controls Telerik.Windows.Controls.Input Telerik.Windows.Controls.Navigation Telerik.Windows.Data NOTE: It is possible that the RadControls for WPF assemblies have a greater version than the one against which the WPF Report Viewer control was built. In this case you have to add appropriate assembly binding...
    April 23, 2010
  • Web

    Master-Details with RadGridView for Silverlight 4, WCF RIA Services RC2 and Entity Framework 4.0

    I have prepared a sample project with the Silverlight 4 version of RadGridView released yesterday. The sample project was created with Visual Studio 2010, WCF RIA Services RC 2 for Visual Studio 2010, and ADO.NET Entity Framework (.NET 4). I have decided to use the SalesOrderHeader and SalesOrderDetails tables from the Adventure Works Database, because they provide the perfect one-to-many relationship: I will not go over the steps for creating the ADO.NET Entity Data Model and the Domain Service Class. In case you are not familiar with them, you should start with Brad Abrams’ series of blog posts and read this blog after that. To enable the...
    April 23, 2010
  • Productivity

    Telerik OpenAccess ORM and the XML Metadata Source

    We all know that Telerik OpenAccess ORM has a completely new face with the Q1 2010 release so it is about time to start blogging about some of the features and improvements that the new Visual Designer brought along.  Today I will talk about one of the most notable changes in the new version of OpenAccess ORM and that is the “XML – only” mapping. You all know that so far with the previous versions of the product the mapping information was defined by a mix of XML configuration files and CLR attributes. After a lot of customer feedback and...
    April 23, 2010
  • People

    TechEd India Recap

    Last week I spoke at TechEd India and the Visual Studio 2010 launch. It was a great event with over 3,000 attendees, far more than attended the Visual Studio launch in Las Vegas! Senior vice president of the Developer Division at Microsoft, S. Somasegar, did an awesome keynote. I did three sessions: Building applications with OData Building Line of Business Applications with WCF and Silverlight 4.0 Building Silverlight Business Applications with RIA Services Something happened to me that never happened before in my 13+ years of being a professional international speaker: I lost my voice! I was in Indonesia the week before and picked up a small bug and had...
    April 22, 2010