Session

From `dotnet new webapi` to a dockerized CI/CD with integration tests

You are starting a new project or planning a major rewrite or have immense doubts of the new .NET but you have heard .NET Core 3.0 is out and you decide it is time to give it a (production) spin? Great, you are more then welcome!

In this live workshop lecture we will build a secure and swagger documented RESTful HTTP API backed with EF/MSSQL and a complete integration test (xUnit + xBehave) suite that will run in docker containers on a CI/CD service when you push your next commit.
Come and join me in live querying and testing a dataset of Croatia's Health Insurance Fund while seeing it is not that hard to set up a CI/CD that is backed with the `dotnet test` command.

What you will learn or see how to do is: setup a new production ready ASP.NET Core WebApi C# project, document it with Swagger, JWT secure it, scrape remote .XLS(X) data, parse it and save it to a relational database, ensure a seed mechanism for it, build an xUnit and xBehave integration test suit which seeds, migrates and tests VS a database, setup Azure deployment with an app service, setup CI/CD with Gitlab, setup a remote docker friendly Linux build agent with an Azure VM, run a build, test and deploy pipeline.

Of course we will not code this line by line, but go through different finished steps of the whole process. After this lecture you can always blame it on the front-end team! ;-)

Vedran Mandić

.NET Consultant, MCT

Zagreb, Croatia

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top