288 Commits

Author SHA1 Message Date
Charles Lowell
9448bdb20e Remove unused Less file 2017-02-28 15:01:57 -08:00
Charles Lowell
75d5c3695a Fix Identity.API and WebMVC publishing
- upgrade BundlerMinifier.Core dependencies (fixes a globbing bug)
- ensure minification includes all css
- only copy what's needed in production to the publish directory
2017-02-28 15:01:52 -08:00
Charles Lowell
7755f30618 Use relative paths & URLs 2017-02-28 14:54:22 -08:00
Charles Lowell
3df4f3a206 Configure service URLs via environment variables 2017-02-28 14:54:21 -08:00
Cesar De la Torre
a07bb18dca Added some comments about immutability Commands 2017-02-27 21:05:28 -08:00
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
etomas
67ab1159df Immutable commands - wip 2017-02-27 17:52:14 +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
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
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
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
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
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
etomas
8c6ee1003c Update to netcore1.1 2017-02-01 13:19:47 +01: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
PLAINCONCEPTS\ccanizares
b005118a29 merge identity rename project refactoring branch 2017-01-30 11:40:34 +01:00
PLAINCONCEPTS\ccanizares
c29b783d93 rename identity project 2017-01-30 11:35:16 +01:00
Unai Zorrilla Castro
80f223ec42 fix unsaved file on vs 2017-01-27 11:39:30 +01:00