BookExcelDownloadDto.cs:
public class BookExcelDownloadDto
{
public string DownloadToken { get; set; } = null!;
public string? FilterText { get; set; }
public string? Title { get; set; }
public DateTime? PublishDateMin { get; set; }
public DateTime? PublishDateMax { get; set; }
public bool? InInventory { get; set; }
public BookExcelDownloadDto()
{
}
}
Books.razor.cs:
public partial class Books
{
// OTHER PAGE CODE HERE
private async Task DownloadAsExcelAsync()
{
var token = (await BooksAppService.GetDownloadTokenAsync()).Token;
var remoteService = await RemoteServiceConfigurationProvider.GetConfigurationOrDefaultOrNullAsync("ExcelTest") ??
await RemoteServiceConfigurationProvider.GetConfigurationOrDefaultOrNullAsync("Default");
NavigationManager.NavigateTo($"{remoteService?.BaseUrl.EnsureEndsWith('/') ?? string.Empty}api/app/books/as-excel-file?DownloadToken={token}&FilterText={Filter.FilterText}", forceLoad: true);
}
// OTHER PAGE CODE HERE
}
Actual version
We are migrating from AspNetZero to Abp.io and we are developing a "monolithic" ERP type solution. We want to follow DDD approach and the solution will be developed with Abp.io Commercial : Blazore Web Assembly and EF on SQL Server. To simplify the deployment we would like to use the Blazore WASM Hosted configuration as reported https://community.abp.io/posts/blazor-webassembly-asp.net-core-hosted-zbjvgrc9 Being the article written for Abp.io 6 we wanted to know if we could have problems with .NET 7 and Abp.io 7 ? Will the Blazore WASM Hosted version always be supported by you and maybe integrated in the solutions managed by ABP CLI?
Thank you Roberto
test