[]
Uses the embedded resources for report files and resources.
public void UseEmbeddedTemplates(string resourcePrefix, Assembly assembly)
Type | Name | Description |
---|---|---|
string | resourcePrefix | A string value indicating the prefix used to locate the embedded templates within the assembly. |
Assembly | assembly | An Assembly object containing the templates. |
app.UseReportViewer(config =>
{
config.UseEmbeddedTemplates("MyProject.Reports", Assembly.GetExecutingAssembly());
});