Category Archives: Develop

Authenticate with an OAuth provider in your Giraffe application (.Net Core 2.1)

Introduction (rambling) When I started my F# learning journey some months ago, I planned to go full functional F#, to use what the community used. Suave, Code, FAKE, SQL Type Providers, Paket. But I found out that made it not easier and with the limited spare time to invest in F#, that plan has changed a bit. I realized that… Read more »

Using Entity Framework Core with F#

      8 Comments on Using Entity Framework Core with F#

So this was fun… again, learned a lot… again! I blogged before about building a simple crud app that used a type provider and that worked pretty good, until I wanted to configure my continuous integration in VSTS. This didn’t work as smoothly as I wanted, because the type provider needs to connect to the database during the build. I… Read more »

Setup basic CI/CD for a Suave .Net Core 2.0 application running on an Azure App Service – Part II

< Part 1 you’ll need to read this first 😉 Setup continuous integration Now for the second part, setting up ci and cd. Warm up that mouse because this requires a lot of clicking around in VSTS. Connect VSTS to GitHub The first thing we’re gonna do is to connect VSTS to GitHub. To do this go to settings >… Read more »

Setup basic CI/CD for a Suave .Net Core 2.0 application running on an Azure App Service – Part I

Introduction Well I started this to learn F#, but I haven’t written a lot of lines of code yet. Before the real dive into F# I wanted to test out my stack, I wanted to use a lot of new technologies because… shiny new things. So I tried using all technologies with the volume set to 11, as latest as… Read more »

Getting started with F# and Visual Studio Code on Windows – Part III Create, run and debug a F# Console application

Part I Introduction Part II Installation development environment Part III Create, run and debug a F# Console application The first step is now to create a console application with the Command Palette, press CTRL + Shift + P, type F#: New Project Then, select console. After you can type a project directory or leave blank. After a last dialog, the… Read more »

Getting started with F# and Visual Studio Code on Windows – Part II Installation development environment

Part I Introduction Part II Installation development environment Part III Create, run and debug a F# Console application The initial goal was to do a simple Hello World with F# + Suave, I quickly found out my initial dev rig had some issues. So, I decided to start with a clean Windows Virtual Machine and then install it piece by… Read more »

Getting started with F# and Visual Studio Code on Windows – Part I Introduction

Part I Introduction Part II Installation development environment Part III Create, run and debug a F# Console application For more than a year I’m a spectator of the F# community, eager to learn something new but as a dad of two young boys no time & energy to really dive into to the material. Luckily, children do grow and a… Read more »

Create a Builder with Fluent API and C#

      1 Comment on Create a Builder with Fluent API and C#

Having already read about this elsewhere, I still thought this stuff too much fun to not blog about: creating a builder with fluent API. You can read more about the subject on internet, this blog is just code 🙂 The code is an example implementation, it’s about the concepts. It is a stripped down but pimped version of an implementation I did at a client I… Read more »

Open XML – Setting multiple Picture Content Controls by Tag name, without going crazy

For a project I was working on I had to generate some documents on the server. Not wanting to install Microsoft Word on the server because, well let’s not go there, I’ll have to use bad words; I decided to use Open XML. I started a little C# project to see how this stuff works. At first you frown a… Read more »