rfalanga / CarvedRock

Following along in the ASP.NET Core 6 Crash Course on Pluralsight

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CarvedRock

The following is my changes

Following along in the ASP.NET Core 6 Crash Course on Pluralsight

This is my version of the course. For reference go to this link

The following is from Erik's README.md file from his GitHub repo

Prerequisites

N O T E: when this project runs it will create two different Sqlite databases, stored in the Environment.SpecialFolder.LocalApplicationData folder. (C:\Users\USERNAME\AppData\Local on Windows and /Users/USERNAME/.local/share on Mac):

  • carvedrock-admin.db (this is the main application database)
  • carvedrock-admin-users.db (this is ASP.NET Core Identity)

VS Code Setup

Any flavor of Visual Studio or Rider will include the things you need to run ASP.NET projects, but VS Code requires some additional setup.

The C# extension (link above) is required to use this repo. I have some other settings that you may be curious about and they are described in my VS Code gist.

App features

The application is the starting point for an "Admin" application for a fictional company called Carved Rock for its users to maintain the products that it sells.

  • The primary technology is ASP.NET Core 6 MVC
  • Entity Framework (EF) Core is used with Sqlite for the database
  • Basic CRUD operations are supported on Products and Cateogories
  • Styled with Bootstrap and the Litera Bootwatch theme
  • Repository and Domain Logic classes are used with dependency injection (DI) to support testability
  • The Category of a product is a related entity with navigation property
  • Validation is present on both categories and products, and a sample of more complex validation is included on Products with FluentValidation
  • Products and Categories require users to be authenticated
  • ASP.NET Identity (scaffolded) is used for the the authentication (self-registration works fine - no inital users are created)
  • The "initial data" is reset each time the app starts, so feel free to play around!!

Doc References

About

Following along in the ASP.NET Core 6 Crash Course on Pluralsight

License:MIT License


Languages

Language:C# 72.8%Language:HTML 26.7%Language:CSS 0.4%Language:JavaScript 0.1%