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.

389 Articles match "How To"

  • The Latest from DevelopMentor

    389 Results found
    Showing page 1 of 39   Next >

  • Using dependency injection with WebAPI in the RAW stack
    As I explained the recommendation is not to use fakes or mocks but just to use the in memory variant of RavenDB during testing. However the WebAPI controller used a static RavenConfig.Store property to get to the RavenDB database. And that is the kind of hard coupling we would prefer not to have even if we don't need to create a fake for our tests. Adding Ninject to do our server side dependency injections There are many dependency frameworks you can use with your.NET code. Changing the MoviesController means we have to update our unit tests.
    The Problem Solver - Friday, March 7, 2014
  • Using dependency injection with WebAPI in the RAW stack
    As I explained the recommendation is not to use fakes or mocks but just to use the in memory variant of RavenDB during testing. However the WebAPI controller used a static RavenConfig.Store property to get to the RavenDB database. And that is the kind of hard coupling we would prefer not to have even if we don't need to create a fake for our tests. Adding Ninject to do our server side dependency injections There are many dependency frameworks you can use with your.NET code. Changing the MoviesController means we have to update our unit tests.
    The Problem Solver - Friday, March 7, 2014
  • Managers who don't TDD be unemployable before 2012.
    'In the furious discussion over my “ Programmers without TDD will be unemployable ” last month a couple of people asked: “How will this come to pass?” Let me answer both these comments in one go: Managers are the missing link between today’s largely TDD-free code development and the 2012 world where TDD will be essential to get a job. But in my experience you don’t need to be a perfect manager to understand the logic of TDD, a quick look at the Microsoft research study should address that. Just persuading programmers to code in a different way is hard.
    Allan Kelly's Blog - Sunday, February 23, 2014
  • Unit testing the AngularJS code in the RAW Stack
    'In the previous post we refactored the JavaScript code for our AngularJS controller a bit to make it more testable. What do we want to test. The first thing we need to think about what to test. There isn't really a lot of application logic here so there is not much to test on that front. With JavaScript there is no compiler to validate this so it makes sense to create small unit tests that check our public interface. The newMovie object to create a new movie. The addMovie function to ask the server to insert a new movie.
    The Problem Solver - Saturday, February 22, 2014
  • Unit testing the AngularJS code in the RAW Stack
    'In the previous post we refactored the JavaScript code for our AngularJS controller a bit to make it more testable. What do we want to test. The first thing we need to think about what to test. There isn't really a lot of application logic here so there is not much to test on that front. With JavaScript there is no compiler to validate this so it makes sense to create small unit tests that check our public interface. The newMovie object to create a new movie. The addMovie function to ask the server to insert a new movie.
    The Problem Solver - Saturday, February 22, 2014
  • Trackable Entities – Now with Repository and Unit of Work
    With inquires on the project discussion forum, and some prompting by my friend Long Le , who authored the Generic Unit of Work and Repository Framework , I decided to add support to my framework for using Repository and Unit of Work design patterns. ve used these patterns for a number of years with an approach to application design called the Onion Architecture (first proposed by Jeffery Palermo ). While we architects love design patterns and loose coupling, there is a price to pay, which is increased complexity and more moving parts. 'When I released v1.0 WebApi.
    DevelopMentor Courses - Thursday, February 20, 2014
  • Refactoring the AngularJS code in the RawStack
    'In the previous post I created a minimal skeleton app to pass some movie data from RavenDB through a WebAPI endpoint to an AngularJS frontend and also to save new movies back to RavenDB. So in this post I am going to improve on the AngularJS part. So lets refactor this part and move out code to a separate JavaScript file. To separate the server and client part of the application as well as the standard JavaScript libraries from my on code I always create an "app" folder to hold my own JavaScript code. 1: ( function () {. Try it.
    The Problem Solver - Monday, February 17, 2014
  • Refactoring the AngularJS code in the RawStack
    'In the previous post I created a minimal skeleton app to pass some movie data from RavenDB through a WebAPI endpoint to an AngularJS frontend and also to save new movies back to RavenDB. So in this post I am going to improve on the AngularJS part. So lets refactor this part and move out code to a separate JavaScript file. To separate the server and client part of the application as well as the standard JavaScript libraries from my on code I always create an "app" folder to hold my own JavaScript code. 1: ( function () {. Try it.
    The Problem Solver - Monday, February 17, 2014
  • Introducing the RAW stack
    Not that there is anything wrong with the MEAN stack, quite the opposite, but being a.NET developer I really like to keep using.NET where it's strengths lie and where it is suitable. No need to worry about schema, just store your objects as you see fit and retrieve them whenever you need. And you don't have to sacrifice speed as most of these document databases, and RavenDB especially, are blazingly fast. And whether it is the winner or not really doesn't matter to me. It's fast and easy to work with yet quite extensible. Why the RAW stack?
    The Problem Solver - Wednesday, February 12, 2014
  • Introducing the RAW stack
    Not that there is anything wrong with the MEAN stack, quite the opposite, but being a.NET developer I really like to keep using.NET where it's strengths lie and where it is suitable. No need to worry about schema, just store your objects as you see fit and retrieve them whenever you need. And you don't have to sacrifice speed as most of these document databases, and RavenDB especially, are blazingly fast. And whether it is the winner or not really doesn't matter to me. It's fast and easy to work with yet quite extensible. Why the RAW stack?
    The Problem Solver - Wednesday, February 12, 2014
<< 1 2 3 ... 38 39 >>
%>