Adding dreamweaver .cshtml files to Razor Markup Engine
I’m working on a DreamWeaver site using DreamWeaver 2021. The server uses a Razor Markup Engine to render .cshtml as .html. The .cshtml files are in https://preprod.globaltrafficgroup.com/Views/Home. If I update an existing file, say https://preprod.globaltrafficgroup.com/Views/Home/PortableRed.cshtml, then the corresponding page, https://preprod.globaltrafficgroup.com/portable-red reflects the update. Yes, I see the name and path differences and I don’t know how that happens. Also, the shared files are generating menus and link lists using a @foreach (var navItem in Model.NavigationItems) function. If I duplicate PortableRed.cshtml, re-name it to Parking.cshtml, then make changes in DreamWeaver, and upload it to the server, it does not become available as https://preprod.globaltrafficgroup.com/production. I did find an invisible file, https://preprod.globaltrafficgroup.com/Views/_notes/dwsync.xml which lists all of the files in the menu plus the new Parking.cshtml, so while dwsync suggests that it synchronizes DreamWeaver with something, that doesn’t seem to be making the needed connection. Somewhere the Razor Markup Engine or the IIS Version 6.2 (Windows server 2012 R2) server is converting the View/Home documents into linked resources off the main site and making them avilable to the Model.NavigationItems fucntion, but I can’t figure out where. Any assistance would be greatly appreciated.
