Commit Graph

572 Commits

Author SHA1 Message Date
dependabot[bot]
b1973fcc3d Bump Microsoft.VisualStudio.Web.CodeGeneration.Design
Bumps [Microsoft.VisualStudio.Web.CodeGeneration.Design](https://github.com/dotnet/Scaffolding) from 6.0.1 to 6.0.2.
- [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-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-09 14:21:25 +00:00
dependabot[bot]
83ddb7f50a Bump Blazored.LocalStorage from 4.1.5 to 4.2.0
Bumps [Blazored.LocalStorage](https://github.com/Blazored/LocalStorage) from 4.1.5 to 4.2.0.
- [Release notes](https://github.com/Blazored/LocalStorage/releases)
- [Commits](https://github.com/Blazored/LocalStorage/compare/v4.1.5...v4.2.0)

---
updated-dependencies:
- dependency-name: Blazored.LocalStorage
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 14:25:25 +00:00
dependabot[bot]
0dd499ef3f Bump coverlet.collector from 3.1.0 to 3.1.2
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](https://github.com/coverlet-coverage/coverlet/commits)

---
updated-dependencies:
- dependency-name: coverlet.collector
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 14:24:56 +00:00
Cédric Michel
87ae6c618c fix some issue and cover by test (#669) 2022-01-25 10:50:15 -05:00
Cédric Michel
6847cdaa0c update all nuget package use new version of Ardalis.Specifications (#668) 2022-01-21 10:36:07 -05:00
yigith
c037227b55 Fixing issue 656 (#657) 2022-01-21 10:15:03 -05:00
Abu Zafor Khairuzzaman
cc6529d5a3 Fix issue #660 (null reference issue) (#661) 2022-01-21 10:13:51 -05:00
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>
2022-01-21 10:13:31 -05:00
Cédric Michel
02b509711b Feature/exception response (#663)
* return 500 code for other exception with json response

* not throw
2022-01-21 10:07:11 -05:00
Clifford Beta
896fae150f Make docker work (#653) 2021-12-28 11:27:27 -05:00
Nish Anil
48675404aa Update README.md 2021-12-22 12:53:05 +05:30
Nish Anil
faca9cfbf0 Update README.md 2021-12-22 12:52:36 +05:30
Steve Smith
6fc0e83aaa Update README.md 2021-12-16 13:48:34 -05:00
Steve Smith
5b69b5b03c Code cleanup 2021-12-12 18:32:21 -05:00
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>
2021-12-12 18:25:59 -05:00
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
2021-12-12 18:25:39 -05:00
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
2021-12-06 15:14:43 -05:00
Steve Smith
20b060aeb3 Re-adding BasketQueryService 2021-12-04 11:49:05 -05:00
Steve Smith
a675f3ad57 Merge branch 'main' of https://github.com/dotnet-architecture/eShopOnWeb 2021-12-02 16:04:43 -05:00
Steve Smith
833dc3bd3a Refactor to eliminate unneeded BasketQueryService 2021-12-02 16:04:30 -05:00
Cédric Michel
3a81dcfd84 use GetRequiredSection and Service to inject options (#640) 2021-12-01 14:31:08 -05:00
Cédric Michel
13fed892ee update nuget package and adapt dockerfile to .net 6 (#639) 2021-12-01 12:53:35 -05:00
Steve Smith
6f5a6c0860 Fixed codeanalysis issue 2021-11-11 17:34:54 -05:00
Dominik Ther
eb757d3d12 Specific health checks implementations registered into the application (#619) 2021-11-11 16:51:42 -05:00
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>
2021-11-11 16:49:59 -05:00
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>
2021-11-11 16:49:47 -05:00
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>
2021-11-11 16:49:22 -05:00
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>
2021-11-11 16:49:10 -05:00
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>
2021-11-11 16:48:57 -05:00
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>
2021-11-11 16:48:31 -05:00
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>
2021-11-11 16:45:52 -05:00
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>
2021-11-11 16:44:07 -05:00
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>
2021-11-11 16:43:39 -05:00
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>
2021-11-11 16:43:12 -05:00
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>
2021-11-11 16:42:45 -05:00
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>
2021-11-11 16:42:27 -05:00
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>
2021-11-11 16:42:15 -05:00
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>
2021-11-11 16:41:42 -05:00
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>
2021-11-11 16:41:21 -05:00
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>
2021-11-11 16:41:04 -05:00
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>
2021-11-11 16:40:29 -05:00
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>
2021-11-11 16:39:59 -05:00
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>
2021-11-11 16:39:39 -05:00
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>
2021-11-11 16:36:01 -05:00
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.
2021-11-05 19:55:48 -04:00
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
2021-11-02 10:16:57 -04:00
Cédric Michel
553a10187d remove unsupported string.Compare with real database (#612) 2021-11-02 09:20:39 -04:00
Cédric Michel
984740d422 Basket : Improve, reduce, remove duplication call to database (#610) 2021-11-01 17:09:34 -04:00
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
2021-11-01 12:28:01 -04:00
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
2021-11-01 10:35:26 -04:00