703 Commits

Author SHA1 Message Date
Cesar De la Torre
ac58c12862 Using [DataContract] and [DataMember] for the immutable Command.
De-serializes good, I see the data coming at the Controller and the CommandHandler level, bu I get an error at the end about: JsonSerializationException: Error converting value {null} to type 'System.Decimal'. Path '[1].total', line 1, position 176.
Gerard, can you take a look to that?
If it works with attibutes, let's do it. In parallel I/m opening an issue with the ASP.NET team.
2017-02-27 18:23:15 -08:00
dsanz
272781df41 Add filter logic for the catalog items 2017-02-27 19:44:30 +01:00
dsanz
f91c2bc0a6 Add catalog pictures. Set port to 5106. 2017-02-27 18:53:02 +01:00
etomas
67ab1159df Immutable commands - wip 2017-02-27 17:52:14 +01:00
dsanz
e8d576fb7a Add the catalog eshop css styles, views and a basic controller with autogenerated data 2017-02-27 15:52:38 +01:00
DESKTOP-V1VLQ15\dsanz
92784678cd Add new mvc core web application project for the monolithic development 2017-02-27 12:58:44 +01:00
etomas
b4162035f9 Merge branch 'vs2017' of https://github.com/dotnet/eShopOnContainers into vs2017 2017-02-27 10:35:42 +01:00
etomas
e66b6a2402 ArgumentNullException handling using throw expressions
Solves #64
2017-02-27 10:35:31 +01:00
Cesar De la Torre
bfe2139a09 Refactoring so we enforce to have a Repository only per Aggregate 2017-02-26 20:32:34 -08:00
Cesar De la Torre
87d41be255 Added comment on why you can use AddControllersAsServices() at the ConfigureServices() 2017-02-26 12:22:38 -08:00
Steve Smith
a1f4082ee3 Minor copy updates
Added rename TODO suggestion for CatalogSettings
2017-02-26 13:44:07 -05:00
Steve Smith
a0db135374 Minor copy updates 2017-02-26 13:03:46 -05: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
d5cd24a3b9 Fixed another bug related to the change of the SPA project name/path tp just WebSPA.dll at the dockerfile 2017-02-22 19:45:32 -08: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
etomas
dc8ae55c7a Renaming WebSpa
Fixes #51
2017-02-22 09:16:31 +01: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
b7d91a6e32 Folder to place the WebMonolithic app into 2017-02-17 13:22:51 -08:00
Cesar De la Torre
b9d35c8385 Merge branch 'vs2017' of https://github.com/dotnet/eShopOnContainers into vs2017 2017-02-17 12:51:02 -08:00
etomas
20523925e5 SPA now works succesfully.
Solves #47
2017-02-17 13:26:42 +01:00
Cesar De la Torre
439ec70edf Better way to include the images/pictures in the bits/image:
<None Update="Pics\*">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
2017-02-16 16:30:46 -08:00
Cesar De la Torre
bf6e696ccb Fix: Manual update to .CSPROJ file XML as VS 2017 was throwing an error when trying to go to the pics folder properties to include it in the output directoy. Added:
<None Update="Pics">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </None>

See possible related bug in VS 2017:
https://github.com/dotnet/roslyn-project-system/issues/1579
2017-02-16 13:22:42 -08:00
Cesar De la Torre
fafaf42c63 Minor change in Catalog.API 2017-02-16 12:37:09 -08:00
Cesar De la Torre
9ccf7f11ce Changes for CLI compatibility and New .PDF version 2017-02-16 12:31:53 -08:00
Cesar De la Torre
2576c695ad Raising number of Retries With Exponential Backoff so slower machines don't get a "maxNumber of retries reached" exception.. 2017-02-16 11:16:47 -08:00
Cesar De la Torre
68ad1895c6 Fixed bug https://github.com/dotnet/eShopOnContainers/issues/45
with Retry with Exponential Backoff
2017-02-15 23:12:37 -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
289d15b79a Removed unwanted style for solving #31 2017-02-10 16:08:10 +01: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
etomas
8522e4e288 webs updated to netcore1.1 2017-02-08 12:05:27 +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
etomas
d07b98468b Issue #9 - Do not hold the ASP.NET Core Configuration object as Singleton in the IoC container 2017-02-06 13:53:36 +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