We are planning to upgrade our current implementation (Blazor UI) using ABP Framework v5.3 to a commercial license.
How to add below required commercial features into existing implementation:
Ours is an tiered application with Blazor Web Assembly as UI framework. • ABP Framework version: v5.3 • UI type: / Blazor Web Assembly • DB provider: EF Core • Tiered : Yes • Identity Server Separated : yes
Please share exisiting project upgrade steps to commercial license
We are using ABP framework with EF and Blazor Web Assembly for implementation. Currently the visual studio solution consists of five module projects and the performance of the blazor web application is slow. We tried to implement lazy loading for one of the modules using the below reference but getting below exception during runtime. Please help in resolving the issue.
Lazy loading reference: https://code-maze.com/lazy-loading-in-blazor-webassembly/
Ours is a tiered application with Blazor Web Assembly as a UI framework. • ABP Framework version: v5.3 • UI type: / Blazor Web Assembly • DB provider: EF Core • Tiered (MVC) : Yes • Identity Server Separated : yes • Exception message and stack trace: browser runtime console exception screenshot attached
Please share how to implement lazy loading modules/assemblies using ABP framework
Update: We also tried below comment solution but it didnt work https://github.com/abpframework/abp/issues/5543#issuecomment-1057630494
Please share sample code for using SQL Server DB stored procedure accepting input params and returning multiple rows with Entity Framework COre.
Ours is a tiered application with Blazor Web Assembly as a UI framework with Entity Framework and SQL Server. • ABP Framework version: v5.3 • UI type: / Blazor Web Assembly • DB provider: EF Core • Tiered (MVC) : Yes • Identity Server Separated : yes
We have large data in two entities - Department (600k) and DepartmentTypes (25K) and below application service method is causing performance issue. Any alternate entity supported approaches to resolve the performance issue?
Ours is a tiered application with Blazor Web Assembly as a UI framework with Entity Framework and SQL Server. • ABP Framework version: v5.3 • UI type: / Blazor Web Assembly • DB provider: EF Core • Tiered (MVC) : Yes • Identity Server Separated : yes
Reference code:
public async Task<..> GetDepartmentsWithTypeAsync()
{
var Departments = await _DepartmentRepository.GetQueryableAsync();
var DepartmentTypes = await _DepartmentTypeRepository.GetQueryableAsync();
var query = from p in Departments
join pl in DepartmentTypes on p.Id equals pl.DepartmentId
into joinGroup
from jr in joinGroup.DefaultIfEmpty()
orderby p.Id
select new
{
...
};
var DepartmentDto = (from result in query
select new Department()
{
...
}).ToList();
return DepartmentDto;
}
We are planning to upgrade to commercial license and use audit logging feature in our project. Currently we have implemented entities CRUD operations using custom repositories (DB stored procedures).
Questions:
Ours is a tiered application with Blazor Web Assembly as a UI framework with Entity Framework and SQL Server. • ABP Framework version: v5.3 • UI type: / Blazor Web Assembly • DB provider: EF Core • Tiered (MVC) : Yes • Identity Server Separated : yes
We are using ABP framework with EF and Blazor Web Assembly for implementation. I am not able to create Roles and Users to implement permissions on URL, Page ,Menu items and API. I verified in the logs and it is saying like "Savepoints are disabled because Multiple Active Result Sets (MARS) is enabled". We tried to modify connection string with MultipleActiveResultSets=false , even not able to create Roles and Users. Can you pls. help me in resolving the issue.
Ours is a tiered application with Blazor Web Assembly as a UI framework with Entity Framework and SQL Server. • ABP Framework version: v5.3 • UI type: / Blazor Web Assembly • DB provider: EF Core • Tiered (MVC) : Yes • Identity Server Separated : yes • Exception in log file: Savepoints are disabled because Multiple Active Result Sets (MARS) is enabled. If 'SaveChanges' fails, then the transaction cannot be automatically rolled back to a known clean state. Instead, the transaction should be rolled back by the application before retrying 'SaveChanges'. See https://go.microsoft.com/fwlink/?linkid=2149338 for more information. To identify the code which triggers this warning, call 'ConfigureWarnings(w => w.Throw(SqlServerEventId.SavepointsDisabledBecauseOfMARS))'
We are currently manually merging code from ABP non commercial version blazor webassembly solution to ABP commercial version blazor server side solution and facing an configuration issue setting up AuthServer and API as "https://" secure sites in Azure WebApp Service.
The Authserver server was deployed in Azure WebApp service and configured wth certificates as described in below link https://brianmeeker.me/2022/08/29/setting-up-abp-with-openiddict-on-azure-app-services/
The Authserver and API site are not loading in browser with "https://" secure urls
ABP Framework version: v7.2.2 UI type: Blazor Server Side DB provider: EF Core Tiered (MVC): yes Exception message: The Authserver and API sites are not loading in browser with "https://" secure urls
We are setting up ABP commercial projects using Azure WebApps and facing login issue. On click of login button getting below error message: [400] Error! An internal error occurred during your request!
ABP Framework version: v7.2.2 UI type: Blazor Server Side DB provider: EF Core Tiered (MVC): yes Exception message: [400] Error! An internal error occurred during your request! Steps to reproduce the issue: In browser open blazor web URL, page loads and clicking on "Login" link above 400 error message is displayed.
We are currently merging code from ABP non commercial version blazor webassembly solution to ABP commercial version blazor server side solution and facing issues with post api methods where we are using "StateHasChanged();"
Browser console Exception: The current thread is not associated with the Dispatcher. Use InvokeAsync() to switch execution to the Dispatcher when triggering rendering or component state.
We tried below microsoft solution but didnt work _ = InvokeAsync(() => { currentCount++; StateHasChanged(); }); https://learn.microsoft.com/en-us/aspnet/core/blazor/components/rendering?view=aspnetcore-7.0
ABP Framework version: v7.2.2 UI type: Blazor Server Side DB provider: EF Core Tiered (MVC): yes Exception message: Browser console Exception: The current thread is not associated with the Dispatcher. Use InvokeAsync() to switch execution to the Dispatcher when triggering rendering or component state