* 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>
38 lines
1.6 KiB
XML
38 lines
1.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>netstandard2.1</TargetFramework>
|
|
<RazorLangVersion>3.0</RazorLangVersion>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Blazored.LocalStorage" Version="2.1.6" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.Authorization" Version="3.1.5" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="3.2.0" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="3.2.0" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Build" Version="3.2.0" PrivateAssets="all" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="3.2.0" PrivateAssets="all" />
|
|
<PackageReference Include="Microsoft.Extensions.Identity.Core" Version="3.1.5" />
|
|
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
|
|
<PackageReference Include="System.Net.Http.Json" Version="3.2.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\ApplicationCore\ApplicationCore.csproj" />
|
|
<ProjectReference Include="..\Shared\Shared.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Update="Services\CatalogItem\Delete.EditCatalogItemResult.cs">
|
|
<DependentUpon>Delete.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="Services\CatalogItem\GetById.EditCatalogItemResult.cs">
|
|
<DependentUpon>GetById.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="Services\CatalogItem\Edit.CreateCatalogItemResult.cs">
|
|
<DependentUpon>Edit.cs</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
</Project>
|