.net core 6 blazor wasm hosted change route in client index.hml <script src="_framework/blazor.webassembly.js"></script>

70 views Asked by At

do you know how I can change the _framework directory,

for security? Why does this directory show security information?

I have one solution client server shared

I have 127.0.0.1/site/_framework/blazor.boot.json and show information private

enter image description here

Help me, please

1

There are 1 answers

0
Jason Pan On

In short, show the sensitive information about assembly and others is expected behavior.

From the design of Blazor WASM, this is unavoidable. This is the same as static files such as Javascript, confidential information should not be kept, but we can obfuscate it in a certain way. But I don't think it is necessary.

Regarding Blazor WASM usage recommendations and safety, this thread will inspire you.