Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MVC layouts topic #1489

Merged
merged 1 commit into from
Jun 24, 2016
Merged

Update MVC layouts topic #1489

merged 1 commit into from
Jun 24, 2016

Conversation

Eilon
Copy link
Member

@Eilon Eilon commented Jun 24, 2016

No description provided.

@Eilon
Copy link
Member Author

Eilon commented Jun 24, 2016

Oops, build failed, will fix.

@Rick-Anderson
Copy link
Contributor

the local build doesn't validate API links, just internal doc/ref links. You can hover over the link in the browser to make sure the link is valid. @danroth27 is updating the API docs tonight. Until he merges that, you can't use new APIs.

@Rick-Anderson
Copy link
Contributor

@Eilon let me know if you'd like me to fix it.

@Eilon
Copy link
Member Author

Eilon commented Jun 24, 2016

@Rick-Anderson looks like I fixed it, so please review when you have a chance. Thanks!

@@ -82,25 +91,25 @@ A sample ``_ViewImports.cshtml`` file:
.. literalinclude:: /../common/samples/WebApplication1/src/WebApplication1/Views/_ViewImports.cshtml
:language: html

The ``_ViewImports.cshtml`` file for an ASP.NET Core MVC app is typically placed in the ``Views`` folder root. A ``_ViewImports.cshtml`` file can be placed within a controller-associated view folder, in which case it will only be applied to views within that folder. ``_ViewImports`` files are run first at the root level, and then for a ``_ViewImports`` file specified in the controller-associated folder, so settings specified at the root level may be overridden at the folder level.
The ``_ViewImports.cshtml`` file for an ASP.NET Core MVC app is typically placed in the ``Views`` folder. A ``_ViewImports.cshtml`` file can be placed within any folder, in which case it will only be applied to views within that folder or its subfolders. ``_ViewImports`` files are processed starting at the root level, and then for each folder leading up to the location of the view itself, so settings specified at the root level may be overridden at the folder level.
Copy link
Contributor

@Rick-Anderson Rick-Anderson Jun 24, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we say and its subfolders in lieu of or?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah sure.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@Rick-Anderson
Copy link
Contributor

Wow - really nice improvements. :shipit:

@Rick-Anderson Rick-Anderson merged commit cf3a12e into dev Jun 24, 2016
@Rick-Anderson Rick-Anderson deleted the eilon/layouts branch June 24, 2016 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants