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

.NET Console project spawning an Angular application #619

Open
simonsk90 opened this issue Aug 17, 2022 · 1 comment
Open

.NET Console project spawning an Angular application #619

simonsk90 opened this issue Aug 17, 2022 · 1 comment

Comments

@simonsk90
Copy link

I've gotten the MiniProfiler to work with a .NET web project, and rendering from Razor page. But I have no idea how to render the results from the console project, when not using razor, but instead Angular

@NickCraver
Copy link
Member

If you're in a console, you can log the results somewhere (e.g. one of the storage providers) or do something like MiniProfiler.Current.RenderPlainText() to get a string version. Or you can iterate through and print any specifics you'd want out to wherever you want. The HTML output in a webpage is the only thing MiniProfiler has opinions about - the rest is structured but ultimately up to the user since what people want varies so widely.

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

No branches or pull requests

2 participants