Telerik blogs

Latest

  • Productivity

    String Matching in LINQ

    Performing simple string equality tests is often not enough when application user convenience is key. Often only a fragment of a string is known to the user, or many of them. Sometimes there is a need to search for a fragment in multiple columns. Which options does OpenAccess and LINQ provide to perform string matching? Into which SQL is the LINQ expression translated? Let’s use a simple class model for this post: a Person with a FirstName, a LastName and a NickName. Let’s assume parameters with the name simpleParam (string) and manyParam (ICollection<string>). String equality comparison Using the standard Equals method translates directly into...
    April 17, 2012 7 min read
  • Productivity

    Be a Profiling Ninja with Telerik JustTrace Q1 2012 SP1

    Nothing says .NET Ninja more than creating beautiful applications from beautiful code, with optimum performance and memory management. Other Telerik products help you create beautiful code, but Telerik JustTrace will hone it to a razor edge. There are many exciting changes coming in Q2 2012, and the first step along that path is JustTrace Q1 2012 Service Pack 1. Open the Most Expensive Path The life of an application can be considered a journey, but getting from point A to point B may go down many paths. A new option in JustTrace’s performance profiler snapshots takes you to the most expensive path taken...
    April 13, 2012 2 min read
  • Productivity

    Writing a JustCode Code Cleaning Extension

    I recently decided to clean up an open source project, and the best tool I found for the job was Telerik JustCode’s Code Clean option. If you’ve never tried it, open the JustCode Options, go to Code Cleaning, then use the drop down to select Full (built-in) and press the “Set as Default” button. If you wish, you can use the “New” or “Clone” button to set up your own profile that matches your coding style. Afterwards, return to a piece of code file and press Ctrl+Shift+Alt+F and watch your (co-worker’s) code be processed into a thing of beauty. Opening a...
    April 10, 2012 5 min read
  • Productivity

    Lazy Programming for Smarties

    As a programmer, I can honestly say that I am lazy. Forget the menial job of repeating tasks... if it takes me an hour to complete an iteration, I would rather spend 3 hours automating the process. You never know when you might need to do it again, and the click of a button is much more satisfying than an hour of processing data. I know I’m not the only one who feels this way either, otherwise Andy Hunt and Dave Thomas wouldn’t have codified the DRY principle in The Pragmatic Programmer…. Don’t Repeat Yourself.  Visual Studio makes it easy to be...
    April 10, 2012 4 min read
  • Productivity Testing

    Test Studio 2012 R1 is Here (Soon!)

    It’s that time of the year: the latest, greatest release of Telerik’s Test Studio is due out Wednesday, 11 April! We’ve got a number of great features lined up for this release: integrated bug tracking, exploratory testing tooling, better support for HTML controls, and of course, the big feature: load testing! Grab the release bits tomorrow, but be sure to stop by the Release webinar on Wednesday, 25 April at 11AM Eastern US. You’ll need to register first, but there are plenty of spaces! Load testing can be a complex, intimidating subject. If you’d like some more information, I ...
    April 09, 2012 2 min read