How To


Domain-Driven Development: Where Does the Code Go?

Rather than arbitrarily deciding what code goes into an application and what goes into your business objects, you can lean on the rules that experienced developers have learned to follow to make those crucial decisions.

Integrating Updates, Deletes and Inserts with TypeScript and ASP.NET MVC

Peter returns to his AJAX-enabled ASP.NET MVC application to show how Partial Views and TypeScript work together to simplify delivering a Single-page application.

Delivering Scalable, Maintainable Objects with Domain-Driven Design

If you've been creating Data Transfer Objects that integrate several objects into one, then you've created what domain-driven design (DDD) calls an aggregate. But there are some rules you need to follow if you want to reap the benefits that DDD promises toward performance, maintainability and scalability.

Debugging XAML with Live Visual Tree and Live Property Explorer Windows

In this article Nick Randolph breaks down XAML for the Universal Windows Platform using the Live Visual Tree and Live Property Explorer tool windows in Visual Studio 2015.

Use OData Containment To Make the Easy Connections in an ASP.NET Web App

The Open Data Protocol allows for creation and consumption of REST APIs. Sam Nasr demonstrates OData 4 in a sample app that demonstrates containment, a new feature for facilitating data access.

Create Modern Android Apps with the Design Support Library

It's now easier than ever to create polished Android experiences. Greg Shackles shows how using Google's new Material Design style.

Improve Test Asserts with Shouldly

Augment your testing framework with Shouldly for improved test code readability and better test failure messages.

Neural Network Binary Classification

The differences between neural network binary classification and multinomial classification are surprisingly tricky. McCaffrey looks at two approaches to implement neural network binary classification.

Simplifying Your Object Model with Value Objects

Our applications are complicated enough without adding any more. Here's a way to think about your objects that allows you to dramatically simplify your object model, provided you're willing to turn your current practice around by 180 degrees.

15 Visual Studio Project Templates To Jump Start Your Code

Next time you're starting a new development project, skip the tedious configuration and setup with these handy templates.

The Power of Talking About Your Business Processes Correctly

One of the biggest problems in designing applications is the conversion from how the business talks about the business to how the developers think about coding it. Domain-driven design has a solution.

Accessing Office 365 Services via Visual Studio

Office 365 platforms keep getting better with every update, and now the Office 365 API for Visual Studio provides a great way to interact with Office 365 resources.

Customize Colors for Code Syntax Highlighting

C#, JavaScript, and ASP.NET MVC coding issues can be made more prominent by customizing code syntax colors.

Take It to the Limit

Adam's employer was able to reclaim the company URL from a cyber squatter. Now it should be easy to make sure its site resolves to the new name, right?

Designing and Implementing Synchronous vs. Asynchronous WCF Services

Asynchronous services are easier to implement with support of the await and async keywords in WCF 4.5. We look at that, as well as contract-first development.

ASP.NET MVC 6, Part 1: Tag Helpers

Clean up your Razor views with the new tag helpers in ASP.NET MVC 6.

Simplifying Single-Page Applications with ASP.NET MVC Partial Views

Partial Views can make creating Single-Page Applications dramatically easier by better achieving the goals of the MVC design pattern. Here, in TypeScript, is how to leverage Partial Pages to create an AJAX-enabled application in ASP.NET MVC.

Save Web Development Time with Web Essentials

Visual Studio developers can use a number of Web Essentials features to speed up Web development.

Data Binding a Custom Cell in Xamarin.Forms ListView

The ListView in Xamarin.Forms has a lot of options, and the ability to use a custom cell is one of the more useful features.

Structuring Views in ASP.NET MVC to Centralize Logic

A View without any code is probably impossible in any real-world application. But, by leveraging Partial Views, you can still separate your View-related code from your HTML.

Why I'm Excited About DocumentDB

DocumentDB brings together the best of No-SQL and the cloud, to give you a robust scalable data persistence engine. Here's what you need to know to start developing projects with it.

Variation on Back-Propagation: Mini-Batch Neural Network Training

Let's explore mini-batch training, the third among a variety of back-propagation algorithms you can use for training a neural network.

Roslyn Update: The State of the .NET Compiler Platform

Now that Visual Studio 2015 is upon us, here's a brief overview of the capabilities of the .NET Compiler Platform.

Domain-Driven Design: Everything You Believe Is Wrong!

Domain-Driven Design claims that it provides a strategy for building applications that will grow and evolve over time without collapsing under their own complexity. It does that by upsetting some conventional wisdom.

Switch Back to the Web Forms Editor for Static HTML

You lose some functionality with the default editor in Visual Studio 2013. Here's how to quickly switch back and get the functionality you were used to.

Subscribe on YouTube