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.
Amazon and Microsoft are anticipating the serverless computing space to heat up, with support and developer tools.
- By Michael Domingo
- 12/09/2016
A .NET port of the Ruby library allows for experimental testing of code that's gone to production.
- By Jason Roberts
- 11/30/2016
Two new tools for cross-platform developers provide insight into app performance and allow for real-time XAML previews.
- By Michael Domingo
- 11/29/2016
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.
Pile on the exceptions, and .NET will have your back with the tools it provides at your disposal.
In this Q&A, highly regarded developer and educator Scott Allen shares his thoughts on coding with C#.
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.
- By Michael Domingo
- 11/10/2016
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 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.
- By Michael Domingo
- 11/02/2016
Here's how to use SpecFlow to convert plain-text scenario steps into .NET types.
- By Jason Roberts
- 10/31/2016
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.
- By Michael Domingo
- 10/21/2016
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?
- By Bartlomiej Filipek
- 10/20/2016
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.
- By Michael Domingo
- 10/13/2016
That noexcept keyword is tricky, but just know that if you use it, your coding world will spin faster.
- By Kate Gregory
- 10/11/2016
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.
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.
- By Michael Domingo
- 09/29/2016
A case study in swift .NET application debugging using a variety of free tools that can help keep a client happy.
- By Kamran Bilgrami
- 09/29/2016
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.
- By Jeffrey Schwartz
- 09/26/2016
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.
- By Michael Domingo
- 09/19/2016