Skip to content
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

TagHelper for Base64 URI data #20

Open
grahamehorner opened this issue Dec 1, 2017 · 3 comments
Open

TagHelper for Base64 URI data #20

grahamehorner opened this issue Dec 1, 2017 · 3 comments

Comments

@grahamehorner
Copy link

Please consider adding a TagHelper that is able to supply a Base64 encoded resource, the resource would be a small static resource that would be encoded once and then cached to improve performance.

@DamianEdwards
Copy link
Owner

I'm assuming this would need to be targeted at a set of known elements and attributes, correct? Do you have a starting list of what it should support and what you imagined the invocation would look like?

@grahamehorner
Copy link
Author

was initially thinking img tags inlining of image data from an embedded resource something like
this could also be handy for blazor client application where the images resource have been embedded in the .dll and therefore can be injected into the DOM as base64 tags eg. <img src=”data:image/png;base64,isgsdg...5CYII=”/>

@grahamehorner
Copy link
Author

BTW just have to say love the community stand up on live.asp.net and all the teams output but missing the dramatic zoom out :'( lolz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants