Skip to content

HtmlLogFormatter dependency on Razorlight beta #242

@mikaelliljedahl

Description

@mikaelliljedahl

If possible, I would prefer having the dependency on RazorLight removed or moved to a separate optinal Package (e.g. SimpleBrowser.HtmlLogging) since as I understand it, it is only used for the HtmlLogFormatter.

RazorLight in turn adds dependencies to a load of other MVC related possibly introducing a nuget version conflict inferno in the projects depending on SImpleBrowser. It is also, according to https://github.com/toddams/RazorLight , not ready for serverless operations (yet).

Another way is to imlement the core part rendering a partial view to a string according to this article instead of having the dependency on another library to do it:

https://www.mikesdotnetting.com/article/332/rendering-a-partial-to-a-string-in-razor-pages

I would still prefer it to be optional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions