Display base64 img on Razor page
Hello,
Im trying to display a base 64 image on a razor page.
Pagemodel:
Page:
The image is not showing and im woundering if this is the correct way of thinking or should i change it from void to something that reloads the page?
Thanks in advance! 🙂
Thanks in advance! 🙂
6 Replies
this will do nothing
Angius#1586
REPL Result: Success
Result: string
Compile: 498.852ms | Execution: 27.613ms | React with ❌ to remove this embed.
As you can see
You seem to be trying to use string interpolation and string format at once, but also failing to use either
Angius#1586
REPL Result: Success
Result: <>f__AnonymousType0#1<string, string>
Compile: 502.614ms | Execution: 68.779ms | React with ❌ to remove this embed.
Use one or the other (preferably interpolation)
And, what matters the most, use them correctly
Okey ill try it out, thank you guys! 🙂