RazorSlices icon indicating copy to clipboard operation
RazorSlices copied to clipboard

Lightweight Razor-based templates for ASP.NET Core without MVC, Razor Pages, or Blazor.

Results 28 RazorSlices issues
Sort by recently updated
recently updated
newest added

Hello, I have a question from the docs: `Each .cshtml file will have a proxy type generated for it by the Razor Slices source generator that you can use as...

In line with the "interesting to explore" section, have you considered adding an option to minify the html output passed to the razor engine? Basically add the "trim insignificant whitespace"...

enhancement

I was interested in using this for my own htmx project and noticed you had an issue outstanding for adding a sample (#47) This implementation renders the entire Todo table...

I've been using the library to get the HTML. I'd pass the path to the slice and a model to a method and return the HTML (for the body of...

it's rider ![image](https://github.com/DamianEdwards/RazorSlices/assets/81772795/dd8d020b-4e64-44d6-a9be-fcdd0fd0d411) but if open in vscode ![image](https://github.com/DamianEdwards/RazorSlices/assets/81772795/c7d23363-8c48-4e11-86b7-58c1068920b9) but if with open vscode in parallel it work fine or if reopen rider ![image](https://github.com/DamianEdwards/RazorSlices/assets/81772795/d148f2eb-8c88-4a56-b55d-11d13fa69c16)

Do the needful. Docs: https://learn.microsoft.com/dotnet/api/system.reflection.metadata.metadataupdatehandlerattribute

enhancement

I have an app that has a separate service library that I need to generate some html. I have the nuget package installed into the project, with the /Slices directory...

enhancement

It's time. Too easy to regress stuff now. Thinking as a start I'll use `WebApplicationFactory` to test all the endpoints in the sample app. This will be in-process and thus...

I updated a test app with the latest version. The first thing I found was I had to change the way rendering to a string was done. I have a...

I'd like to add a sample Todos app that uses HTMX.