279 Commits

Author SHA1 Message Date
Cesar De la Torre
87d41be255 Added comment on why you can use AddControllersAsServices() at the ConfigureServices() 2017-02-26 12:22:38 -08:00
etomas
92daab8fae Unwanted files (now Dockerfiles are autogenerated) 2017-02-24 18:09:08 +01:00
etomas
79615664cf Dockerfiles for win and linux containers 2017-02-24 18:07:52 +01:00
etomas
5b97c7329b Infrastructure to support Dockerfiles for both Windows & Linux 2017-02-23 16:39:18 +01:00
etomas
6d72c7dda0 OrderStatus and CardTypes as Enumerations 2017-02-23 13:57:36 +01:00
Cesar De la Torre
34d73ced24 Merge branch 'vs2017' of https://github.com/dotnet/eShopOnContainers into vs2017 2017-02-22 08:58:51 -08:00
Eduard Tomàs
8d26113841 Merge pull request #50 from BillWagner/updates-for-bulding-on-macos
Updates for bulding on macos
2017-02-22 08:50:11 +01:00
etomas
6fdfe09b0a Solves #46 (by moving property configuration at the end of OnModelCreating) 2017-02-22 08:39:00 +01:00
Cesar De la Torre
7b9d14fe2a Minor refactoring in LogDecorator 2017-02-21 12:17:16 -08:00
Bill Wagner
bb5d48735d update build script for Mac
Until adding these, the project would not build correctly on a Mac.

script working for SPA

Add execute permissions to build-bits.sh on macOS

fix a rebase / automatic merge issue.

Somehow, the MVC image got in there twice.

update content nodes

Bug workaround for for the CLI. It turns out that the CLI does not
handle content nodes that have multiple paths. Instead, multiple nodes
are needed.

use the standard names for the web docker images.

fix a typo and update the csproj content listings.

Also, execute nom install as part of publishing  the spa application.
2017-02-21 14:04:35 -05:00
Cesar De la Torre
9ccf7f11ce Changes for CLI compatibility and New .PDF version 2017-02-16 12:31:53 -08:00
etomas
c7e362ac67 Docker files ready for the Visual Studio Docker Tools
Everything works as exepcted except SPA version which need further adjustments
2017-02-14 18:11:51 +01:00
etomas
af14d37378 Projects migrated to vs2017 csproj format 2017-02-14 16:23:26 +01:00
etomas
7521e7434d Fixing a nullreference exception
Also util files to start only "external containers"
2017-02-14 16:17:30 +01:00
etomas
decb87e0c6 Merge branch 'migration/net11'
# Conflicts:
#	docs/architecting-and-developing-containerized-and-microservice-based-net-applications-ebook-early-draft.pdf
#	src/Services/Ordering/Ordering.API/Startup.cs
2017-02-14 16:16:42 +01:00
CESARDL
46534d5688 Minor refactoring 2017-02-13 14:03:21 -08:00
etomas
5771f6ddd3 Solves error on order detail. Related to #4 2017-02-10 12:42:57 +01:00
unai
b60ac953d8 Solve issue with latest commit commenting code 2017-02-09 19:33:15 +01:00
unai
e991060a51 Set adddress as value object with workaround about Id and Hashkey 2017-02-08 19:26:05 +01:00
CESARDL
8325ddbd30 Refactored: From Buyer.FullName to Buyer.IdentityGuid.
Also similar changes at the CreateOrderCommand
Plus an update to the README.md for GitHub
2017-02-07 23:03:35 -08:00
CESARDL
9f80be5ed9 Added DDD comments about the CreateOrderCommandHandler 2017-02-07 16:59:09 -08:00
etomas
15f2cc7da1 Removing pending Configuration registration as Singleton.
Solving #9
2017-02-07 09:35:21 +01:00
unai
0a18af14dc Added ValueObject abstract class. Set NoTracking on CatalogItems 2017-02-06 12:51:56 +01:00
CESARDL
963de048ef Refactoring: Using List<>.AsReadOnly() instead of HashSet<>.ToList() that is more expensive. Related to issues: https://github.com/dotnet/eShopOnContainers/issues/29 and 2017-02-02 17:30:15 -08:00
CESARDL
be02c92d90 Missing file rename 2017-02-02 16:11:31 -08:00
CESARDL
795c786625 Renamed IRepository to IAggregateRepository 2017-02-02 16:10:06 -08:00
CESARDL
4708b89457 Partial refactoring about Order and OrderItems.
Set the fields to explicit private
Using .ToReadOnly(), but still might need to use List<> instead HashSet<> so we won't need the .ToList() conversion which is "expensive"..
2017-02-02 13:34:44 -08:00
CESARDL
bf5af56d32 Setting ServiceLifetime.Scoped to OrderingContext so it is explicit instead of implicit (by default). 2017-02-01 18:56:28 -08:00
CESARDELATORRE
d134dd4dd5 Taken from Remote 2017-02-01 12:04:26 -08:00
PLAINCONCEPTS\ccanizares
1c1f7571e6 - Some minor refactoring (renaming) and make work web clients applications that were 'broken' after refactoring dtos in ordering service in this branch.
- Update dockerfile to asp.net 1.1 in ordering
2017-01-30 15:46:43 +01:00
Unai Zorrilla Castro
80f223ec42 fix unsaved file on vs 2017-01-27 11:39:30 +01:00
Unai Zorrilla Castro
607d1ca2fa Fix query with new model. Add missing properties into migration. Work on github issues 2017-01-27 11:38:23 +01:00
CESARDELATORRE
7ae197da32 Interesting comments about DI and DbContext lifetime scope 2017-01-26 16:23:49 -08:00
CESARDELATORRE
fa6a273a33 Minor refactoring and Unit Test fix 2017-01-26 15:08:51 -08:00
Unai Zorrilla Castro
9d2d152c2d Improve ordering int order to solve feedback 2017-01-25 17:10:08 +01:00
CESARDELATORRE
4670a6da89 Refactoring: Moved RepositoryContracts/Interfaces each one to its related Aggregate's folder, so it is clear the "relationship" between Aggregate-Root and Repository Contract/Interface 2017-01-23 09:30:19 -08:00
CESARDELATORRE
42501a5a0b Minor refactoring and docs updates 2017-01-19 19:51:28 -08:00
CESARDELATORRE
2babf6e4fe Added field "Alias" to PaymentMethod and created EF migration for that
Refactoring related to OrderCommand (instead NewOrderCommand)
Refactoring in Buyer.IdentityGuid instead of fullname variables..
2017-01-18 16:51:44 -08:00
CESARDELATORRE
57ae6ab3be Refactoring in Ordering Domain Model so it shows a clear AggregateModel and clusters of entities as Aggregates.
Also, showing Repository Interfaces as RepositoryContracts.
2017-01-17 18:32:40 -08:00
CESARDELATORRE
d09bffd294 Added Comments TO DO: 2017-01-12 17:09:23 -08:00
PLAINCONCEPTS\ccanizares
2e84154e37 SPA: override with compose settings (environment variables) configuration in spa angular settings service. 2017-01-10 11:37:36 +01:00
Carlos Cañizares Estévez
00d8538976 . 2017-01-04 13:57:58 +01:00
Unai Zorrilla Castro
3c277a49de Modify AsyncRequestNames, include UnitTest project, remove unused application ordering layer 2016-12-29 11:04:55 +01:00
Unai Zorrilla Castro
099cd1b350 Modify AsyncRequestNames, include UnitTest project, remove unused application ordering layer 2016-12-29 11:03:03 +01:00
Carlos Cañizares Estévez
ac146f4475 Added Unit Test Project for services 2016-12-22 13:20:12 +01:00
Carlos Cañizares Estévez
d8a0d9bb66 BasketApi: Add authorizationHeader (pass bearer from Swagger Ui to authorize request...).
MVC: Solve some design feedback (filter selector in catalog)

CatalogApi: Move models from infrastructure to Model folder.
2016-12-21 11:30:11 +01:00
Carlos Cañizares Estévez
0e7e4e41d7 MVC: Solve feedback, improve validations
Identity: Solve Microsoft Edge problem
Ordering: Remove application tier
2016-12-20 12:22:28 +01:00
Carlos Cañizares Estévez
e4d3c66d27 Logout fix for Xamarin in identity 2016-12-19 17:55:48 +01:00
Carlos Cañizares Estévez
10f3e17b55 Add Swagger to Basket Api
SQL databases with the same prefix for services
Move application tier to api tier in ordering api
2016-12-19 10:20:02 +01:00
Carlos Cañizares Estévez
31753fc057 MVC: Finish Orders integration (detail), validations, some refactor ...
Orders: Detail Query, new field in OrderDetail..
Identity: Validations in Register View, ensure all claims are returned in user end point..
2016-12-17 14:41:16 +01:00