ALM


Ensure Consistent Testing with Mock Objects and Moq

If you run an automated test and your test fails then you want to know that it's your fault -- not a problem in someone else's code or the result of a change in your test data. Moq lets you do that in two lines of code, even if your code uses the ASP.NET Session object.

Azure, Amazon Web Services Ramp Up with Dev Tools for Serverless Computing

Amazon and Microsoft are anticipating the serverless computing space to heat up, with support and developer tools.

Testing Experimental Code in Production with Scientist.NET

A .NET port of the Ruby library allows for experimental testing of code that's gone to production.

New Xamarin Tools in Visual Studio 2017 RC

Two new tools for cross-platform developers provide insight into app performance and allow for real-time XAML previews.

Testing Only the Code You Write: Isolating Components with Moq

When you're testing an ASP.NET MVC controller (or, really, any class at all) you want to make sure the code that fails is the code you're testing. Moq provides a simple way to isolate the code you're testing and lets you generate test cases.

It's Safe to Handle Unhandled Visual Basic and C# Exceptions

Pile on the exceptions, and .NET will have your back with the tools it provides at your disposal.

What the Single Responsibility Design Principle Has to Do with C# Best Practices

In this Q&A, highly regarded developer and educator Scott Allen shares his thoughts on coding with C#.

VS Team Services Sprint 108 Is More Like a Jog

Visual Studio Team Services is at Sprint 108 this week, and it might seem like a lightweight with mainly fixes, but it does pack quite a few new features -- integrating Team-based collaboration features, build and replace enhancements, Docker support -- to be worthy of attention.

Organize Your Tests to Reduce Overhead

In test-driven development, you have to decide how you'll divide your test methods between your test classes. The best solution is the one that requires the least effort on your part and implements the Single Responsibility Principle for tests.

Microsoft Teams Is New and Part of Visual Studio Team Services

Microsoft Teams is a new chat-based service that's part of Office 365, used for real-time conversation and collaboration among various team members connected to projects. It's also being incorporated into Visual Studio Team Services.

SpecFlow Two-Step Parameter Conversions

Here's how to use SpecFlow to convert plain-text scenario steps into .NET types.

Integrating HockeyApp with UWP on Windows 10

HockeyApp SDK for Universal Windows Platform apps is out now, supporting all HockeyApp features from within UWP apps on Windows 10, including full symbolication for .NET Native store apps.

Strategies for Debugging Lots of C++ Objects Effectively

When you have code that is called for many objects it's hard to go through all them and just check line by line. How can you more efficiently debug lots of code?

UWP Community Toolkit 1.1 Enhancements

One month after release, there's already a slew of fixes and enhancements that are responses to user feedback to the toolkit. Also, it's now a .NET Foundation project.

Make Your Code Faster with noexcept

That noexcept keyword is tricky, but just know that if you use it, your coding world will spin faster.

Best Practices for Loosely Coupled Classes

In an object-oriented world you create flexible applications by combining objects. You'll want to keep those objects loosely coupled, though, so that a change in one class doesn't force you to rewrite every class. Here's how to keep them loosely coupled.

Team Foundation Server 15 RC2 Deemed Production-Ready

Microsoft's Visual Studio team says that even though it's a release candidate, it can be used for developing production-ready apps, which the company has dogfooded it internally. Also: Pricing for Release Management available, now that it's a part of TFS '15' RC2.

A .NET Developer's Life, or How To Do Production Debugging on the Fly

A case study in swift .NET application debugging using a variety of free tools that can help keep a client happy.

Adobe SaaS Offerings Depend Even More on Azure

From Microsoft Ignite: The partnership that kicked off between the two companies two years ago takes another leap forward into the cloud in a big way.

Visual Studio '15' Has New Setup Engine

The Visual Studio team said the goal with the new setup engine is to speed up installations, as well as install only what is necessary for what the developer requires.

Subscribe on YouTube