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 […]
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 […]
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 […]
Let’s go into the lab 10 in the Microsoft github here and create our resources. For more information about Microsoft github and github please see my previous posts about how to set everything up. First check that the EventGrid provider is registered in your Azure tenant. Now let’s jump into the portal and create or […]
Time to create a dictionary in C# from the programming guide here. First create a new class file named Write three properties for your new class and make your class public. Save your new class and in the next post we’ll initialize an dictionary and populate with some students.