Jumpstart F# web development: F# with ASP.NET on classic .NET

February 5, 2017 · f# web api

The first part of my series about jumstarting F# web development takes a look at probably the most straightforward-looking approach: write F# code using ASP.NET on the classic (full) .NET Framework. (If you're not familiar with the distinction between »

Series: Jumpstart F# web development

February 5, 2017 · f# suave

F# is a functional first general purpose programming language targeting the .NET Framework. Since .NET is a framework commonly used for web development (most often with C# and ASP.NET). And if we would like to do web development on »

Matching route templates manually in ASP.NET Core

June 18, 2016 · mvc

We can use routing in ASP.NET to define paths on which we want to respond to HTTP requests. In ASP.NET Core we have two common ways to specify routing in our application. We can use the Route attribute »

Stubbing service dependencies in .NET using Stubbery

June 12, 2016 · .net .net-core testing integration-testing

Introduction When writing integration tests for a service (especially if we are running a long, end-to-end test), it often causes a problem that the external dependencies of our service fail. Let's say we have a service handling customer payments and »

How to validate action parameters with DataAnnotation attributes?

February 28, 2016 · c# .net-core

Model validation in MVC In both MVC and Web Api we can use the attributes provided in the System.ComponentModel.DataAnnotations namespace to specify validation rules for our models. Let's say we have a controller action with the following signature, »

ASP.NET Core 1.0: hints to get started

February 14, 2016 · c# .net .net-core dnx

I recently started working on implementing a Web Api application using ASP.NET Core 1.0, running it on Linux with the CoreCLR. There have been many changes introduced in this new version of ASP.NET, and there are also »

Use Glimpse with ASP.NET Web Api

May 14, 2015 · mvc web api glimpse

Glimpse is a wonderful tool for getting an insight into the mechanisms happening in an ASP.NET application. It inspects every request processed by our app, and displays its UI either embedded into our web site, or on a standalone »