-
Notifications
You must be signed in to change notification settings - Fork 9.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a simple built-in way to change the file extension used for .NET assemblies in Blazor WebAssembly apps #21489
Comments
From what I can see the rename from .dll to .bin must be done also in |
@guardrex @SteveSandersonMS Do you need to update the docs on this to account for this? |
The current doc does NOT address service-worker-assets.js; so if that's an issue, we'll need the doc to reflect it. After I hear back that it should be called out, I'll open an doc issue to address it. 👂 |
Yes, the same filename replacements would need to be made in the service worker assets manifest too. |
I wonder if there is a risk some AV scanners may inspect files looking for dll magic strings.?! So it would be nice if there were some way of obfuscating the files. Say by a simple XOR encryption with a random key that is included in the Thoughts? |
I believe this should get more love since dotnet/AspNetCore.Docs#18551 |
@smartprogrammer93 asked about guidance for compression. Today, we just say that it's up to the dev to deal with recompressing blazor.boot.json. Should I seek to expand the doc scripts to handle compression? I'd rather not if the framework is going to get something built in. I'm 🏃 on a lot of high priority work for the next few months. |
@javiercn I imagine your work to enable custom deployments - https://devblogs.microsoft.com/aspnet/custom-deployment-layout-for-blazor-webassembly-apps/ - tackles this issue. Do you think there's any additional work to be done here? |
@pranavkm yes. |
@pranavkm That'll teach you to ask more than one question. Loving the ambiguity :) |
We documented how you can script changing the file extension used for .NET assemblies in a Blazor WebAssembly app. But it would be nice to have a simple built-in way to do this.
Suggestion from @stavroskasidis:
The text was updated successfully, but these errors were encountered: