Telerik blogs
  • Web ASP.NET AJAX

    Demystifying unexpected redirects to login page in ASP.NET

    Have you often configured the authorization settings of your website to specify areas with special access rules? One of the common scenarios is to create a website that should be available only to authenticated users. When doing this, have you ever run into the strange behavior of a login page life cycle being executed multiple times when the access to all pages is denied for anonymous users? Read on to see why this happens and how you can avoid it with only a few changes in the web.config file of your website.
    January 11, 2013 4 min read
  • Web

    Using Kendo UI templates with Backbone

    Backbone and Kendo make a beautiful combination as we've already seen. But this dynamic duo doesn't stop with the use of the Kendo control suite. Backbone's flexibility and defining characteristic of open and unopinionated structure allow it to be combined with more of Kenod's capabilities than just...
    January 11, 2013 4 min read
  • Web jQuery

    Consuming Services - Cleanly Rendering Returned Data into Your App

    After my last blog post a friend asked for advice on how to render the data that's returned to his app in a clean, simple way. Immediately, two simple ways to accomplish this came to my mind. One using string concatenating and one using a hidden block of HTML as a template.
    January 11, 2013 3 min read
  • Productivity Testing

    Asserting Behavior with JustMock

    JustMock is a great tool for abstracting dependencies in unit tests, and the new automocking feature makes it even faster to develop unit tests.  Another great feature in JustMock and JustMock Lite is the capability to assert the behavior of your system under test.  Traditional TDD (Test Driven Testing) unit testing typically tests for state.  Did the user get logged in? Did the user’s shopping cart get loaded?  Important tests, of course.  But that only tests the end result of the method.  If the user does NOT successfully login, and the cart is not reloaded, is that because the call to the repository was never called? Or because some error happened that didn’t reload the cart in this particular use case?  The state of the application is correct, but is that because it executed the expected behavior, or because we got lucky? 
    January 10, 2013 5 min read
  • Web ASP.NET AJAX

    Get Started with ASP.Net AJAX Controls: Gauging the Data Configuration

    Welcome back to our series on getting started with the ASP.Net AJAX Controls. In part 2 of this series, we defined our project and site layout with navigation menus. In this article we will configure a simple data source with Entity Framework 5 and add our first data-bound component to our dashboard to verify that data is loading properly.
    January 10, 2013 8 min read
  • Web ASP.NET AJAX

    Demystifying unexpected redirects to login page in ASP.NET

    Have you often configured the authorization settings of your website to specify areas with special access rules? One of the common scenarios is to create a website that should be available only to authenticated users. When doing this, have you ever run into the strange behavior of a login page life cycle being executed multiple times when the access to all pages is denied for anonymous users? Read on to see why this happens and how you can avoid it with only a few changes in the web.config file of your website.
    January 11, 2013 4 min read
  • Web

    Using Kendo UI templates with Backbone

    Backbone and Kendo make a beautiful combination as we've already seen. But this dynamic duo doesn't stop with the use of the Kendo control suite. Backbone's flexibility and defining characteristic of open and unopinionated structure allow it to be combined with more of Kenod's capabilities than just...
    January 11, 2013 4 min read
  • Web jQuery

    Consuming Services - Cleanly Rendering Returned Data into Your App

    After my last blog post a friend asked for advice on how to render the data that's returned to his app in a clean, simple way. Immediately, two simple ways to accomplish this came to my mind. One using string concatenating and one using a hidden block of HTML as a template.
    January 11, 2013 3 min read
  • Productivity Testing

    Asserting Behavior with JustMock

    JustMock is a great tool for abstracting dependencies in unit tests, and the new automocking feature makes it even faster to develop unit tests.  Another great feature in JustMock and JustMock Lite is the capability to assert the behavior of your system under test.  Traditional TDD (Test Driven Testing) unit testing typically tests for state.  Did the user get logged in? Did the user’s shopping cart get loaded?  Important tests, of course.  But that only tests the end result of the method.  If the user does NOT successfully login, and the cart is not reloaded, is that because the call to the repository was never called? Or because some error happened that didn’t reload the cart in this particular use case?  The state of the application is correct, but is that because it executed the expected behavior, or because we got lucky? 
    January 10, 2013 5 min read
  • Web ASP.NET AJAX

    Get Started with ASP.Net AJAX Controls: Gauging the Data Configuration

    Welcome back to our series on getting started with the ASP.Net AJAX Controls. In part 2 of this series, we defined our project and site layout with navigation menus. In this article we will configure a simple data source with Entity Framework 5 and add our first data-bound component to our dashboard to verify that data is loading properly.
    January 10, 2013 8 min read