-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Rename _GlobalImport.cshtml to _ViewImports.cshtml #2489
Comments
👍 |
Yep, I'd +1 that suggestion |
@dougbu Please post to the Announcements repo when done. |
@danroth27 are we going with |
Sounds reasonable to me. |
Does "import" refer to importing it into each view file? I initially thought that the Does GlobalImport do something that ViewStart doesn't? I forgot why there are two files, since they both contain "CS HTML" (Razor code). By the way, would it be difficult to allow these files to be renamed by the developer? (I've never been a fan of the underscore prefixes) |
Updated title since this is no longer a question |
- rename _GlobalImport.cshtml file to _ViewImports.cshtml
Because it's not really global -- it's relative in the same way _ViewStart is.
The text was updated successfully, but these errors were encountered: