Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.1k views
in Technique[技术] by (71.8m points)

blazor server app upload to ftp question to hide dll files from public webspace

I have a blazor server side app which works fine, when I publish this project from visual studio, I use these options

blazor config for publish

Which gives me the files as so

files after publish

So I have a blank folder on my ftp, which my website points to and I upload the files as are and I end up with the following

file system

and inside the www folder

inside

So at this point if I go to my website, it all works

However it seems all the dll's files on in the public space on the website, which i believe could be a security issue, I have tried moving the files back a folder, so that only the wwwroot folder is the only files in the public web space and the rest are back one folder, but then the website does not run

Do anyone know how I should be placing these files please, I did try the non self contained option, however I can not get that to work at all

Thank You


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...