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