Possible to manually render UI without MVC dependency?
See original GitHub issueI am using MiniProfiler in an ASP.NET WebAPI service host (that will soon transition to ASP.NET Core). The application using it is is developed separately using JS. I am currently using RenderPlainText
to provide information back from an end-point, but it does not render everything i would like (SQL not expanded as far as i can see ). I could of course just write some custom code to print what i like, but it seems silly when there is an actual UI available.
I noticed that there are methods like RenderIncludes
so i was wondering if there would happen to be a nice way to generate the necessary HTML statically or similar?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Bundling and minification without ASP.NET MVC
It is absolutely possible to use the bundling and minification in a blank project. Use Nuget to install the package: Install-PackageĀ ...
Read more >ASP.NET Core Razor component rendering
Learn about Razor component rendering in ASP.NET Core Blazor apps, including when to manually trigger a component to render.
Read more >Don't replace your View Components with Razor ...
In this post I take a brief look at Razor Components, and whether you should consider using their static render mode instead of...
Read more >Back to Basics: Rendering Razor Views to String in ASP.NET ...
The rendering method takes a view path, model and a controller context to retrieve the view using the active RazorViewEngine of the application....
Read more >Getting Started | Serving Web Content with Spring MVC
Learn how to create a web page with Spring MVC and Thymeleaf. ... Click Dependencies and select Spring Web, Thymeleaf, and Spring Boot...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Iād like to š this too.
We have a SPA frontend calling an ASP.NET API backend which uses MiniProfiler. And Iād like to expose the profiler results in the UI. Iād love for there to be a āMiniProfiler.(JS Framework)ā package I could install into my frontend to surface those results. Or at least some sort of direction/documentation of how to add the appropriate JS includes/scripts, to then expose the UI/data appropriately.
I just ran into this. I found this stack overflow post https://stackoverflow.com/questions/53321634/unable-to-print-query-using-miniprofiler and use this code
It got me what I needed and can obviously be improved upon for your needs.