Commit Graph

638 Commits

Author SHA1 Message Date
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
Eric Fleming
c370b8affb Add missing migration (#298) 2019-09-11 08:39:54 -04:00
Eric Fleming
1cc0e51d16 Merge pull request #296 from saschagottfried/clean-up-applicationcore
Remove references to "Microsoft.EntityFrameworkCore.*" in eShopOnWeb.ApplicationCore
2019-09-04 20:42: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
0cef7b583e Merge pull request #295 from dotnet-architecture/use-scaffolded-register-page
Use scaffolded register page
2019-08-28 20:35:01 -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
b53f21f585 Merge pull request #294 from dotnet-architecture/fixing-container-startup
Fixing container startup
2019-08-24 21:56:19 -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
954df47b4a Merge pull request #291 from dotnet-architecture/efconfiguration
Updated packages; Using configuration classes for EF Core.
2019-08-19 21:47:05 -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