Latest Posts
Thursday, July 29, 2021
In this post we are going to create our first Entity Framework migration and creating an actual database in MySQL.
In order to do that we need to add a few NuGet packages to our Asp.Net Core project including the Entity Framework Core package. But, before we do that we want to find out what what version of .NET Core we are running. Obviously I have it memorized, but for the rest of you, you can type the command dotnet --version to figure out what the version is :) It's always a good idea to try and match the package version with the .NET Core runtime you have. It's one of the more annoying thing with Angular and Asp.Net Core, it's changing constantly. So as you can see my version 3.1.xxx so I should try to install packages that are made for 3.1.x.
The first package we are going to install is the Microsoft.EntityFrameworkCore. So open the ACMEBank.API project with Visual Studio Code. Press Ctrl+Shift+P and type NuGet and select
Tuesday, June 29, 2021
In this post we are going to use the .NET Core CLI to create a web api application for our app. The first thing to do is create an a folder to hold our files. Since we are using Linux you want to sudo su into the terminal and create the following folder /opt/app/ACMEBank. Once that's done cd into it and you are ready to type in the command to create the Web Api.
Here are the steps:
1. What you want to do first is to make sure that you have .NET Core install by typing in dotnet --info, there should be information on your .NET Core install. If you don't have .NET install you can follow the directions in this post.


