Skip to content

Commit 7bc1ba9

Browse files
Merge pull request #34581 from dotnet/main
Merge to Live
2 parents b3331cc + 01537d2 commit 7bc1ba9

File tree

7 files changed

+19
-8
lines changed

7 files changed

+19
-8
lines changed

aspnetcore/data/ef-mvc/advanced.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ For information on how to deploy a web app, see <xref:host-and-deploy/index>.
256256

257257
For information about other topics related to ASP.NET Core MVC, such as authentication and authorization, see <xref:index>.
258258

259+
[!INCLUDE[](~/includes/reliableWAP.md)]
260+
259261
## Next steps
260262

261263
In this tutorial, you:

aspnetcore/data/ef-rp/concurrency.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,8 @@ The browser shows the Index page with the changed value and updated `Concurrency
445445

446446
Delete the test department from the second tab. A concurrency error is display with the current values from the database. Clicking **Delete** deletes the entity, unless `ConcurrencyToken` has been updated.
447447

448+
[!INCLUDE[](~/includes/reliableWAP_H2.md)]
449+
448450
## Additional resources
449451

450452
* [Concurrency Tokens in EF Core](/ef/core/modeling/concurrency)
@@ -800,6 +802,8 @@ The browser shows the Index page with the changed value and updated rowVersion i
800802

801803
Delete the test department from the second tab. A concurrency error is display with the current values from the database. Clicking **Delete** deletes the entity, unless `RowVersion` has been updated.
802804

805+
[!INCLUDE[](~/includes/reliableWAP.md)]
806+
803807
## Additional resources
804808

805809
* [Concurrency Tokens in EF Core](/ef/core/modeling/concurrency)
@@ -1100,7 +1104,9 @@ Delete the test department from the second tab. A concurrency error is display w
11001104

11011105
See [Inheritance](xref:data/ef-mvc/inheritance) on how to inherit a data model.
11021106

1103-
### Additional resources
1107+
[!INCLUDE[](~/includes/reliableWAP_H2.md)]
1108+
1109+
## Additional resources
11041110

11051111
* [Concurrency Tokens in EF Core](/ef/core/modeling/concurrency)
11061112
* [Handle concurrency in EF Core](/ef/core/saving/concurrency)

aspnetcore/fundamentals/servers/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,8 @@ A `launchSettings.json` file provides configuration when launching an app with `
266266

267267
An HTTP/2 connection must use [Application-Layer Protocol Negotiation (ALPN)](https://tools.ietf.org/html/rfc7301#section-3) and TLS 1.2 or later. For more information, see the topics that pertain to your server deployment scenarios.
268268

269+
[!INCLUDE[](~/includes/reliableWAP_H2.md)]
270+
269271
## Additional resources
270272

271273
* <xref:fundamentals/servers/kestrel>

aspnetcore/includes/reliableWAP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
See *The Reliable Web App Pattern for.NET* [YouTube videos](https://www.youtube.com/watch?v=tU2kYzB3noM) and [article](/azure/architecture/reference-architectures/reliable-web-app/dotnet/pattern-overview) for guidance on creating a modern, reliable, performant, testable, cost-efficient, and scalable ASP.NET Core app, whether from scratch or refactoring an existing app.
1+
For guidance on creating a reliable, secure, performant, testable, and scalable ASP.NET Core app, see [Enterprise web app patterns](/azure/architecture/web-apps/guides/enterprise-app-patterns/overview). A complete production-quality sample web app that implements the patterns is available.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
## Reliable web app patterns
1+
## Enterprise web app patterns
22

33
[!INCLUDE[](~/includes/reliableWAP.md)]

aspnetcore/security/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ For information on other cloud providers, see:
8181
* [AWS (Amazon Web Services): AWS Key Management Service (KMS)](https://aws.amazon.com/kms/)
8282
* [Google Cloud Key Management Service overview](https://cloud.google.com/kms/docs/key-management-service)
8383

84+
[!INCLUDE[](~/includes/reliableWAP_H2.md)]
85+
8486
## Additional resources
8587

8688
* <xref:security/authentication/identity>

aspnetcore/tutorials/first-mvc-app/start-mvc/sample/MvcMovie90/Models/Movie.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,15 @@ public class Movie
117117
{
118118
public int Id { get; set; }
119119
[StringLength(60, MinimumLength = 3)]
120-
public string Title { get; set; }
120+
public string? Title { get; set; }
121121
[Display(Name = "Release Date"), DataType(DataType.Date)]
122122
public DateTime ReleaseDate { get; set; }
123123
[RegularExpression(@"^[A-Z]+[a-zA-Z\s]*$"), Required, StringLength(30)]
124-
public string Genre { get; set; }
125-
[Range(1, 100), DataType(DataType.Currency)]
126-
[Column(TypeName = "decimal(18, 2)")]
124+
public string? Genre { get; set; }
125+
[Range(1, 100), DataType(DataType.Currency), Column(TypeName = "decimal(18, 2)")]
127126
public decimal Price { get; set; }
128127
[RegularExpression(@"^[A-Z]+[a-zA-Z0-9""'\s-]*$"), StringLength(5)]
129-
public string Rating { get; set; }
128+
public string? Rating { get; set; }
130129
}
131130
// </snippet_AttrOneLine>
132131
#endif

0 commit comments

Comments
 (0)