Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Add Blazor WebAssembly Admin Page #426

Merged
merged 15 commits into from
Jul 24, 2020
Merged

Add Blazor WebAssembly Admin Page #426

merged 15 commits into from
Jul 24, 2020

Conversation

ardalis
Copy link
Collaborator

@ardalis ardalis commented Jul 24, 2020

No description provided.

ardalis and others added 15 commits July 10, 2020 12:34
Configured PublicAPI CORS to allow traffic from client
Add CatalogType list endpoint
* 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
* Blazor login with MVC

* return back the PasswordSignInAsync in Login page
* CRUD added

* Unit Test changed to meet new redirect /admin

* CreateCatalogItemRequest added.

* Action caption added.

* Validation added for name and price.
Redirect to returnUrl from login
#425)

* Microsoft authorize working.Login.razor removed.Login from SignInManager and create token from it.unit test fixed.

* GetTokenFromController function used in CustomAuthStateProvider
Refactored to use codebehind for List component
Updated Not Authorized view
@ardalis ardalis merged commit 8d3ac69 into master Jul 24, 2020
@ardalis ardalis deleted the ardalis/blazor branch July 24, 2020 16:36
rsciriano pushed a commit to rsciriano/eShopOnWeb that referenced this pull request Apr 4, 2023
* 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 (dotnet-architecture#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 (dotnet-architecture#420)

* Blazor login with MVC

* return back the PasswordSignInAsync in Login page

* CRUD added (dotnet-architecture#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… (dotnet-architecture#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>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants