Api
Create a minimal API with ASP.NET Core – Part 3
Alright! Let´s examine our new api. Remember to restart our app before continuing since you updated our code last time. In the tutorial we use postman but we can also use invoke-webrequest that is built in to powershell. Create a variable containing a formated string as json. This contains a name and the bool for […]
Create a minimal API with ASP.NET Core – Part 2
Go ahead and install the entityframework. With this done we can now create a new class that is our model for an todo app and also create the database context class file. Paste both code into each code file. Remember you can get the information from here. Finally replace our boilerplate code for the asp.net […]
Create a minimal API with ASP.NET Core – Part 1
Let´s go through this tutorial and create a minimal API that doesn´t use controllers. First check that you have vscode, .net sdk and C# for vscode. Check your sdk version by typing dotnet –info. Create a new .net core web project and open the folder in vscode. This asp.net web app serves http pages and […]
You must be logged in to post a comment.