Prima bozza visualizzatore reports

This commit is contained in:
Samuele Locatelli
2026-04-09 09:54:31 +02:00
parent 0723f607ab
commit 29b8b2982d
11 changed files with 225 additions and 28 deletions
+17
View File
@@ -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