Category Archives: Web API

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

Creating an OData V4 service

I’m writing an agenda application, where the data can be delivered to the calendar control using either REST or OData V4. I choose the latter because this will allow for much more flexibility afterwards. I already have an MVC 5 … Continue reading →

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

Could not load file or assembly ‘System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’

When creating a new MVC5 application using VS2013 I got the following error: Could not load file or assembly ‘System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception … Continue reading →

Posted in .Net, Development, MVC, MVC5, Web API | 2 Comments