Category Archives: .Net

Integrating and Testing a Secured SOAP Client with Dependency Injection

In this blog I will show you how to call a SOAP service from a WebAPI back-end.

The solution needs to be stable and robust.

The necessary parameters (client_id, secret, …) will come from Configuration.

All the necessary components will be registered in the IoC container such that using the SOAP service only requires injecting one interface. Continue reading →

Posted in .Net, API Development, Architecture, ASP.NET Core, Design Patterns, Development, SOAP, WCF, Web API | Tagged , , , , , , , | Leave a comment

Securing a SOAP Client with OAuth2 in ASP.NET Core (WCF Behaviors)

In this blog I will show you how to call a SOAP service from a WebAPI back-end.

The solution needs to be stable and robust.

The necessary parameters (client_id, secret, …) will come from Configuration.

All the necessary components will be registered in the IoC container such that using the SOAP service only requires injecting one interface. Continue reading →

Posted in .Net, Architecture, ASP.NET Core, Design Patterns, Development, SOAP, WCF, Web API | Tagged , , , , , , , , , | 1 Comment

Calling a Secured SOAP Service from ASP.NET Core WebAPI (WSDL+ WCF)

In this blog I will show you how to call a SOAP service from a WebAPI back-end.

The solution needs to be stable and robust.

The necessary parameters (client_id, secret, …) will come from Configuration.

All the necessary components will be registered in the IoC container such that using the SOAP service only requires injecting one interface. Continue reading →

Posted in .Net, API Development, Architecture, ASP.NET Core, Design Patterns, Development, SOAP, WCF, Web API | Tagged , , , , , , , | 2 Comments

Evolving ZipMatch — from a simple function to a LINQ-style implementation

In this blog we are going to find the matching items in 2 sorted collections. The algorithm is simple and effective. I will show you how to implement it in C# and make it generically (pun intended) available to all … Continue reading →

Posted in .Net, Codeproject, Design Patterns, Development, F#, Functional Programming | Tagged , , | Leave a comment

Using an F# DSL to generate C# code

My current project is for a company called HDMP (The website is in Dutch / French). We make software for medical practitioners.  I am working on a service that communicates with web services created by the Belgian government. The services … Continue reading →

Posted in .Net, Codeproject, F#, Functional Programming | Tagged , , | Leave a comment

Sending notifications with Corona updates to thousands of doctors

During the Corona crisis, our (Belgian) government sends out regular updates for medical professionals. I created a small UWP app that will notify all the subscribed doctors when new information is available. The doctors can download and install this application … Continue reading →

Posted in .Net, Architecture, Azure, Cloud, Codeproject, Development | Tagged , , , | 1 Comment

How to use Microsoft Azure Key Vault

Introduction In this post I will describe how to set up and use an Azure key vault to store your secret values. Sometimes we see secrets like storage keys and connection strings written as literals in the code of a … Continue reading →

Posted in .Net, Architecture, Azure, Codeproject, Development | Tagged | 3 Comments

Creating a Visio Add-In in VS2017

Problem statement A good friend asked me the following question: How can I in Visio change the color to a previously selected color just by selecting a shape? Sounds simple enough, but there are some caveats, so here is my … Continue reading →

Posted in .Net, Codeproject, Development, Office Development | Tagged , | Leave a comment

Areas in ASP.NET Core

Introduction In a default MVC application everything is organized by Controllers and Views. The controller name determines the first part of your URL, and the controller method the second part. By default the view that will be rendered has the … Continue reading →

Posted in .Net, Codeproject, Development, MVC, Web | Tagged , , , | 9 Comments

Automating the creation of NuGet packages with different .NET versions

Introduction I created a couple of straightforward libraries to be used in almost every project. So evidently these libraries are a good candidate for NuGet. This will decouple the libraries from the projects that they are used in. It also … Continue reading →

Posted in .Net, Architecture, Codeproject, Development | Tagged | Leave a comment