WebService

Custom Exception Handling in .Net Core with a Middleware

For many developers, exceptions and error handling is a pain. It distracts from the application flow. However, it is important for any decent service or application to handle it well. To tackle this problem we will use Custom Exception Handling in this tutorial. ASP.NET Core provides an easy concept for all sorts of extensions and …

Custom Exception Handling in .Net Core with a Middleware Read More »

Using OAuth2 and Open ID Connect in an ASP.NET Core Application

Prologue The source code and a working prototype is available on my Github page. You only have to adapt the appSettings file with your keys. I would also recommend to use OData when providing an API. You can find a guide to achieve this here. Deciding the Authorization Grant Type OAuth2 actually has many different …

Using OAuth2 and Open ID Connect in an ASP.NET Core Application Read More »

Creating A Swagger Documentation For RESTful Services

In this Blog post we discover creating a Swagger documentation for WebAPI (ASP.NET) and why you should do it too :). If you have any questions on creating a RESTful Service with C# and Visual Studio just look at this tutorial HERE. First of all – what is Swagger? Swagger lets you create a beautiful and …

Creating A Swagger Documentation For RESTful Services Read More »

Creating A REST Webservice With C# And Visual Studio

In this tutorial Creating A REST Webservice I guide you through the process of creating a RESTful Webservice with C# and Visual Studio. CLICK HERE to go to the updated version for creating a REST Webservice for .NET Core. For this demo I am using Visual Studio 2017 with the ASP.NET and web development package installed. …

Creating A REST Webservice With C# And Visual Studio Read More »