Commit Graph

775 Commits

Author SHA1 Message Date
Eric Fleming
8aa92f2635 Merge pull request #119 from Matthiee/master
Add extra max length and required constraints
2019-01-22 20:37:43 -05:00
Eric Fleming
6b12999df1 Merge branch 'master' into pr/119 2019-01-22 20:33:06 -05:00
Eric Fleming
9c65c4e3f7 Updates to existing PR
- updating City value to be 100 instead of 189. The longest city name in the world is 85 characters long, so making it 100 just in case.
- Fixed typo in file name: constrains to constraints
2019-01-22 20:28:56 -05:00
Steve Smith
2bf7f9f78b Fixing port mapping 2019-01-21 17:23:50 -05:00
Praveen Verma
2a6939ad02 Docker Build Failing: In dockerfile updated .net core version to 2.2 (#195)
Thanks!
2019-01-21 11:10:26 -05:00
Steve Smith
99c416142f Consolidate Web and WebRazorPages Projects (#192)
* Moved Privacy, Home page to Razor Pages

* Migrating Basket from RazorPages to Web.

* Removed BasketController; refactored viewmodels

* Moved BasketComponent into Pages/Shared
Added auth rules to Startup for Pages
Added notes to controllers about Pages usage.

* Fixed broken my orders test
Consolidated Functional Tests

* Fixed logo link to home page
Fixed Order Detail Total $ format
2019-01-18 13:29:00 -05:00
Steve Smith
483340f21e Adding API Health Check (#191) 2019-01-18 11:48:26 -05:00
Eric Fleming
e41e37ff05 Merge pull request #189 from dotnet-architecture/anonymous-signin
Anonymous signin
2019-01-17 22:34:46 -05:00
Eric Fleming
118f386c7c Applying some style updates
- Moving the total out of the foreach so it only displays once
- Making the total display proper number of Decimals
2019-01-17 20:33:00 -05:00
Eric Fleming
fa9b04f53d Moving Components directory in to Shared
- Based on the Microsoft documentation, they recommend you put the Components directory inside of Shared. https://docs.microsoft.com/en-us/aspnet/core/mvc/views/view-components?view=aspnetcore-2.2
2019-01-15 20:09:25 -05:00
Eric Fleming
007fb6a0af Display 2 decimal places for Total on Basket screen 2019-01-12 20:10:55 -05:00
Eric Fleming
2d6e9106a3 Setting Cookie to IsEssential to fix anonymous signin 2019-01-12 19:11:26 -05:00
Steve Smith
84f1eeee8c Added HealthCheck (#188)
Checks home page.
2019-01-11 13:27:15 -05:00
Steve Smith
c64c70b183 Add LinkGenerator to AllServices middleware (#187)
* Adding slugify parameter transform

Fixes #172

* Cleaning up code

And slugifying my orders

* Added links to allservices using LinkGenerator
2019-01-11 12:53:08 -05:00
Steve Smith
bc328077b0 Adding slugify parameter transform (#185)
* Adding slugify parameter transform

Fixes #172

* Cleaning up code

And slugifying my orders
2019-01-11 12:39:48 -05:00
BlackFrog1
8e748a4c62 change relative image source path (../) to use ~/ for webroot. (#184) 2019-01-11 09:48:09 -05:00
Eric Fleming
b123945a01 Merge pull request #183 from dotnet-architecture/display-total-once-in-cart
Move the "Total" div out of the for loop so it only appears once in t…
2019-01-05 15:21:48 -05:00
Eric Fleming
482a5dc515 Move the "Total" div out of the for loop so it only appears once in the cart 2019-01-05 15:21:11 -05:00
Eric Fleming
5d429ad093 Merge pull request #181 from dotnet-architecture/resolve-179/convert-to-list-before-deleting
Adding ToList to IReadOnlyCollection used in foreach
2019-01-02 21:09:39 -05:00
Eric Fleming
4444bd20a3 Adding ToList to IReadOnlyCollection used in foreach 2019-01-02 21:04:21 -05:00
Steve Smith
6c41a1bab9 Upgrade to 2.2 (#171)
* Initial Web2 project working

* Initial WebRazorPages project working

* Adding additional sln files

* Removing old project

* Fixed integration tests

* Getting FunctionalTests working.

* Got Swagger working in Web

* Moved web2 to web
2018-12-28 10:04:35 -08:00
Eric Fleming
eb02750841 Remove basket items when basket is deleted (#170)
* Proving out removing the basket items at the same time the basket is deleted

* Fixing existing unit tests

* Adding a unit test for the Deletebasket method

* Rename test and deleting basket items before basket

* Added integration test for DeleteAsync method for BasketItems

- Also added a BasketBuilder to create a Basket with no items, or one item.
2018-12-28 07:40:35 -08:00
Eric Fleming
95285593c9 Updating numbering of README 2018-12-15 14:15:41 -05:00
Eric Fleming
0d44a514ab Fix 147 include order id in details query (#169)
* Adding Id to query so the correct order details are always pulled back

* Removing unused usings

- also removed the sync method as it is not used anywhere in the solution. The Async should be the preferred one.

* Adding integration test for GetByIdWithItemAsync

* Rename test
2018-12-14 17:54:23 -08:00
Eric Fleming
c7c16c4265 Merge pull request #140 from hemantkd/Removing-unused-directives
Removed all the unused directives in the Solution with the assistance…
2018-12-14 19:54:06 -05:00
Eric Fleming
431ff513c3 Merge pull request #168 from ratanparai/patch-1
Consistency in setting up private variable field
2018-12-14 19:34:11 -05:00
Ratan Sunder Parai
c384623315 Consistency in setting up private variable field 2018-12-09 16:57:03 +06:00
Eric Fleming
69054b0002 Merge pull request #150 from beam-codegrind/fix-108
Fixed #108
2018-12-08 14:46:47 -05:00
Steve Smith
1fe6becfcc Reformatting 2018-11-27 10:13:43 -05:00
Steve Smith
9cca5553e2 Adding one more set of curly braces 2018-11-27 10:12:22 -05:00
Steve Smith
fe0471eea4 Adding curly braces for if statements 2018-11-27 10:11:41 -05:00
Hemant Kumar Dundigalla
218c832583 Merge branch 'master' into Removing-unused-directives 2018-11-19 16:32:04 +00:00
Fati Iseni
04530db118 Paging infrastructure implemented through specifications. (#151)
* Paging criterias added in BaseSpecification. New paginated specification added (CatalogFilterPaginatedSpecification) . EFRepository cleaned up and paging implementation added. Usage of the new paging infrastructure in CatalogService (Web and WebRazor).

* Use IReadOnlyList<T> instead of List<T> as return type from repositories.

* - Ordering possibility added in the specification.
- Evaluation of the specification placed in separate class.
2018-11-09 01:46:58 -05:00
beam
886615e740 fix issue #108 2018-10-18 01:25:46 +07:00
Jakub Ciechowski
156d5c6b25 changed name of IBasketService to IBasketViewModelService in order to match file name (#143) 2018-10-15 10:35:38 -05:00
Hemant Kumar Dundigalla
6299d5ccc7 Removed all the unused directives in the Solution with the assistance of Resharper 2018-10-06 23:21:15 +01:00
Rafsanul Hasan
1b5b179c7f Update ASP.NET Core Version to 2.10 to 2.1.3 (#126)
* Updated Web Applications' NuGet Packages:
- [x] Microsoft.AspNetCore.App 2.1.0->2.1.3
- [x] Microsoft.EntityFrameworkCore.Tools 2.1.0->2.1.2
- [x] Microsoft.VisualStudio.Web.CodeGeneration.Design 2.1.0->2.1.3

* Updated Infrastructure Library's BuGet Packages:
- [x] Microsoft.AspNetCore.Identity 2.1.0->2.1.3
- [x] Microsoft.AspNetCore.Identity.EntityFrameworkCore 2.1.0->2.1.3
- [x] Microsoft.EntityFrameworkCore.SqlServer 2.1.0->2.1.2
- [x] Microsoft.EntityFrameworkCore.Tools 2.1.0->2.1.2

* Updated Test projects' NuGetPackages:
- [x] Microsoft.AspNetCore.Mvc.Testing 2.1.0->2.1.2
- [x] Microsoft.NET.Test.Sdk 15.8.0-preview-20180510-03->15.8.0
- [x] Microsoft.AspNetCore.Mvc 2.1.0->2.1.3
2018-09-05 08:09:42 -04:00
Nish
7b24c9140d Updated .epub and .mobi files to 2.1 2018-08-31 00:34:48 +05:30
Steve Smith
95a2a6208f Removing bower artifacts 2018-08-29 13:44:28 -04:00
Matthias Beerens
77540caf29 Add max length and required constraints 2018-07-25 21:07:04 +02:00
Cesar De la Torre
8dcdd51b8c Update README.md 2018-07-09 11:41:27 -07:00
Cesar De la Torre
028ed3ec1e Update README.md 2018-07-09 11:01:01 -07:00
Cesar De la Torre Llorente
497d0bb307 New Arch-Web-Apps eBook version v2.1 updated to .NET Core 2.1 2018-07-09 10:53:01 -07:00
Steve Smith
005d83d802 Removing pageId from route
Fixes #104. The parameter should be passed as a querystring, not a route parameter.
2018-06-12 09:41:23 -04:00
Steve Smith
8bd20ef98b Fix OrderDetails to use Id, Customer
Fixes #106
2018-06-11 14:28:47 -04:00
Steve Smith
ad49bf1388 Adding docker instructions to README 2018-06-07 15:54:21 -04:00
Steve Smith
a94990e343 Merge remote-tracking branch 'origin/master' 2018-06-07 15:50:38 -04:00
Steve Smith
48ad346b3c Updating Dockerfiles
Adding instructions and cleaning up.
2018-06-07 15:50:32 -04:00
Steve Smith
faa41f9d89 Cleaning up real db configuration 2018-06-05 11:57:50 -04:00
Jeremy Hutchinson
74bc28e6bd Fixing the link to the main _Layout.cshtml in the Pages/Account/Manage/_Layout.cshtml (#103) 2018-06-05 08:53:21 -04:00