* Updated ApplicationCore to net 5
* Updated Infrastructure project to net 5
* Updated BlazorShared project to net 5
* Updated PublicApi project to net 5
* Updated Web mvc project to net 5
* Updated BlazorAdmin project to net-5
* Updated FunctionalTests to net 5
* Updated UnitTests project to net 5
* Updated IntegrationTests project to net 5
* Fixed CSS specific bug in BlazorAdmin project
* Updated github action worflow yaml
* Changes the name to only .NET
* Removed hardcoded minor version from github action workflow.
* Removed commneted code.
* Removed minor versions from the docker file
* Updated dotnet-ef tool version configuration to net-5
* Removed old migration plans
* Added net5 migration plans
* Updated infrastructure projecti setting.
* Removed database error page related configuration
* Removed commented package.
* Removed and Reordered the using statements
* Removed and Reordered the usings inside Web Project
* Removed and Reordered the usings inside PublicApi project
* Removed Unused usings and reorganized usings inside Infrastructure project
* Removed unused using and reorganized the usings inside ApplicationCore Project
* Removed unused usings and reorganized usings inside BlazorAdmin project
* Initial update endpoint working
* Updated CatalogItem to support more updates; added tests
* Got MediatR domain events working to check for duplicate item names
* Adding reference link
* Remove domain events spike code
* clean up usings
* Adding tests for GetById endpoint
* Updating tests and messages
* Adding paged endpoint and also AutoMapper
* Authenticate endpoint works as bool with tests
* Got JWT token security working with Create and Delete endpoints and Swashbuckle.
* Working on getting cookie and jwt token auth working in the same app
All tests are passing
* Creating new project and moving APIs
Build succeeds; tests need updated.
* all tests passing after moving services to PublicApi project
* Fix authorize attributes
* Uncomment and update ApiCatalogControllerLists tests
Co-authored-by: Eric Fleming <eric-fleming18@hotmail.com>
* Creating new test class for RemoveEmptyItems
* Adding tests for AddItemToBasket in BasketService
* Removing unused GetBasketItemCountAsync
* Adding tests for BasketWithItemsSpecification
* Adding CustomerORdersWithItemsSpecification tests
* Adding CatalogFilterPaginatedSpecifciation tests
* Adding CatalogItemsSpecification tests
* Changed the order of the projects, Web first to infer as startup.
* Added encapsulated JSON serialization - and moved to System.Text.Json
* Refactored a few minor updates out
Co-authored-by: Eric Fleming <eric-fleming18@hotmail.com>
- updating to use Ardalis.Specifications package as it is maintained and has a more robust implementation
- Removing all custom specification implementation
- Updating unit tests
* use lambda expression => improve database call
* use lambda instead for each replace call to repository to reduce call to database
* improve readability and maintainability, and add order by
* clean semicolon
* fix use correct catalog item id
* resolve osbsolete method
* put all properties as private, align unit test
* fix version of version in MD, add instruction to install ef tool
* fix url stored
* Updates based on documentation
* Getting the build passing
* Getting app functioning
* A few cleanups to confirm it's working as expected
* Fixing functional tests
* Updating dockerfile for 3.0
* Functional Tests now run sequentially
* Updating to latest version of moq
* Adding migration for post 3.0 upgrades
* Removing commented out lines
* Moving address and catalogitemordered configuration in to classes that own them
* Adding admin user
* Adding admin catalog screen
- will also only display menu option if user is logged in as an admin
* WIP - squash this
* Allow user to edit a catalog item
* Adding entry for new service
* Invalidating cache after catalog item update
- also a little bit of cleanup
* Fixing bad merge
* Removing Picture Uri and making Id readonly
* Adjusting style in menu dropdown so all options are shown
* Creating Cache helpers with unit tests
* Updates based on documentation
* Getting the build passing
* Getting app functioning
* A few cleanups to confirm it's working as expected
* Fixing functional tests
* Updating dockerfile for 3.0
* Functional Tests now run sequentially
* Updating to latest version of moq
* Adding migration for post 3.0 upgrades
* Removing commented out lines
* Moving address and catalogitemordered configuration in to classes that own them
* Minor cleanups
- The change is a better way to do the configuration, but there is
currently an issue where the Value Objects are not being honored and
being treated like Entitys. When this happens, the container will throw
errors when trying to start up because the entitys are lacking primary
keys (when they don't need them).
* Proving out removing the basket items at the same time the basket is deleted
* Fixing existing unit tests
* Adding a unit test for the Deletebasket method
* Rename test and deleting basket items before basket
* Added integration test for DeleteAsync method for BasketItems
- Also added a BasketBuilder to create a Basket with no items, or one item.
* Adding Id to query so the correct order details are always pulled back
* Removing unused usings
- also removed the sync method as it is not used anywhere in the solution. The Async should be the preferred one.
* Adding integration test for GetByIdWithItemAsync
* Rename test