-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Detach lab 1 src from CPM * Add lab 1 doc
- Loading branch information
1 parent
66ce1c9
commit d6debde
Showing
24 changed files
with
290 additions
and
21 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+124 KB
labs/1-Create-Catalog-API/img/catalog-api-swagger-ui-items-response.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+111 KB
labs/1-Create-Catalog-API/img/catalog.data.manager-logs-and-health.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+76.9 KB
labs/1-Create-Catalog-API/img/dashboard-catalogdb-connectionstring.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
labs/2-Create-Blazor-Frontend/src/Catalog.API/Model/PaginatedItems.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
namespace eShop.Catalog.API.Model; | ||
|
||
public class PaginatedItems<TEntity>(int pageIndex, int pageSize, long count, IEnumerable<TEntity> data) where TEntity : class | ||
public class PaginatedItems<TItem>(int pageIndex, int pageSize, long count, IEnumerable<TItem> data) where TItem : class | ||
{ | ||
public int PageIndex { get; } = pageIndex; | ||
|
||
public int PageSize { get; } = pageSize; | ||
|
||
public long Count { get; } = count; | ||
|
||
public IEnumerable<TEntity> Data { get;} = data; | ||
public IEnumerable<TItem> Data { get;} = data; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
namespace eShop.Catalog.API.Model; | ||
|
||
public class PaginatedItems<TEntity>(int pageIndex, int pageSize, long count, IEnumerable<TEntity> data) where TEntity : class | ||
public class PaginatedItems<TItem>(int pageIndex, int pageSize, long count, IEnumerable<TItem> data) where TItem : class | ||
{ | ||
public int PageIndex { get; } = pageIndex; | ||
|
||
public int PageSize { get; } = pageSize; | ||
|
||
public long Count { get; } = count; | ||
|
||
public IEnumerable<TEntity> Data { get;} = data; | ||
public IEnumerable<TItem> Data { get;} = data; | ||
} |
4 changes: 2 additions & 2 deletions
4
labs/4-Add-Shopping-Basket/src/Catalog.API/Model/PaginatedItems.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
namespace eShop.Catalog.API.Model; | ||
|
||
public class PaginatedItems<TEntity>(int pageIndex, int pageSize, long count, IEnumerable<TEntity> data) where TEntity : class | ||
public class PaginatedItems<TItem>(int pageIndex, int pageSize, long count, IEnumerable<TItem> data) where TItem : class | ||
{ | ||
public int PageIndex { get; } = pageIndex; | ||
|
||
public int PageSize { get; } = pageSize; | ||
|
||
public long Count { get; } = count; | ||
|
||
public IEnumerable<TEntity> Data { get;} = data; | ||
public IEnumerable<TItem> Data { get;} = data; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
namespace eShop.Catalog.API.Model; | ||
|
||
public class PaginatedItems<TEntity>(int pageIndex, int pageSize, long count, IEnumerable<TEntity> data) where TEntity : class | ||
public class PaginatedItems<TItem>(int pageIndex, int pageSize, long count, IEnumerable<TItem> data) where TItem : class | ||
{ | ||
public int PageIndex { get; } = pageIndex; | ||
|
||
public int PageSize { get; } = pageSize; | ||
|
||
public long Count { get; } = count; | ||
|
||
public IEnumerable<TEntity> Data { get;} = data; | ||
public IEnumerable<TItem> Data { get;} = data; | ||
} |
4 changes: 2 additions & 2 deletions
4
labs/6-Add-Resiliency/src/Catalog.API/Model/PaginatedItems.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
namespace eShop.Catalog.API.Model; | ||
|
||
public class PaginatedItems<TEntity>(int pageIndex, int pageSize, long count, IEnumerable<TEntity> data) where TEntity : class | ||
public class PaginatedItems<TItem>(int pageIndex, int pageSize, long count, IEnumerable<TItem> data) where TItem : class | ||
{ | ||
public int PageIndex { get; } = pageIndex; | ||
|
||
public int PageSize { get; } = pageSize; | ||
|
||
public long Count { get; } = count; | ||
|
||
public IEnumerable<TEntity> Data { get;} = data; | ||
public IEnumerable<TItem> Data { get;} = data; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
namespace eShop.Catalog.API.Model; | ||
|
||
public class PaginatedItems<TEntity>(int pageIndex, int pageSize, long count, IEnumerable<TEntity> data) where TEntity : class | ||
public class PaginatedItems<TItem>(int pageIndex, int pageSize, long count, IEnumerable<TItem> data) | ||
where TItem : class | ||
{ | ||
public int PageIndex { get; } = pageIndex; | ||
|
||
public int PageSize { get; } = pageSize; | ||
|
||
public long Count { get; } = count; | ||
|
||
public IEnumerable<TEntity> Data { get;} = data; | ||
public IEnumerable<TItem> Data { get; } = data; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters