Skip to content

Commit

Permalink
Add entry to the expanded Endpoint metadata sample
Browse files Browse the repository at this point in the history
  • Loading branch information
dodyg committed May 24, 2019
1 parent 69ded79 commit 9ff39c3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 241 samples for ASP.NET Core 2.1, 2.2 and 3.0-preview-5 fundamentals (updated almost daily - except during Summer)
# 242 samples for ASP.NET Core 2.1, 2.2 and 3.0-preview-5 fundamentals (updated almost daily - except during Summer)

If you are studying ASP.NET Core, I am lurking on this **[Gitter Channel](https://gitter.im/DotNetStudyGroup/aspnetcore)**.

Expand All @@ -17,7 +17,7 @@ ASP.NET Core API Browser is also very [handy](https://docs.microsoft.com/en-us/d

| Section | No. of Samples | .NET Core SDK Version |
| ------- | ------- | ------- |
| [ASP.NET Core 3.0](/projects/3-0) | 14 | 3.0-preview-5 |
| [ASP.NET Core 3.0](/projects/3-0) | 15 | 3.0-preview-5 |
| [Blazor Server Side](/projects/blazor-ss) | 5 | 3.0-preview-5 |
| [Blazor Client Side (Web Assembly)](/projects/blazor/README.md) | 12 | 3.0-preview-5 |
| [ASP.NET Core MVC](/projects/mvc/README.md) | 43 | 2.1 |
Expand Down
8 changes: 6 additions & 2 deletions projects/3-0/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# .NET Core 3.0 Preview 5 (14)
# .NET Core 3.0 Preview 5 (15)

All the samples here rely on ASP.NET Core 3.0 Preview 5. Make sure you download the SDK [here](https://dotnet.microsoft.com/download/dotnet-core/3.0).

Expand Down Expand Up @@ -105,4 +105,8 @@ The official migration guide from 2.2 to 3.0 is [here](https://docs.microsoft.co
* [New Routing - How to obtain metadata in an Endpoint from a Razor page](/projects/3-0/new-routing-11)
Use the brand new `EndPoint.Metadata.GetMetadata<>()` to get values from attributes at your Razor Page.
Use the brand new `EndPoint.Metadata.GetMetadata<>()` to get values from attributes at your Razor Page.
* [New Routing - Obtaining an Endpoint metadata from your Razor Page depending on the request method](/projects/3-0/new-routing-12)
Unlike in MVC, you can't use `Attribute` from the method of a Razor Page. You can only use it from the Model class. This makes getting obtaining the appropriate metadata for each request require an extra step.

0 comments on commit 9ff39c3

Please sign in to comment.