| |
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.
|
16 Articles match "Extensibility","Unit Testing"
| Related DevelopMentor Courses | MORE | | Screening C# Candidates: Let’s Play 20 Questions! For example, someone might be called upon to build a WPF app retrieving data from a WCF service that queries a SQL database using Entity Framework with Ninject for dependency injection and MOQ for unit testing. What keyword brings an extension method into scope? The only way to test for those things is to perform an in-depth technical interview performed by a senior technical specialist. What keyword brings an extension method into scope? Furthermore, I’m looking for a developer with a thirst for knowledge. This is the purpose of the technical phone screen. DevelopMentor Courses - Tuesday, February 28, 2012 Use Common Instance Factory to Abstract Away the Dependency Injection Container Download the Common Instance Factory with WCF Extensions here and is also available on NuGet. lot of DI-specific code is needed for unit tests, where there is extensive mocking, and advanced features of a DI container such as Ninject come in handy. Here is a unit test that demonstrates the usage. while back I wrote a blog post on the Onion Architecture , an approach to building loosely-coupled applications where you can swap out particular components without affecting the rest of the application. Ah, but there’s a problem. Stay tuned for more!) DevelopMentor Courses - Wednesday, May 23, 2012 Guerrilla.NET (UK) Training Create robust code using unit testing frameworks and mocking Simplify your service deployment with zero config services with WCF 4.0. Write modern web applications that are simpler to unit test with ASP.NET MVC. Unit Testing Using unit testing comprehensively within software development is a growing movement. Unity testing allows refactoring and maintenance with the confidence that existing functionality is not broken. Leverage new features of C# 4.0, including named and optional parameters and dynamic typing. couldn't? Since.NET 1.0, DevelopMentor Courses - Tuesday, March 1, 2011 |
21 Articles match "Extensibility","Unit Testing"
| The Latest from DevelopMentor | MORE | | What’s New in Java ApprovalTests V 0.12 Unit Testing HadoopMapReduce Before we go into the details of everything involved in HadoopMapReduce, let’s go through an overview of how we’ve been testing our MapReduce jobs. Visualizing the System Unit Testing provides many different advantages to a programmer. In particular, with MapReduce, being able to understand the flow and transformation of the data can be more enlightening than the other aspects of Unit Testing. To demonstrate this, I’m going to start output of my word count unit test. Specifically, it’s a big data thing. DevelopMentor Courses - Wednesday, September 19, 2012 Decouple WCF Services from their DI Container with Common Instance Factory And I would certainly not use CIF for unit tests (or even some integration tests), where you need to leverage features of the DI container that are not exposed via the factory interface. In this case, you might want to use a super-fast DI container, such as SimpleInjector , for the application while leveraging a full-featured DI container, just as Ninject , for unit testing. This behavior happens to be missing from Ninject’s WCF extension, but CIF provides the correct implementation.). null ) { disposable.Dispose(); } } } } }. Enjoy. Technical DI WCF DevelopMentor Courses - Saturday, May 26, 2012 Use Common Instance Factory to Abstract Away the Dependency Injection Container Download the Common Instance Factory with WCF Extensions here and is also available on NuGet. lot of DI-specific code is needed for unit tests, where there is extensive mocking, and advanced features of a DI container such as Ninject come in handy. Here is a unit test that demonstrates the usage. while back I wrote a blog post on the Onion Architecture , an approach to building loosely-coupled applications where you can swap out particular components without affecting the rest of the application. Ah, but there’s a problem. Stay tuned for more!) DevelopMentor Courses - Wednesday, May 23, 2012 | -
| The Best from DevelopMentor | MORE | - Keep Dependency Injection Simple with MEF
Having to click through screens to test an application can be tedious and time-consuming, and it may not provide good code coverage or regression testing. By abstracting the View into a separate ViewModel, you can independently test the ViewModel to make sure it behaves as expected. The unit testing framework is simple another consumer of the View-Model. Whether or not you subscribe to the tenants of Test-Driven Development (TDD), you should test your ViewModels without any dependency on WCF services or databases. Enter Dependency Injection ! Tony and Zuzana's World - Tuesday, March 8, 2011 - Inversion of control and WCF
The are lots of reasons for doing so but in the end they mostly boil down to separation of concern which makes thing more modular and thereby easier to reuse and unit test. There is a WCF extension for Ninject that will do exactly this for us. Lots of people like to use in inversion of control container, usually shortened to IOC, to inject dependencies into classes. When you start doing so manually injecting dependencies into a types constructor is easy enough but after a while this tends to become tedious and getting an IOC container to do this for you is a lot easier. The Problem Solver - Tuesday, April 19, 2011 - Simple MVVM Toolkit versus MVVM Light Toolkit
And if you download the Simple MVVM Toolkit from the Visual Studio Extensions Gallery, you’ll also be notified when a new version of the toolkit is released on the gallery. Part 2 demonstrates navigation, messaging, dependency injection, unit testing and async operations. In addition Simple MVVM includes a multi-project Visual Studio template that supplies a Silverlight client, a WCF RIA Services web host, and a Unit Testing project. When it comes to deciding which toolkit best suites your needs, there is a spectrum of choices. Platforms. Support. Usability. Tony and Zuzana's World - Saturday, April 23, 2011 - Screencast: Real-World MVVM with WCF RIA Services
Service agents are injected by a ViewModel locator with MEF (Managed Extensibility Framework) using declarative attributes. The tutorial also demonstrates how to build unit tests against a ViewModel and run them asynchronously. The template creates a solution with three projects : a Silverlight project, a Unit Testing project, and a Web Host project. The Silverlight and Test projects reference the Simple MVVM Toolkit and contain all the required classes. Great news! You can also download the code for the tutorial and read the tutorial. Enjoy Tony and Zuzana's World - Thursday, April 28, 2011 - Peeling Back the Onion Architecture
MVC (which stands for Model-View-Controller) lends itself to an Agile development methodology where TDD and BDD (Test-Driven and Behavior-Driven Development) are important components. Writing applications that are testable requires that you separate business logic from presentation logic so that they can be independently tested. Representing your repositories and services as interfaces decouples consumers from concrete implementations, enabling you to swap one out for another without affecting consumers, such as client UI’s or tests. Download the code for this article. Tony and Zuzana's World - Saturday, October 8, 2011 - ASP.NET WebAPI Security 2: Identity Architecture
HttpRequestMessage has an extension method called GetUserPrincipal() which returns the property as an IPrincipal. is static, and static is bad for testing” chant. is a getter/setter and, in fact I find it beneficial to be able to set different security contexts in unit tests before calling in some logic. Pedro has beaten me to the punch with a detailed post (and diagram) about the WebAPI hosting architecture. So go read his post first, then come back so we can have a closer look at what that means for security. Pedro nicely shows the integration into the web host. www.leastprivilege.com - Thursday, March 8, 2012 - Use Common Instance Factory to Abstract Away the Dependency Injection Container
Download the Common Instance Factory with WCF Extensions here and is also available on NuGet. lot of DI-specific code is needed for unit tests, where there is extensive mocking, and advanced features of a DI container such as Ninject come in handy. Here is a unit test that demonstrates the usage. while back I wrote a blog post on the Onion Architecture , an approach to building loosely-coupled applications where you can swap out particular components without affecting the rest of the application. Ah, but there’s a problem. Stay tuned for more!) DevelopMentor Courses - Wednesday, May 23, 2012 %>
| | |