expressappframework-devexpress-dot-expressapp-dot-fileattachments-dot-blazor.md
Contains options that you can use to configure the File Attachments Module.
Namespace : DevExpress.ExpressApp.FileAttachments.Blazor
Assembly : DevExpress.ExpressApp.FileAttachment.Blazor.v25.2.dll
NuGet Package : DevExpress.ExpressApp.FileAttachment.Blazor
public class FileAttachmentsOptions
Public Class FileAttachmentsOptions
The following example demonstrates how to access these settings:
File : MySolution.Blazor.Server\Startup.cs.
using DevExpress.ExpressApp.ApplicationBuilder;
using DevExpress.ExpressApp.Blazor.ApplicationBuilder;
using DevExpress.Persistent.BaseImpl;
// ...
public class Startup {
// ...
public void ConfigureServices(IServiceCollection services) {
// ...
services.AddXaf(Configuration, builder => {
builder.UseApplication<MySolutionBlazorApplication>();
builder.Modules
// ...
.AddFileAttachments(options => {
// ...
});
// ...
});
// ...
}
}
Object FileAttachmentsOptions
See Also