browse.develop.com
Browse.develop.com is a community that was established to collect and organize valuable web information. Our technical staff have selected and indexed information and courses that they feel will help you stay current on best practices across the SDLC.

359 Articles match "How To"

  • The Latest from DevelopMentor

    359 Results found
    Showing page 1 of 36   Next >

  • Integrating the #WebAPI HttpClient and ApiController in a single test
    'In the two previous blog posts I showed how to unit test and ASP.NET WebAPI controller and how to unit test the client side code depending on the HttpClient class. After all testing an ApiController by just calling the methods makes it perfectly possible to call them in such a way that would never be possible using a real HTTP request. So in order to complete out testing we should test the integration of the client and server parts using an integration test. However there we added a custom TestingDelegatingHandler to return a fake result message.
    Maurice de Bejeir - Monday, May 27, 2013
  • Maurice de Beijer: Integrating the #WebAPI HttpClient and ApiController in a single test
    'In the two previous blog posts I showed how to unit test and ASP.NET WebAPI controller and how to unit test the client side code depending on the HttpClient class. After all testing an ApiController by just calling the methods makes it perfectly possible to call them in such a way that would never be possible using a real HTTP request. So in order to complete out testing we should test the integration of the client and server parts using an integration test. However there we added a custom TestingDelegatingHandler to return a fake result message.
    The Problem Solver - Monday, May 27, 2013
  • Unit testing code depending on the ASP.NET WebApi HttpClient
    'In a previous post I showed how to unit test an ASP.NET WebAPI Controller. In this case the client application contains the following class to load books from the REST WebAPI controller: 1: public class BooksClient. This class uses the HttpClient to request the data from the service and extracts the books from the body before returning them. If we want to test this class we need to pass in an HttpClient object. This HttpMessageHandler is used as the pipeline to send requests and we can completely replace this with our own implementation. 14: {.
    Maurice de Bejeir - Monday, May 20, 2013
  • Unit testing code depending on the ASP.NET #WebApi HttpClient
    'In a previous post I showed how to unit test an ASP.NET WebAPI Controller. In this case the client application contains the following class to load books from the REST WebAPI controller: 1: public class BooksClient. This class uses the HttpClient to request the data from the service and extracts the books from the body before returning them. If we want to test this class we need to pass in an HttpClient object. This HttpMessageHandler is used as the pipeline to send requests and we can completely replace this with our own implementation. 14: {.
    The Problem Solver - Monday, May 20, 2013
  • Using repeating elements in AngularJS
    'Index: Getting started with AngularJS Creating an AngularJS Controller The AngularJS $scope is not the MVC Model Using repeating elements in AngularJS Filtering the data in an AngularJS ngRepeat element In the previous posts I showed how to get started with AngularJS and use some of the basic AngularJS directives to data bind. In these examples I uses a really simple single element to bind to. However in lots of business cases you really need to display a list of repeating elements. Fortunately this is really easy to do. 2: 3: $scope.people = [.
    Maurice de Bejeir - Friday, May 10, 2013
  • Using repeating elements in #AngularJS
    'Index: Getting started with AngularJS Creating an AngularJS Controller The AngularJS $scope is not the MVC Model Using repeating elements in #AngularJS In the previous posts I showed how to get started with AngularJS and use some of the basic AngularJS directives to data bind. In these examples I uses a really simple single element to bind to. However in lots of business cases you really need to display a list of repeating elements. Fortunately this is really easy to do. Take a look at the simple list of people below. 2: 3: $scope.people = [.
    The Problem Solver - Friday, May 10, 2013
  • A Roundup of MongoDB Management Tools
    Back in the early days, there really were no management tools analogous to RDBMS tools (e.g. It’s time to look around and see what management / monitoring tooling is around these days for MongoDB. There are many different options to choose depending on your platform and use-cases. Key features : Complete (albeit command-line only) access to MongoDB. So you should take the time to learn it properly. Especially since you’ll need to know most of the features to take advantage of Robomongo above anyway. SQL Server Management Studio ).
    Michael C. Kennedy's Weblog - Monday, April 22, 2013
  • The #AngularJS $scope is not the MVC Model
    'Index: Getting started with AngularJS Creating an AngularJS Controller The #AngularJS $scope is not the MVC Model In the previous post I showed how to create and use an MVC Controller in AngularJS to manage the logic of an application. In this post I showed how to use the $scope variable that is passed into the Controller to share data between the Controller and the View. This may lead you to believe that the $scope is the MVC Model used but you would be completely wrong. Maybe not a big change but important to get right. 10: 11: 12: +.
    The Problem Solver - Monday, April 15, 2013
  • The #AngularJS $scope is not the MVC Model
    'Index: Getting started with AngularJS Creating an AngularJS Controller The #AngularJS $scope is not the MVC Model In the previous post I showed how to create and use an MVC Controller in AngularJS to manage the logic of an application. In this post I showed how to use the $scope variable that is passed into the Controller to share data between the Controller and the View. This may lead you to believe that the $scope is the MVC Model used but you would be completely wrong. Maybe not a big change but important to get right. 10: 11: 12: +.
    The Problem Solver - Monday, April 15, 2013
  • Requirements and Specifications
    and so I’ve been giving a lot of thought to requirements. Bear with me, I’ll come back to this point at the end.) So I turned to my bookshelves…. The first book I picked up was Mike Cohn’s User Stories Applied , the nearest thing the Agile-set has to a definitive text on requirements. turned to the index and…. The nearest he comes is a reference to “Requirements Engineering” efforts. Next up Alistair Cockburn’s Writing Effective Use Case , the shortest and best reference I know to Use Cases. And even there there isn’t much to say. nothing.
    Allan Kelly's Blog - Monday, April 15, 2013
<< 1 2 3 ... 35 36 >>
%>