.NET
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 […]
Publishing and subscribing to Event Grid events Part 1 – Create Azure Event Grid Topic
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 […]
Create interfaces in C# Part 3 – Compare cars
Now it’s time to compare the cars! In the main method write code to instatiate 3 cars, two which are the same and then compare! Now run the app and see if they are alike! There we go!
You must be logged in to post a comment.