Posts

Entity Framework

I ended up going with setting up Entity Framework first.  I found a good tutorial that stepped through all the basics.  I wish I had seen this a year ago when I first started using EF. https://www.youtube.com/watch?v=qkJ9keBmQWo&feature=youtu.be I really recommend watching the video for all the details.  I'm going to capture the hints that were helpful to me so I don't forget them. Setup 1. Create "ASP.NET Core Web Application" Web Application in Visual Studio. This will create a Razor Pages application so we have a framework 2. Create a "Class Library (.NET Standard)" project for Data layer .NET Standard project will work with .Net Framework, .Net Core, Xamarin, etc.  .Net Core projects won't work with .Net Framework 3. Use NuGet to add "Microsoft.EntityFrameworkCore.SqlServer" to the Data layer 4. Create a constructor that inherits from DbContext.  Ctor should pass in DbContextOptions and call base(options).  Create

Let's login to this bad boy

I figure the first thing I need to do get the shell put together set up github set up Azure DevOps login/logout Here are some of the links that I'll use to figure out the login/logout https://www.tutorialspoint.com/asp.net_core/asp.net_core_log_in_and_log_out.htm http://future-shock.net/blog/post/creating-a-simple-login-in-asp.net-core-2-using-authentication-and-authorization-not-identity https://jasonwatmore.com/post/2018/06/26/aspnet-core-21-simple-api-for-authentication-registration-and-user-management https://codinginfinite.com/login-page-asp-net-core-mvc-database/ https://www.youtube.com/watch?v=9WVG-tXl7XA

What is this blog?

I'm going to use this blog to take notes and figure out what I'm doing when coding.  Could be fun.  Could really suck.  We'll have to see how it goes.  I'm going to start with .Net Core, Angular, and Azure DevOps.  These are pretty much just notes for me so that I don't forget things I look up.