.NET Framework


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.

ORM-Less Data Storage with Document Databases and Marten

Document databases are a form of NoSQL database that may store all of the information for a given object in a single instance in the database.

Leverage Joins in Entity Framework To Get Just the Data You Want

Every once in a while you'll need to use the LINQ Join to get the data you want.

Microsoft Discounts Azure Exams

The Azure developer exam discounts are part of a broader initiative by the Microsoft Partner Network to narrow the Azure deployment and development skills gap.

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.

Use Custom Visualizers for C++ Objects

Sometimes the default view of objects in the debugger isn't enough, especially if you operate on complex data structures. Here's one way to alter the view and use a customized one.

TypeScript 2.1 Is Done, But There's More

Following the RC release of 2.1 nearly a month ago, the final version adds a few more tweaks to smooth the coding experience.

Logistic Regression Using R

I predict you'll find this logistic regression example with R to be helpful for gleaning useful information from common binary classification problems.

20 New Tools and Extensions for Visual Studio 2015

We've gathered together the newest project templates, security tools and generally useful extensions for Visual Studio.

Speed Up Skip and Take in Entity Framework with Lambda Expressions

If you're using Skip and Take in LINQ to page through your data, a tweak to your syntax can cut your response time by as much as 10 percent as you page through your data.

TypeScript 2.0: Even Better Data Typing and Class Discriminants

If you care about data typing and want to avoid null/undefined errors, there's a lot you're going to like in TypeScript 2.0. And, if you like creating general purpose functions that can work with a variety of classes, there's something here for you, too.

Visual Studio Team Services Sprint 109 Caps 2016

As the year winds down, so does the work being done by the Visual Studio Team Services team as it rolls out Sprint 109. Micrsoft's Brian Harry highlights build task versioning, pull request tracking, and support for Linux hosted build pools in this one.

App-to-Market: Locking In Technology Options for Your Startup

How crucial is the technology you choose to run it and build apps? It almost doesn't matter, as long as your chosen path provides enough options to deliver to customers the solutions they need. We look at the Microsoft stack as an example.

Customizing a Xamarin Forms Application, Part 2

Last time, I created the app. This time, I take care of a few annoying but important issues with it, especially in the area of the user's experience with application connectivity.

Leverage Real-Time Communications in ASP.NET Sites, Apps with Signal R

In a Q&A preview of her session at Live! 360, veteran Visual Studio Live! presenter Rachel Appel shares her thoughts on the benefits of working with SignalR.

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.

Visual Studio Code 1.7.2 Replugs JavaScript IntelliSense Module

The Automated Typings Acquisition module that was disabled in VS Code 1.7 looks to be working as originally intended, and is now in a new incremental build available this week.

Subscribe on YouTube