Prima bozza visualizzatore reports
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
using DevExpress.Blazor.Reporting;
|
||||
using Lux.Report.Data;
|
||||
using Lux.Report.Data.Reports;
|
||||
using Lux.Report.Data.Repository;
|
||||
using Lux.Report.Data.Services;
|
||||
using Lux.Report.Server.Components;
|
||||
using Microsoft.AspNetCore.Localization;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.FileProviders;
|
||||
using NLog;
|
||||
using NLog.Targets;
|
||||
@@ -25,6 +31,17 @@ logger.Info($"Current ASPNETCORE_ENVIRONMENT: {env.EnvironmentName}");
|
||||
builder.Services.AddRazorComponents()
|
||||
.AddInteractiveServerComponents();
|
||||
|
||||
|
||||
// aggiungo servizi "interni"
|
||||
builder.Services.AddSingleton<IFileService, FileService>();
|
||||
|
||||
// aggiunta servizi DevExpress
|
||||
builder.Services.AddDevExpressServerSideBlazorReportViewer();
|
||||
|
||||
builder.Services.AddMvc();
|
||||
builder.Services.AddDevExpressBlazorReporting();
|
||||
|
||||
// build applicazione
|
||||
var app = builder.Build();
|
||||
|
||||
// aggiunt base URL x routing corretto
|
||||
|
||||
Reference in New Issue
Block a user