Skip to content

Allow to use inline tag helpers without physical provider#384

Open
snipervld wants to merge 2 commits into
ligershark:masterfrom
snipervld:fix/physicalless-inline-taghelpers
Open

Allow to use inline tag helpers without physical provider#384
snipervld wants to merge 2 commits into
ligershark:masterfrom
snipervld:fix/physicalless-inline-taghelpers

Conversation

@snipervld

Copy link
Copy Markdown

I found out that inline tag helpers rely on physical paths. IFileInfo can return the read stream, so no need to use the regular file stream instead of CreateReadStream.

They will work with other providers, e.g. ManifestEmbeddedFileProvider.

@snipervld

snipervld commented Jun 12, 2026

Copy link
Copy Markdown
Author

For now, I've copied MockFileProvider from #326. I can rebase the branch if #326 is merged (less changes in File changed).

@snipervld snipervld force-pushed the fix/physicalless-inline-taghelpers branch from d0aad67 to 3dd5376 Compare June 12, 2026 10:42
snipervld added a commit to snipervld/WebOptimizer that referenced this pull request Jun 12, 2026
@snipervld snipervld force-pushed the fix/physicalless-inline-taghelpers branch from 626b5df to 2c261d2 Compare June 14, 2026 15:26
@snipervld

Copy link
Copy Markdown
Author

In the latest force-pushed commit I've made the same changes, which were made in #326 (used VerifyAll instead of manual verifies).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant