Commit Graph

352 Commits

Author SHA1 Message Date
Ankit Sinha
1b5b12ec11 configured devcontainer properly (#384)
* configured  devcontainer properly

* made vscode owner of .dotnet

Co-authored-by: Ankit Sinha <anksinha@microsoft.com>
2020-06-02 11:40:34 -04:00
Maira Wenzel
b47e5bfbdf Update docs links (#387) 2020-05-28 17:28:23 -04:00
Steve Smith
3030e97af6 Migrated some tests to use System.Text.Json (#385)
* Migrated some tests to use System.Text.Json

* Added case insensitive json options to fix broken tests.
2020-05-28 15:48:24 -04:00
Tim Heuer
bb977b6fdf Fixing ext ID (#383)
Extension was renamed...fixing.
2020-05-28 14:53:55 -04:00
Eric Fleming
1176fffa83 Updating packages to their latest versions (#378) 2020-05-14 15:12:11 -04:00
Cédric Michel
92ca22cf8b Feature load improvement (#374)
* use lambda expression  => improve database call

* use lambda instead  for each replace call to repository to reduce call to database

* improve readability and maintainability, and add order by

* clean semicolon

* fix use correct catalog item id
2020-05-13 13:45:52 -04:00
Nish Anil
2d08fa4090 Merge pull request #376 from timheuer/master
Fix for #375 to add devcontainer/extensions files
2020-05-13 00:18:26 +05:30
Tim Heuer
de274ebd70 Fix for #375 to add devcontainer/extensions files 2020-05-12 11:42:33 -07:00
Cédric Michel
516d87aaa1 manage basket checkout after login (#371) 2020-05-06 15:53:52 -04:00
Cédric Michel
fdb4869c0b add FirstAsync in respository (#370)
* add FirstAsync in respository

* use new FirstOrDefaultAsync() method from repository
2020-05-05 10:23:57 -04:00
Eric Fleming
7dcf3845d6 Adding community extensions section to the readme (#364) 2020-04-10 14:50:30 -04:00
Eric Fleming
599db2ee26 Removing unneccesary method call (#363) 2020-04-09 16:10:08 -04:00
Steve Smith
1007a6b0fc Update README.md 2020-02-20 10:18:44 -05:00
Steve Smith
0d4061a6b6 Update README.md 2020-02-20 10:14:56 -05:00
Eric Fleming
606055c44c Updating README to include link to new FAQ page 2020-02-19 15:54:18 -05:00
Cédric Michel
3e228035c0 Feature/respect encapsulation (#349)
* resolve osbsolete method

* put all properties as private, align unit test

* fix version of version in MD, add instruction to install ef tool

* fix url stored
2020-02-03 12:47:59 -07:00
Eric Fleming
288d827821 Actions build (#340)
* Build with GitHub Actions

* Changing dotnet-version

* Updating version again

* Updating path to sln and adding test step

* Updates to file path

* Path is probably starting out at the root

* Updating path once again

* Updating name

* Adding build badge to readme

* Making the build work in markdown
2020-01-08 10:16:42 -05:00
David Henley
0a93e61f03 Rethrow the exception to be caught in Program.cs (#344) 2020-01-07 08:32:25 -07:00
Joni
a382a0f947 Fix typo (#341) 2019-12-26 07:04:23 -07:00
Steve Smith
fa8839e1d8 Minor 3.x Updates (#339)
* remove unnecessary call

* Refactoring test fixture
2019-12-18 16:59:25 -05:00
Eric Fleming
e53117b952 Updating to netcore3.1 (#338)
* Updating to .NET Core 3.1

* Updating nuget packages

* Updating dockerfile for 3.1
2019-12-17 11:08:55 -05:00
mrukas
13fc6ea546 Added possibility to chain includes. (#331)
* Added possibility to chain includes.

* Removed interface.

* Removed the need for generating GUIDs as ids and added tests.
2019-12-16 07:42:04 -07:00
Eric Fleming
9695e9e3ba Adding a ConfigureTestingServices (#335) 2019-12-11 21:59:45 -05:00
Eric Fleming
f3f74a342e Admin page (#324)
* 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

* Adding admin user

* Adding admin catalog screen

- will also only display menu option if user is logged in as an admin

* WIP - squash this

* Allow user to edit a catalog item

* Adding entry for new service

* Invalidating cache after catalog item update

- also a little bit of cleanup

* Fixing bad merge

* Removing Picture Uri and making Id readonly

* Adjusting style in menu dropdown so all options are shown

* Creating Cache helpers with unit tests
2019-12-10 22:04:59 -05:00
Eric Fleming
539d8c689d Fixing login integration test (#332)
* Removing unecessary test
2019-12-05 19:23:55 -07:00
Eric Fleming
29d1497a3f Mediatr example (#325)
* 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
2019-11-15 13:36:51 -05:00
Eric Fleming
1bae9e68d9 Merge pull request #327 from gregg-miskelly/dev/greggm/3.0-doc-fix
Update database instructions to work in .NET Core 3.0
2019-11-11 13:03:38 -05:00
Gregg Miskelly
0fcf43ea78 Update database instructions to work in .NET Core 3.0
In the 3.0 SDK `dotnet ef` needs to be installed. This updates the instructions/tool config to do so.

More info: https://docs.microsoft.com/en-us/ef/core/miscellaneous/cli/dotnet
2019-11-11 09:13:30 -08:00
Eric Fleming
4442015835 Netcore3.0 (#323)
* 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
2019-11-06 14:17:56 -05:00
Eric Fleming
9a21db6979 Merge pull request #322 from KonradMasalski/master
Minor code cleanup
2019-10-29 10:14:25 -04:00
Konrad Masalski
d422c42c24 minor code rearange, quantity as optional parameter, removed some unused fields 2019-10-28 22:44:40 +01:00
Eric Fleming
8ccc87d7e9 Merge pull request #320 from MoienTajik/master
Made the AddAsync method fully asynchronous
2019-10-24 13:37:24 -04:00
Moien Tajik
96e16ca3e7 Made AddAsync method fully asynchronous 2019-10-19 01:27:42 +03:30
Eric Fleming
15fd172d57 Merge pull request #315 from dotnet-architecture/update-packages
Reverting package version
2019-10-05 13:30:41 -04:00
Eric Fleming
9b7dc2c1ce Reverting package version
- The new version of this package appears to have a bug or no longer compatible with .NET Core 2.2
2019-10-05 13:30:06 -04:00
Eric Fleming
9b638b45f8 Merge pull request #314 from dotnet-architecture/update-packages
Update packages
2019-10-04 21:07:20 -04:00
Eric Fleming
e7b411cb92 Update Microsoft.VS.Web.CodeGeneration.Design 2019-10-04 20:24:24 -04:00
Eric Fleming
4418e36fc5 Updating Microsoft.Web.LibraryManager.Build 2019-10-04 20:23:17 -04:00
Eric Fleming
1ac91c5c8e Updating Microsoft.CodeAnalysis 2019-10-04 20:22:13 -04:00
Eric Fleming
701e0e6515 Updating Microsoft.net.test.sdk 2019-10-04 20:21:16 -04:00
Eric Fleming
735b5036e8 Updating version of Moq 2019-10-04 20:17:12 -04:00
Eric Fleming
5b498be755 Merge pull request #310 from dotnet-architecture/remove-ssl-from-dockeroverride
Removing https from override
2019-09-24 17:02:38 -04:00
Eric Fleming
c163f5e5a6 Removing https from override
- There are issues with generating a local cert when trying to run this project from the docker-compose at the moment. Removing the https bits for now until so the docker-compose will work right after cloning the project.
2019-09-24 17:01:32 -04:00
Eric Fleming
42e2149c02 Merge pull request #305 from dotnet-architecture/remove-unused-IIdentityParser
Removing unused interface
2019-09-20 20:42:25 -04:00
Eric Fleming
2f1b7fe0db Removing unused interface
Fixes: https://github.com/dotnet-architecture/eShopOnWeb/issues/304
2019-09-20 20:39:12 -04:00
Steve Smith
4127d90b01 Adding docker-compose project (#302) 2019-09-11 23:35:13 -04:00
Eric Fleming
0426377955 Merge pull request #301 from dotnet-architecture/update-button-on-empty-basket
Update style for when the basket is empty
2019-09-11 21:17:30 -04:00
Eric Fleming
1cf176c107 Update style for when the basket is empty 2019-09-11 21:13:30 -04:00
Eric Fleming
9ce4bcf76f Merge pull request #300 from ovicrisan/master
Allow to remove items from the basket setting quantity to zero
2019-09-11 21:04:29 -04:00
Ovi
70e009bda2 Allow to remove items from the basket setting quantity to zero 2019-09-11 09:16:00 -04:00