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.

177 Articles match "How To"

  • Related DevelopMentor Courses

    177 Results found
    Showing page 1 of 9   Next >

  • How to discover what font was used
    Sometimes you’re working on a website and you get some images with text in them, but no one remembers what fonts was used in the image. No fear! There is a website call “What The Font” that will take your picture and tell you what font was used: [link]. ASP.NET
    DevelopMentor Courses - Monday, December 26, 2011
  • Unit testing a ASP.NET WebAPI 2 controller
    'Earlier this year I wrote a blog post about how to unit test ASP.NET WebAPI controllers. It turned out that in order to do a good job of testing the public ApiController methods you would need to quite a bit of setup. Most of the time this was just about providing a HttpConfiguration object but sometimes, like in the case of responding to a post request, quite a bit more would be required. One of the goals of the ASP.NET WebAPI 2 was to make testing of controllers easier. So how does this change the unit testing story? So how about testing them?
    The Problem Solver - Wednesday, November 13, 2013
  • Maurice de Beijer: Using the DOM in an AngularJS application
    '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 Using the AngularJS FormController to control form submission Creating an AngularJS Directive Using the DOM in an AngularJS application Even though you should not manipulate the DOM in an AngularJS application but leave that up to AngularJS itself to do there are certainly places where you will need to interact with it. In this case to add a click event handler.
    The Problem Solver - Thursday, September 5, 2013
  • jQuery UI and Windows 8 and Internet Explorer 10 touch screens
    I recently did a blog post describing how to enable the jQuery UI drag effects. In this post I showed how to get the draggable effect to work on an iPad. What we need to do is take control of the action IE10 performs on touch. Setting its value to 'none' is all we need to do. This will suppress the default IE10 behavior and pass the gestures on to the jQuery event handler. You can toggle the support for touch events using the button to try both with and without support for touch. It turns out this is rather simple.
    The Problem Solver - Wednesday, October 24, 2012
  • 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
  • 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
  • Brock Allen: Cookie based TempData provider
    Update: Added  security features, how to use the Cookie-based TempData provider, link to GitHub project and info on the NuGet package. It’s basically a way to maintain some state across a TempData is a nice feature in MVC and, if I am not mistaken, was inspired by the Flash module from Ruby on Rails.
    DevelopMentor Courses - Monday, June 11, 2012
  • 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
  • Testing Difficult Code
    I recently did 3 videos in my ‘ Using ApprovalTests in.Net’ series that deal with how to test difficult code. These video actually have very little to do with either.Net or ApprovalTests, but they are common issues you run into when unit testing. Seams Testing difficult Code comes down to 2 things: Can I call the Method? Will the Method run to completion? And there are 2 techniques I use to deal with these, that individually are useful, but together are amazing. The idea behind the peel is to break the method up into easy to run pieces.
    DevelopMentor Courses - Wednesday, March 21, 2012
  • Using Reporters in Approval Tests
    Today I pushed new versions of ApprovalTests for both C# and Java to SourceForge. He and I pair-programmed remotely (he lives in Finland) to extend ApprovalTests per his ‘asks’. If you are using ApprovalTests and have an idea for a feature, please ping me via twitter @LlewellynFalco and I’ll pair with you to code up your idea as well. assume that you have tried out Reporters if you are reading this blog, however, just to get us started, I’ll remind you that a Reporter is called when an ApprovalTest fails. Let me know how it works for you. Why Use Reporters?
    DevelopMentor Courses - Saturday, December 31, 2011
  • Building Scalable and Secure WCF Services
    The key to building scalable WCF services is to eliminate binding configurations that could result in server affinity. Both BasicHttpBinding and WebHttpBinding, however, are sessionless and allow you to call a service multiple times without concern for which physical server responds to the call. Here is a snapshot of 5 calls to a service with HTTP Keep-Alive enabled over SSL. This is fine and dandy when clients are talking to the same back-end server and the SSL handshake only takes place when the connection is established. allowCookies = " false ".
    DevelopMentor Courses - Monday, June 18, 2012
  • Creating an #AngularJS Controller
    'In the previous blog post I showed how to get started with a really minimal AngularJS application. So far we have only seen the View part as the HTML used was the view used to render the page to the user. It gathers the data (Model) together and tells the View to render the data to the user. It also responds to events to do things. As this is used with the new keyword to create an object I have capitalized the first letter as is the convention in JavaScript. For those not used to JavaScript the (+$scope.x) operator = "?"
    The Problem Solver - Wednesday, April 10, 2013
  • Certificate Validation and Setting up Service Bus 1.0 Beta for Windows Server
    There is a good walkthrough of the new beta in the MSDN documentation here including how to install it. Well if you install the beta on a Windows Server 2008 R2 box and you actually develop on another machine then there’s a couple of things not mentioned in the documentation that you need to do (having previously spent long hour glaring at certificate errors allowed me to resolve things pretty quickly). Certificate validation has a number of steps to it for a certificate to be considered valid: The issuer of the cert must be trusted. for Windows Server.
    DevelopMentor Courses - Wednesday, July 25, 2012
  • Roll Your Own REST-ful WCF Router
    Recently I’ve been tasked with building a WCF routing service and faced the choice of whether to go with the built-in router that ships with WCF 4.0 , or to build one from scratch. Nevertheless, there are times when it might make sense to build a router that can talk to clients who don’t know anything about Soap, for example, an AJAX web application. While the ASP.NET MVC or the new ASP.NET Web API might seems like attractive options, WCF is the way to go if you need to accommodate both Soap-based and Rest-ful clients. FirstOrDefault(); if (region !=
    DevelopMentor Courses - Tuesday, April 24, 2012
  • Maurice de Beijer: jQuery UI and Windows 8 and Internet Explorer 10 touch screens
    I recently did a blog post describing how to enable the jQuery UI drag effects. In this post I showed how to get the draggable effect to work on an iPad. What we need to do is take control of the action IE10 performs on touch. Setting its value to 'none' is all we need to do. This will suppress the default IE10 behavior and pass the gestures on to the jQuery event handler. You can toggle the support for touch events using the button to try both with and without support for touch. It turns out this is rather simple.
    DevelopMentor Courses - Wednesday, October 24, 2012
  • Concepts and Architecture of the STL
    Usage guidelines that explain how to avoid subtle STL correctness and performance traps. There are no hands-on exercises, but participants are welcome to use their computers to experiment with the course material as it is presented. Developers who fail to grasp the design often produce software that looks reasonable, but that's actually brittle, inefficient, and home to subtle bugs. This seminar illuminates the architecture that underlies the STL: its fundamental concepts, components, and how they relate to one another.
    DevelopMentor Courses - Tuesday, March 1, 2011
  • An Effective Introduction to the STL Training
    Knowledge of how to integrate STL containers with code expecting arrays and other C-like data structures. The ability to cope with the complex STL-related error messages compilers often generate. The Standard Template Library (the STL) is the most exciting C++ innovation in a decade, one that promises to revolutionize C++ software development. In a combination of lectures and labs, this course brings out the underlying design of the STL, demonstrates how to take advantage of the library's strengths, and shows how to avoid its weaknesses.
    DevelopMentor Courses - Tuesday, March 1, 2011
  • Brock Allen: Validating inputs for PATCH requests in ASP.NET WebAPI
    The only problem with the PATCH support and tutorial is that there is no guidance on how to validate the model [… 'In ASP.NET WebAPI (with its recent OData additions) there is good support for HTTP PATCH requests via the Delta<T> class. won’t bother reproducing a tutorial here since there’s already a good one online.
    DevelopMentor Courses - Friday, May 10, 2013
  • Service-Orientation Today and Tomorrow Training
    In Deutsch , klicken Sie hier Based on the ranges of topics below, you will be able to take the first steps in the world of Service-Orientation and Cloud Computing with confidence and above all be prepared for future projects: Service-Orientation Cloud and Cloud Computing Identity Management and Claims-Based Identity Windows Communication Foundation (WCF) Windows Workflow Foundation (WF) Azure Services Platform (with Windows Azure and.NET Services) In Deutsch , klicken Sie hier Are you tired of constantly reading about "crisis" and "restrictions"? We have the course for you!
    DevelopMentor Courses - Tuesday, March 1, 2011
  • Android and iOS Development with Simple MVVM Toolkit? Yes you can!
    Part 2 will delve into Android development, and Part 3 will discuss how to create a Simple Mvvm Portable Library with code that can be shared across multiple UI platforms (both Microsoft and non-Microsoft). My goal in creating the toolkit was simplicity in design, a rich feature set, clear documentation, plenty of samples, and an easy-to-use installer with good Visual Studio integration, including project templates and code snippets. Like anything in life, it comes down to a matter of preference and personal taste. 'Note: This is Part 1 of a three part series.
    DevelopMentor Courses - Thursday, February 6, 2014
<< 1 2 3 4 5 6 7 8 9 >>