Hazelsoft Learning Site

A non-profit site where you can learn useful technology stuff. By Hazael Mojica.

Web API with ASP.Net Core - Workshop

26 May 2019

Hello I’m Hazael Mojica and this is the main page of the workshop in how to build a WebAPI using ASP.Net. Core.

Course Content

We will start with an introduction to .Net Core and C# in general, then we will proceed to the ASP.Net Core environment and how it will work for out purposes. After we have learned at least a little bit of the tool that we are going to use then we will start learning the basics in the HTTP protocol which dominates the industry nowadays and lastly how to build an API for it.

This course is oriented to experienced developers who have worked with other programming languages and are looking to migrate to C# using the .Net Core environment.

Course Requirements

  1. You can use any computer you like, it could be running Windows, Linux or Mac. Since we are using .Net Core it’s ok to use any operative system.
  2. You need to have installed the .Net Core SDK (latest version is 2.2): .Net Core SDK. This is Free.
  3. You need a SQL Server database instance running for our testing purposes, you can choose Developer or Express editions (both are free). SQL Server Dowload. I recommend Running SQL Server in Docker as we are going to use it for development only.
  4. As an IDE you need to have installed either: 4.1. Visual Studio Windows Only. This is Free. 4.2. Visual Studio Code. Any Operative System. This is Free. 4.3. Or [Jetbrains Rider] (https://www.jetbrains.com/rider/). Any operative System. This is Paid version.
  5. You need a SQL Server Client to manage Database Operations: 5.1 SQL Server Management Studio (latest version 18.0): SSMS. Windows Only. This is Free 5.2 Or Azure Data Studio. Any Operative System. This is Free
  6. As we are going to develop a Web API we need to have a tool that makes request to this API, we could of course use a CLI tool like curl, but for starters it’s better to use Postman. This is Free and works for any Operative System.
  7. We are going to deploy our API to SmarterASP.Net hosting service, and this is going to be accomplished using FTP. So we need and FTP client like FileZilla
  8. And of course we are going to use terminal, and having a good terminal emulator is always a pleasant experience, so if you are using Windows I highly recommend installing Cmder. Install the full version which includes git. It’s free.

Course Content

  1. Session 1 - Introduction to C# and .Net Core
  2. Session 2 - HTTP and ASP.Net Core
  3. Session 3 - ASP.Net Core and WebAPI Basics
  4. Session 4 - Http Clients and Production Environment