Telerik blogs
  • Productivity

    Playing with aspx page cycle using JustMock

    In this post , I will cover a test code that will mock the various elements needed to complete a HTTP page request and  assert the expected page cycle steps. To begin, i have a simple enumeration that has my predefined page steps: public enum PageStep {     PreInit,     Load,     PreRender,     UnLoad } Once doing so, i  first created the page object [not mocking]. Page page = new Page(); Here, our target is to fire up the page process through ProcessRequest call, now if we take a look inside the method with reflector.net,  the call trace will go like : ProcessRequest –> ProcessRequestWithNoAssert –>...
    April 29, 2010
  • Release

    New JustMock build available for download.

    We've been quite busy lately, trying to fix all the known issues and all the newly discovered problems (mainly thanks to customers' feedback). Fortunately we've managed to fix most of these problems and here's a list of all the fixes and small improvements, available in the latest JustMock build: Support for Visual Studio 2010 RTM. We've also included VS2010 solutions with examples so that you don't need to convert the 2008 solutions to 2010. Support for TestDriven.NET. Now you can run tests, which mock final, static, etc. members, using TestDriven.NET. Unfortunately, due to some integration between TypeMock and TestDriven.NET, the tests will still fail...
    April 29, 2010
  • Productivity Reporting

    How to create Self-Hosted Telerik Reporting WCF Service in 9 easy steps

    With the 2010 Q1 SP1 release of Telerik Reporting we have introduced Self-Hosted Reporting WCF Service. In the following blog we are explaining how to use our new feature. First lets highlight the advantages of the Self-Hosted services: Easy to use: With only a few lines of code you have your service running. Easy to debug: Debugging WCF services that are hosted in a self-hosted environment provides a familiar way of debugging, without having to attach to separate applications that activate your service. Easy to deploy. Flexible: You can easily control the lifetime of your services. Supports all bindings and transport. For the service...
    April 29, 2010
  • Productivity Testing

    StarEast Kicks off Today with Telerik on Board

    We are excited to take part in the premier testing event of the year – StarEast, which takes place in Orlando, Florida, April 25-30. Telerik is a platinum sponsor and exhibitor of this year’s conference. Watch Telerik booth @ StarEast on video See more photos Telerik team will be showcasing our recently introduced automated testing tools (The official premiere of Telerik new automated testing division took place at DevConnections a couple of weeks ago – watch it on Telerik TV). If you plan to be at StarEast, make sure to stop by Telerik booth #10 for a live ...
    April 29, 2010
  • Web ASP.NET AJAX

    RadGrid for ASP.NET Ajax and LINQ

    One of the most-asked questions when it comes to the ASP.NET Ajax RadGrid is "How do I improve performance?". We have covered this in some Webinars and videos that can be found on Telerik TV in a series which has been released in three parts: Part One, Part Two and Part Three. One thing I wanted to bring up with respect to performance is the usage of LINQ (Language Integrated Query) and our RadGrid. Although LINQ has been out since the initial release of .NET 3.5 I still receive quite a few questions when it comes to using it with our...
    April 28, 2010
  • Productivity

    Playing with aspx page cycle using JustMock

    In this post , I will cover a test code that will mock the various elements needed to complete a HTTP page request and  assert the expected page cycle steps. To begin, i have a simple enumeration that has my predefined page steps: public enum PageStep {     PreInit,     Load,     PreRender,     UnLoad } Once doing so, i  first created the page object [not mocking]. Page page = new Page(); Here, our target is to fire up the page process through ProcessRequest call, now if we take a look inside the method with reflector.net,  the call trace will go like : ProcessRequest –> ProcessRequestWithNoAssert –>...
    April 29, 2010
  • Release

    New JustMock build available for download.

    We've been quite busy lately, trying to fix all the known issues and all the newly discovered problems (mainly thanks to customers' feedback). Fortunately we've managed to fix most of these problems and here's a list of all the fixes and small improvements, available in the latest JustMock build: Support for Visual Studio 2010 RTM. We've also included VS2010 solutions with examples so that you don't need to convert the 2008 solutions to 2010. Support for TestDriven.NET. Now you can run tests, which mock final, static, etc. members, using TestDriven.NET. Unfortunately, due to some integration between TypeMock and TestDriven.NET, the tests will still fail...
    April 29, 2010
  • Productivity Reporting

    How to create Self-Hosted Telerik Reporting WCF Service in 9 easy steps

    With the 2010 Q1 SP1 release of Telerik Reporting we have introduced Self-Hosted Reporting WCF Service. In the following blog we are explaining how to use our new feature. First lets highlight the advantages of the Self-Hosted services: Easy to use: With only a few lines of code you have your service running. Easy to debug: Debugging WCF services that are hosted in a self-hosted environment provides a familiar way of debugging, without having to attach to separate applications that activate your service. Easy to deploy. Flexible: You can easily control the lifetime of your services. Supports all bindings and transport. For the service...
    April 29, 2010
  • Productivity Testing

    StarEast Kicks off Today with Telerik on Board

    We are excited to take part in the premier testing event of the year – StarEast, which takes place in Orlando, Florida, April 25-30. Telerik is a platinum sponsor and exhibitor of this year’s conference. Watch Telerik booth @ StarEast on video See more photos Telerik team will be showcasing our recently introduced automated testing tools (The official premiere of Telerik new automated testing division took place at DevConnections a couple of weeks ago – watch it on Telerik TV). If you plan to be at StarEast, make sure to stop by Telerik booth #10 for a live ...
    April 29, 2010
  • Web ASP.NET AJAX

    RadGrid for ASP.NET Ajax and LINQ

    One of the most-asked questions when it comes to the ASP.NET Ajax RadGrid is "How do I improve performance?". We have covered this in some Webinars and videos that can be found on Telerik TV in a series which has been released in three parts: Part One, Part Two and Part Three. One thing I wanted to bring up with respect to performance is the usage of LINQ (Language Integrated Query) and our RadGrid. Although LINQ has been out since the initial release of .NET 3.5 I still receive quite a few questions when it comes to using it with our...
    April 28, 2010