Commit Graph

257 Commits

Author SHA1 Message Date
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
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
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
Konrad Masalski
d422c42c24 minor code rearange, quantity as optional parameter, removed some unused fields 2019-10-28 22:44:40 +01:00
Moien Tajik
96e16ca3e7 Made AddAsync method fully asynchronous 2019-10-19 01:27:42 +03:30
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
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
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
1cf176c107 Update style for when the basket is empty 2019-09-11 21:13:30 -04:00
Ovi
70e009bda2 Allow to remove items from the basket setting quantity to zero 2019-09-11 09:16:00 -04:00
Eric Fleming
c370b8affb Add missing migration (#298) 2019-09-11 08:39:54 -04:00
Sascha Gottfried
11cb67a14a Remove references to namespace "Microsoft.EntityFrameworkCore.*" in order to remove dependencies to EF Core in project ApplicationCore. Remove any packages related to EF Core from ApplicationCore.csproj. 2019-09-02 15:53:37 +02:00
Steve Smith
8e1952158a Update BaseApiController.cs 2019-08-30 10:05:23 -04:00
Eric Fleming
d2e826331b Removing unnecessary class 2019-08-28 20:34:01 -04:00
Eric Fleming
2da7421568 Updating the styles/page layout of the register page 2019-08-28 20:18:20 -04:00
Eric Fleming
4802d078a2 Removing old view and adding the scaffolded Register page so we can apply some styles to it 2019-08-28 19:43:42 -04:00
Eric Fleming
d4993abd5f Rolling back change to use extension method to wiret up config
- The change is a better way to do the configuration, but there is
currently an issue where the Value Objects are not being honored and
being treated like Entitys. When this happens, the container will throw
errors when trying to start up because the entitys are lacking primary
keys (when they don't need them).
2019-08-24 21:55:41 -04:00
Eric Fleming
3165791d82 Marking value objects as "owned" explicitly 2019-08-24 19:39:38 -04:00
Eric Fleming
4fb07d4d88 Configuring to use In-Memory Database by default 2019-08-19 21:46:14 -04:00
Steve Smith
305be555db Updated packages; Using configuration classes for EF Core. 2019-08-18 15:16:31 -04:00
Eric Fleming
6eba16b09b Merge pull request #280 from JohnCOsborne/master
Capitalized isPaging property
2019-07-29 20:25:25 -04:00
Lesair Valmont
f7ef0aca37 Closes #281. (#282)
Typo in ConfigurateCatalogItemOrdered.
2019-07-29 14:46:41 -04:00
John Caleb Osborne
b5defc8d34 Capitalized isPaging property 2019-07-29 05:16:02 -04:00
Eric Fleming
63cb73bf2d Merge pull request #275 from saschagottfried/master
Remove client-side libraries managed by Library Manager from reposito…
2019-07-16 21:19:41 -04:00
Nemi Chand
1c0dbfa9bd Adding Continue shopping link/button to Cart 2019-07-15 23:01:14 +05:30
Sascha Gottfried
ae6368558e Remove client-side libraries managed by Library Manager from repository. Add default target location wwwroot/lib/ to .gitignore file. 2019-07-15 10:13:34 +02:00
Eric Fleming
7c092ba5ad Enforcing IAggregateRoot (#273)
- Enforcing it on the Async and EfRepositories
- Making CatalogBrand, Item, and Type AggregateRoots because they are
just lookup tables
2019-07-11 09:31:18 -04:00
Eric Fleming
89ab19cf19 Removing the AccountController 2019-06-21 21:40:02 -04:00
Eric Fleming
c2e37b9019 Adding confirmEmail scaffolding
- Also updating the UrlHelpExtensions to not have a dependency on the AccountController
2019-06-21 21:39:52 -04:00
Eric Fleming
e19ade962a Removing unused UrlHelperExtension 2019-06-21 21:18:50 -04:00
Eric Fleming
3ec2477175 Updating to match previous logic 2019-06-20 20:52:46 -04:00
Eric Fleming
d5446de65f Adding scaffolding for Logout page
- Removing Identity route from startup
2019-06-20 20:41:00 -04:00
Eric Fleming
fde9a7c439 Removing BasketItemRepository and updating tests 2019-06-15 17:07:22 -04:00
Eric Fleming
cfe80aa956 Adding BasketId to model to ensure cascading deletes will clean up BasketItems 2019-06-15 17:03:17 -04:00
Bohdan Stupak
7e7c60eac4 Fixing indentation 2019-06-13 22:11:33 +03:00
Bohdan Stupak
772a65b3b3 Removing blocking calls in main 2019-06-13 22:04:29 +03:00
Eric Fleming
8924df0e1b Adding migration for updating defaults 2019-05-31 21:48:25 -04:00
Eric Fleming
9ba78f5187 Setting attributees to required
- This is because they currently do not allow nulls and we don't want to lose that
2019-05-31 21:47:17 -04:00
Eric Fleming
aaac128e7d Updating the default data types of some decimal values to fix errors 2019-05-31 21:41:40 -04:00
Eric Fleming
e87f11b0e1 Merge pull request #256 from dotnet-architecture/adjusting-styles-on-order-details
Adjusting styles on order details
2019-05-28 21:40:43 -04:00
Eric Fleming
3a9d8d0698 Removing font-size adjustment on wrong element 2019-05-28 21:38:39 -04:00
Eric Fleming
804d924988 Updating styles for Order details 2019-05-28 21:36:44 -04:00