Cédric Michel
1e13733d3d
Feature/migrate to minimal api ( #662 )
* migrate from classic controller to minimal api
* fix all PublicApi integration test
* update all nuget package add forget project
* fix pay now
* Adapt readme use in memory database
* undo AuthenticateEndpoint to use EndpointBaseAsync
* Update README.md
Co-authored-by: Steve Smith <steve@kentsmiths.com>
Co-authored-by: Steve Smith <steve@kentsmiths.com>
4 years ago
Cédric Michel
02b509711b
Feature/exception response ( #663 )
* return 500 code for other exception with json response
* not throw
4 years ago
Clifford Beta
896fae150f
Make docker work ( #653 )
4 years ago
Nish Anil
48675404aa
Update README.md
4 years ago
Nish Anil
faca9cfbf0
Update README.md
4 years ago
Steve Smith
6fc0e83aaa
Update README.md
4 years ago
Steve Smith
5b69b5b03c
Code cleanup
4 years ago
dependabot[bot]
e9ab201f70
Bump System.IdentityModel.Tokens.Jwt from 6.14.1 to 6.15.0 ( #641 )
Bumps [System.IdentityModel.Tokens.Jwt](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet ) from 6.14.1 to 6.15.0.
- [Release notes](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases )
- [Changelog](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/CHANGELOG.md )
- [Commits](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/compare/6.14.1...6.15.0 )
---
updated-dependencies:
- dependency-name: System.IdentityModel.Tokens.Jwt
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Steve Smith
36066ee7f3
Fix Security Issues ( #644 )
* Apply fix for Microsoft Security Advisory CVE-2018-0784
* Apply fix for Microsoft Security Advisory CVE-2018-0785
4 years ago
Steve Smith
ce63e38a23
net6conversion ( #642 )
* Converting to net6 startup and integration test formats
* Update to minimal api and using pagetitle
* Adjust functional test fixtures
Update ApiEndpoints package version
* Finish migration to minimal api startup
4 years ago
Steve Smith
20b060aeb3
Re-adding BasketQueryService
4 years ago
Steve Smith
a675f3ad57
Merge branch 'main' of https://github.com/dotnet-architecture/eShopOnWeb
4 years ago
Steve Smith
833dc3bd3a
Refactor to eliminate unneeded BasketQueryService
4 years ago
Cédric Michel
3a81dcfd84
use GetRequiredSection and Service to inject options ( #640 )
4 years ago
Cédric Michel
13fed892ee
update nuget package and adapt dockerfile to .net 6 ( #639 )
4 years ago
Steve Smith
6f5a6c0860
Fixed codeanalysis issue
4 years ago
Dominik Ther
eb757d3d12
Specific health checks implementations registered into the application ( #619 )
4 years ago
dependabot[bot]
77d9e4c19a
Bump Microsoft.Extensions.Identity.Core from 5.0.11 to 6.0.0 ( #629 )
Bumps [Microsoft.Extensions.Identity.Core](https://github.com/dotnet/aspnetcore ) from 5.0.11 to 6.0.0.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.11...v6.0.0 )
---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Identity.Core
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
d7c7540779
Bump Microsoft.VisualStudio.Web.CodeGeneration.Design ( #630 )
Bumps [Microsoft.VisualStudio.Web.CodeGeneration.Design](https://github.com/dotnet/Scaffolding ) from 5.0.2 to 6.0.0.
- [Release notes](https://github.com/dotnet/Scaffolding/releases )
- [Commits](https://github.com/dotnet/Scaffolding/commits )
---
updated-dependencies:
- dependency-name: Microsoft.VisualStudio.Web.CodeGeneration.Design
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
5f68d1c09f
Bump Microsoft.AspNetCore.Components.Authorization from 5.0.11 to 6.0.0 ( #631 )
Bumps [Microsoft.AspNetCore.Components.Authorization](https://github.com/dotnet/aspnetcore ) from 5.0.11 to 6.0.0.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.11...v6.0.0 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Components.Authorization
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
f7b3f20660
Bump Microsoft.AspNetCore.Components.WebAssembly.DevServer ( #634 )
Bumps [Microsoft.AspNetCore.Components.WebAssembly.DevServer](https://github.com/dotnet/aspnetcore ) from 5.0.11 to 6.0.0.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.11...v6.0.0 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Components.WebAssembly.DevServer
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
7b7ef32f68
Bump Microsoft.AspNetCore.Components.WebAssembly.Server ( #632 )
Bumps [Microsoft.AspNetCore.Components.WebAssembly.Server](https://github.com/dotnet/aspnetcore ) from 5.0.11 to 6.0.0.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.11...v6.0.0 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Components.WebAssembly.Server
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
d8ed4a0f1f
Bump Microsoft.Extensions.Logging.Configuration from 5.0.0 to 6.0.0 ( #633 )
Bumps [Microsoft.Extensions.Logging.Configuration](https://github.com/dotnet/runtime ) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases )
- [Commits](https://github.com/dotnet/runtime/compare/v5.0.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Logging.Configuration
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
ba61d42159
Bump Microsoft.AspNetCore.Components.WebAssembly from 5.0.11 to 6.0.0 ( #628 )
Bumps [Microsoft.AspNetCore.Components.WebAssembly](https://github.com/dotnet/aspnetcore ) from 5.0.11 to 6.0.0.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.11...v6.0.0 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Components.WebAssembly
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
3183f5ea18
Bump Microsoft.EntityFrameworkCore.InMemory from 5.0.11 to 6.0.0 ( #626 )
Bumps [Microsoft.EntityFrameworkCore.InMemory](https://github.com/dotnet/efcore ) from 5.0.11 to 6.0.0.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v5.0.11...v6.0.0 )
---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.InMemory
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
3989924033
Bump Microsoft.EntityFrameworkCore.Tools from 5.0.11 to 6.0.0 ( #625 )
Bumps [Microsoft.EntityFrameworkCore.Tools](https://github.com/dotnet/efcore ) from 5.0.11 to 6.0.0.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v5.0.11...v6.0.0 )
---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.Tools
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
9a8b503f3d
Bump Microsoft.AspNetCore.Identity.EntityFrameworkCore ( #623 )
Bumps [Microsoft.AspNetCore.Identity.EntityFrameworkCore](https://github.com/dotnet/aspnetcore ) from 5.0.11 to 6.0.0.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.11...v6.0.0 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Identity.EntityFrameworkCore
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
0bfffdeaa8
Bump Microsoft.AspNetCore.Identity.UI from 5.0.11 to 6.0.0 ( #621 )
Bumps [Microsoft.AspNetCore.Identity.UI](https://github.com/dotnet/aspnetcore ) from 5.0.11 to 6.0.0.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.11...v6.0.0 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Identity.UI
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
d7fb61591f
Bump System.Text.Json from 5.0.2 to 6.0.0 ( #627 )
Bumps [System.Text.Json](https://github.com/dotnet/runtime ) from 5.0.2 to 6.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases )
- [Commits](https://github.com/dotnet/runtime/compare/v5.0.2...v6.0.0 )
---
updated-dependencies:
- dependency-name: System.Text.Json
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
1e10afaced
Bump Microsoft.AspNetCore.Authentication.JwtBearer from 5.0.11 to 6.0.0 ( #620 )
Bumps [Microsoft.AspNetCore.Authentication.JwtBearer](https://github.com/dotnet/aspnetcore ) from 5.0.11 to 6.0.0.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.11...v6.0.0 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Authentication.JwtBearer
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
16afdb4963
Bump Microsoft.CodeAnalysis from 3.11.0 to 4.0.1 ( #624 )
Bumps [Microsoft.CodeAnalysis](https://github.com/dotnet/roslyn ) from 3.11.0 to 4.0.1.
- [Release notes](https://github.com/dotnet/roslyn/releases )
- [Changelog](https://github.com/dotnet/roslyn/blob/main/docs/Breaking%20API%20Changes.md )
- [Commits](https://github.com/dotnet/roslyn/commits )
---
updated-dependencies:
- dependency-name: Microsoft.CodeAnalysis
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
5813666ebc
Bump Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore ( #615 )
Bumps [Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore](https://github.com/dotnet/aspnetcore ) from 5.0.11 to 6.0.0.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.11...v6.0.0 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
6f5333c2e8
Bump System.IdentityModel.Tokens.Jwt from 6.14.0 to 6.14.1 ( #613 )
Bumps [System.IdentityModel.Tokens.Jwt](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet ) from 6.14.0 to 6.14.1.
- [Release notes](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases )
- [Changelog](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/CHANGELOG.md )
- [Commits](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/compare/6.14.0...6.14.1 )
---
updated-dependencies:
- dependency-name: System.IdentityModel.Tokens.Jwt
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
d645017dbf
Bump System.Net.Http.Json from 5.0.0 to 6.0.0 ( #622 )
Bumps [System.Net.Http.Json](https://github.com/dotnet/runtime ) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases )
- [Commits](https://github.com/dotnet/runtime/compare/v5.0.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: System.Net.Http.Json
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
d19f0f7841
Bump Microsoft.EntityFrameworkCore.SqlServer from 5.0.11 to 6.0.0 ( #616 )
Bumps [Microsoft.EntityFrameworkCore.SqlServer](https://github.com/dotnet/efcore ) from 5.0.11 to 6.0.0.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v5.0.11...v6.0.0 )
---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.SqlServer
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
166dc36033
Bump Microsoft.AspNetCore.Components.WebAssembly.Authentication ( #618 )
Bumps [Microsoft.AspNetCore.Components.WebAssembly.Authentication](https://github.com/dotnet/aspnetcore ) from 5.0.11 to 6.0.0.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.11...v6.0.0 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Components.WebAssembly.Authentication
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
a09f39a717
Bump Microsoft.AspNetCore.Mvc.Testing from 5.0.11 to 6.0.0 ( #617 )
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore ) from 5.0.11 to 6.0.0.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.11...v6.0.0 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Mvc.Testing
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Shady Nagy
9db2feb930
Shady nagy/net6 ( #614 )
* udated to .net6
* used the .net6 version RC2
* added editconfig.
* App core new Scoped Namespaces style.
* BlazorAdmin new Scoped Namespaces style.
* Blazor Shared new Scoped Namespaces style.
* Infra new Scoped Namespaces style.
* public api new Scoped Namespaces style.
* web new Scoped Namespaces style.
* FunctionalTests new Scoped Namespaces style.
* Integrational tests new Scoped Namespaces style.
* unit tests new Scoped Namespaces style.
* update github action.
* update github action.
* change the global.
4 years ago
Cédric Michel
64f150dc07
replace counter by specific query to avoid load each items in memory ( #611 )
* replace counter by specific query to avoid load each items in memory
* Create IBasketQueryService
4 years ago
Cédric Michel
553a10187d
remove unsupported string.Compare with real database ( #612 )
4 years ago
Cédric Michel
984740d422
Basket : Improve, reduce, remove duplication call to database ( #610 )
4 years ago
Cédric Michel
47f69eb294
protect basket by manual manipulation of basket shop cookie ( #609 )
* protect basket by manual maipulation of basket shop cookie (get and set)
* add diagram to explain issue 449
4 years ago
Cédric Michel
ed30f3dcc4
fix bad redirection ( #608 )
* fix bad redirection
fix cleanning of local storage on startup
* update all nuget package
* avoid magic string
4 years ago
Cédric Michel
5d34222f28
add cached on logout with revoke cookie identity key ( #605 )
* add cached on logout with revoke cookie identity key
* properly signout as recommended : https://docs.microsoft.com/en-us/aspnet/core/security/authentication/cookie?view=aspnetcore-5.0#react-to-back-end-changes
* add remark regarding multi-host scenario
* Update src/Web/Configuration/RevokeAuthenticationEvents.cs
Co-authored-by: Steve Smith <steve@kentsmiths.com>
4 years ago
Cédric Michel
68beb21f07
Feature/generic cached decorator ( #604 )
* make TODO: Make a generic decorator for any LookupData type
* remove useless GetById in ICatalogLookupDataService
4 years ago
Cédric Michel
ed63faac84
update all nuget package ( #603 )
4 years ago
Cédric Michel
463e6f522d
change BuyerId to 256 because it represent the user name from identity and it also mandatory ( #597 )
4 years ago
Cédric Michel
cfd4f4e22d
Dependabot/nuget/blazored.local storage 4.1.5 ( #596 )
* Bump Blazored.LocalStorage from 3.0.0 to 4.1.5
Bumps [Blazored.LocalStorage](https://github.com/Blazored/LocalStorage ) from 3.0.0 to 4.1.5.
- [Release notes](https://github.com/Blazored/LocalStorage/releases )
- [Commits](https://github.com/Blazored/LocalStorage/compare/v3.0.0...v4.1.5 )
---
updated-dependencies:
- dependency-name: Blazored.LocalStorage
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* use AddBlazoredLocalStorage instead of add Localstorage
align version of nuget package
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Steve Smith
4da4822e8e
Update AddItemToBasket.cs
4 years ago
Steve Smith
c7e171e03f
move GuardExtensions ( #595 )
4 years ago