Blazor disable _Hosts File for some pages

181 Views Asked by At

I created my first Blazor Server Application. I designed html sites to print invoices, reports etc. The problem is, if I print this pages, all theme and layouts are visible, that from Hosts file come.

To set the @layout=null or create EmptyLayout as described here don't solve my proplem, because it also don't disable _Hosts file

Is it possible to create a different Hosts file or disable it only for certain pages?

0

There are 0 best solutions below