* 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.
* Added Blazor Client
Configured PublicAPI CORS to allow traffic from client
* Make admin page home page; remove extra pages
Add CatalogType list endpoint
* Wired up Types and Brands in the API and the admin list page
* Adding a custom HttpClient to talk securely to API
* Ardalis/blazor (#419)
* Login added
* AuthService will handel http request secure and not secure.
* Logout added
* CatalogBrandService in it is own service
* Get token from localstorage when refresh.
* used GetAsync
* Fixed Login and Logout switch.
* CatalogItemService added
* CatalogTypeService added & Auth for CatalogType.
using not used removed.
* Made BlazorComponent and BlazorLayoutComponent for refresh.
Index now small enough to be in one file.
* Removed the service from program main and use lazy singleton.
* used OnInitialized
* Refactoring and detecting login status in login.razor
* Refactoring login to redirect if user is already logged in
* Blazor login with MVC (#420)
* Blazor login with MVC
* return back the PasswordSignInAsync in Login page
* CRUD added (#422)
* CRUD added
* Unit Test changed to meet new redirect /admin
* CreateCatalogItemRequest added.
* Action caption added.
* Validation added for name and price.
* Updated port of api
Redirect to returnUrl from login
* Add username to /admin; link to my profile
* Working on authorization of /admin
* Working on custom auth locking down /admin page
* Microsoft authorize working.Login.razor removed.Login from SignInMana… (#425)
* Microsoft authorize working.Login.razor removed.Login from SignInManager and create token from it.unit test fixed.
* GetTokenFromController function used in CustomAuthStateProvider
* Cleaned up button styles
Refactored to use codebehind for List component
Updated Not Authorized view
Co-authored-by: Shady Nagy <shadynagi@gmail.com>
* 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>
- updating to use Ardalis.Specifications package as it is maintained and has a more robust implementation
- Removing all custom specification implementation
- Updating 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
* Installing MediatR nuget packages
* Configure MediatR in Startup
* Creating GetMyOrders MediatR query and handler
* Adding GetOrderDetails MediatR handler
* Refactoring out default values
* Added tests for GetOrderDetails mediator handler
* Defaulting values on Models for now
* Removing some spaces
* Splitting files
* Splitting out the GetOrderDetails files
* Adding test for GetMyOrders
* restructuing folders
* Using constant
* 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
Justification:
When published (under Release configuration) in layout there is just app.min.css. We can either add also other minified CSS there (components, headers,...) or add one bundled and minified 8KB css.
* Moved Privacy, Home page to Razor Pages
* Migrating Basket from RazorPages to Web.
* Removed BasketController; refactored viewmodels
* Moved BasketComponent into Pages/Shared
Added auth rules to Startup for Pages
Added notes to controllers about Pages usage.
* Fixed broken my orders test
Consolidated Functional Tests
* Fixed logo link to home page
Fixed Order Detail Total $ format
* Initial Web2 project working
* Initial WebRazorPages project working
* Adding additional sln files
* Removing old project
* Fixed integration tests
* Getting FunctionalTests working.
* Got Swagger working in Web
* Moved web2 to web