Posts

Showing posts from July, 2018

Starting our .NET Core WebAPI Journey – Step 3

Image
Learning is a process and I needed to learn that these guides should be smaller.   That was clearly evident to me in our last guide.   I’m going to attempt to make this guide smaller.   While in step 2, we wrote all of the class library, in this guide, I’m only going to focus on the Log WebAPI Controller.   We’ll add the email queue controller in a future guide. In this guide, we will ·          Create our WebAPI Project ·          Code the Log WebAPI Controller ·          Configure the Service ·          Test the Service through PostMan Creating the WebAPI Project Open up the solution that you initially created the class library.   In my example below, I have my LunchandLearn solution opened.   Click on Add--> New Project .   Select the .NET Core template area and select to create a ASP.NET Core Web Application . Below I’m naming this SampleAspNetCore.     Click OK and you then have a few different .NET Core project templates to choose from.   Make sure yo