locked
understanding compiled projects architecture for config files RRS feed

  • Question

  • User-973886032 posted

    hi guys

    based on this question https://forums.asp.net/t/2159439.aspx?Best+practices+updating+a+compiled+project

    where are config files compiled to, e.g. startup.cs , datacontext in my models folder and root files e.g. appsettings.json (I know the latter is in the root folder) but not sure about how to update the other config files

    I added google Oauth and the site crashed, so I copied all root files into the root remote folder, and that didnt fix the problem. Kindly advise

    Secondly, I iupdated my scaffolded razor pages in the area root folder, but for some funny reason. When I update just the project.view.dll files and project.dll file changes do not reflect

    thanks

    Thursday, September 12, 2019 11:36 AM

All replies

  • User-474980206 posted

    Are you doing the dotnet publish step to compile and produce the folder structure? To update a web site, you should publish to a file system. Then compare the hashcodes of the local files to the deployed files. Then update any changes.

    Thursday, September 12, 2019 2:15 PM