Although Rossen has stated almost all of the things in his introductory blog post about RadDomainDataSource I wanted to create a separate blog entry which answers the most important question that you might be asking: “Why Telerik have developed their own version of a domain data source component?” Here is the answer: We felt your pain We have received numerous forum posts and support tickets stating that you want a codeless approach to data-binding that supports most common data operations without the need for any custom code. During the times when RadDomainDataSource was not available you will have to write hundreds of lines of code in...
There are only about 7 hours we have left in 2010 and this will be my last blog post for this year. For those of you who are not familiar with the new RadDomainDataSource control for Silverlight, here is my introductory blog post. This one describes how to load data with the new control and this one is about performing CRUD. Having read these three blogs might lead you to the next logical question: What about MVVM support? I truly believe that every time someone places an UI element or a control in his view model, a baby kitten dies somewhere. So what can...
Last year I made 14 predictions on what I thought might transpire in the world of technology in 2010. http://weblogs.asp.net/jsemeniuk/archive/2010/01/07/predictions-for-2010.aspx So, what do I think is in store for us in 2011? Here is goes… 1. The Kanban Influence: Last year I predicted that Lean Software Engineering will become a first class citizen. I was wrong; however, some Lean principles have been emerging in the form of Kanban. David Anderson is absolutely pioneering this wave, and I believe that the influence of Kanban will make its way deeper into the world of agile software development this year. More and ...
Do you ever find yourself too busy “fighting fires” to do things “the right way”? Do you know that there are better ways of managing your project, but you find that you just need to get things done and can’t be bothered to fix underlying problems because it may slow you down? Ever find yourself wondering if you will ever have time to go back to a feature you released a year ago to make it better and move valuable to your users? If so, you may be in debt. No, I’m not talking about your personal financial situation. I’m ...
It has been a great 2010 here at Telerik and we hope you're enjoying the holiday season and getting ready for a new year.
Watch our greetings from around the world gathered in this Happy Holidays video!
May 2011 bring prosperity, love, happiness and delight in your life....
I will extend my colleague’s blog post series regarding RadDomainDataSource control with an example how to create simple CRUD (Create, Read, Update and Delete) application. For more information how to load data initially you can take a look at this blog post. Along with RadDomainDataSource control Telerik provides codeless solution for CRUD operations powered by WCF RIA Services. The solution is a combination between RadGridView and RadDomainDataSource. First let’s create a default Silverlight project as following: Next step is to create ADO.NET Entity data model called Northwind.edmx. For the sake of the example I’ll create this entity model with a Northwnd.mdf...
[Cross Posted from http://www.skimedic.com/blog] Mocking Exceptions When writing unit tests, it is important to cover not only the successful execution path (commonly referred to as the “Happy” path), but also test the code that gets executed when things don’t go right (commonly referred to as the “Unhappy” path). Testing for situations where services or databases are unavailable as well as erroneous user input are important aspects of ensuring quality in software. Remember, if you don’t test it, your users will! We modify the LoginUser method to throw a custom exception when there is an exception is thrown from the LoginService. To test this,...
will continue the series of blog posts about RadDomainDataSource with the most important one – the one about loading data. If you are not familiar with RadDomainDataSource then you should go back and read my introductory blog post. Let us move straight to the data load lifecycle. Triggering a Load A load operation can be triggered in two ways. You can either call the Load method explicitly or you can rely on the AutoLoad functionality, which I will explain later in this post. Building The Query After a load has been requested a query based on user input is constructed on the client. This query tells the...
I am very pleased to announce the introduction of the new WebUI Test Studio Support Knowledgebase. Our support engineer's have been hard at work adding valuable content. Some of the new article topics include: Troubleshooting Misaligned Element Highlighting Creating a Scheduling Server Manually Activating your WebUI Test Studio License Repeating Actions for Multiple Users with Login (using the Test As Step feature) Many more to come! We encourage you to bookmark this site and check back often - it will be a great resource for all things WebUI!
[Cross Posted from http://www.skimedic.com/blog] Sequential Mocking One of the trickiest types of code to mock out for testing is recursive methods. In a typical recursion, the same method is called multiple times, and each time there are typically different parameters passed in, and different return values. To easily handle this, JustMock gives you two options: Adding InSequence() to each arrange Chaining Returns() calls together. To illustrate the first option, look at the following test: [Test]
public void Show_Sequential_InSequence_Arrange_Option()
{
var service = Mock.Create<IService>();
Mock.Arrange(() => service.GetSum(Arg.AnyInt, Arg.AnyInt))
.Returns(4).InSequence();
Mock.Arrange(()...