mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2025-12-06 05:32:03 +01:00
Update improvements.md
This commit is contained in:
parent
7f4e240d42
commit
56dbf8cbc7
|
|
@ -334,6 +334,8 @@ A **Razor Layout** file like `_MyCustomLayout.cshtml` is identical to a **Razor
|
|||
|
||||
> **Warning!** Be careful to use the correct file extension and directive at the top of the file or you will get unexpected behavior.
|
||||
|
||||
> **Convention**: The naming convention for special and shared Razor files like layouts and partial views is to prefix with an underscore `_`. For example, `_ViewStart.cshtml`, `_Layout.cshtml`, or `_Product.cshtml` (a partial view for rendering a product).
|
||||
|
||||

|
||||
|
||||
# Page 547 - Creating a class library for a Northwind database context
|
||||
|
|
|
|||
Loading…
Reference in a new issue