NetEscapades.AspNetCore.SecurityHeaders icon indicating copy to clipboard operation
NetEscapades.AspNetCore.SecurityHeaders copied to clipboard

Can't be used in WASM applications.

Open JDFoundever opened this issue 9 months ago • 1 comments

I need this for client side (WASM) applications. Is there any way to do this?

JDFoundever avatar Mar 06 '25 20:03 JDFoundever

It really depends what you mean. This is middleware for an ASP.NET Core server application. If you're using an ASP.NET Core app to serve your WASM application, then it can be used as normal. Otherwise, it can't be used directly, and you'll need to configure the host/server in whatever way they provide

andrewlock avatar Mar 09 '25 19:03 andrewlock

I'm going to close this for now, as I'm not sure exactly what the ask is. Feel free to re-open with more details if you need to.

andrewlock avatar Mar 30 '25 18:03 andrewlock