Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Hi, with an experienced developer in ASPZERO / technical guy, what would you expect how long does an upgrade from version 10.2 to 11.0X will take? Hours, days, weeks? How big are the differences? Thanks
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Hi, How does "Security Test with OWASP & Helm Charts (Angular)" works - is there any documentation? Thanks!
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Hi, we have problem with SignalR on cutstomer live site - could we somehow disable signalR by tenant or for the whole application? Thanks
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
We try to integrate DevExpress Reporting into ASPZERO - but with no luck We folowed this guide https://docs.aspnetzero.com/en/aspnet-core-angular/latest/DevExpress-Reporting-Implementation-Angular
We get this error: We try it with test version for 30-Days of DevExpress Error: node_modules/devexpress-reporting-angular/dx-report-viewer/dx-report-viewer.component.d.ts:13:22 - error NG6002: Appears in the NgModule.imports of SampleReportModule, but could not be resolved to an NgModule class.
This likely means that the library (devexpress-reporting-angular) which declares DxReportViewerComponent has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
After npm start ; yarn.lock node_modules deleted and yarn made
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Hi, I published the public site from VS, but layout is destroyed - seems to be some CSS not coming along - how to fix that?
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
We try to do ELSA integration into MVC project - with your tutorial - but getting console errors failed to load - see attached photo. How to solve that? thanks
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
I try to download ElsaDemo example code, but with below link I get a 404 page not found error.
https://github.com/aspnetzero/aspnet-zero-samples/tree/master/ElsaDemo
What I'm doing wrong?
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Hi, nswag - refresh bat stopped working - with error node_modules\nswag\bin\nswag.js:66:11 ..
I do not any idea how to find out the real problem of the error - is there any deeper logging to see a real error meesage - what causes the problem?
C:\TFSASPZERO\src\WFMOne.Web.Host\nswag>"..\node_modules.bin\nswag" run NSwag NPM CLI NSwag command line tool for .NET Core NetCore21, toolchain v13.15.5.0 (NJsonSchema v10.6.6.0 (Newtonsoft.Json v11.0.0.0)) Visit http://NSwag.org for more information. NSwag bin directory: C:\TFSASPZERO\src\WFMOne.Web.Host\node_modules\nswag\bin\binaries\NetCore21
Executing file 'C:\TFSASPZERO\src\WFMOne.Web.Host\nswag\service.config.nswag' with variables ''... System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at CallSite.Target(Closure , CallSite , Object ) at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid1[T0](CallSite site, T0 arg0) at NJsonSchema.Infrastructure.DynamicApis.HttpGetAsync(String url, CancellationToken cancellationToken) at NSwag.OpenApiDocument.FromUrlAsync(String url, CancellationToken cancellationToken) in //src/NSwag.Core/OpenApiDocument.cs:line 234 at NSwag.Commands.Generation.FromDocumentCommand.RunAsync() in //src/NSwag.Commands/Commands/Generation/FromDocumentCommand.cs:line 62 at NSwag.Commands.Generation.FromDocumentCommand.RunAsync(CommandLineProcessor processor, IConsoleHost host) in //src/NSwag.Commands/Commands/Generation/FromDocumentCommand.cs:line 53 at NSwag.Commands.NSwagDocumentBase.GenerateSwaggerDocumentAsync() in //src/NSwag.Commands/NSwagDocumentBase.cs:line 280 at NSwag.Commands.NSwagDocument.ExecuteAsync() in //src/NSwag.Commands/NSwagDocument.cs:line 81 at NSwag.Commands.Document.ExecuteDocumentCommand.ExecuteDocumentAsync(IConsoleHost host, String filePath) in //src/NSwag.Commands/Commands/Document/ExecuteDocumentCommand.cs:line 85 at NSwag.Commands.Document.ExecuteDocumentCommand.RunAsync(CommandLineProcessor processor, IConsoleHost host) in //src/NSwag.Commands/Commands/Document/ExecuteDocumentCommand.cs:line 48 at NConsole.CommandLineProcessor.ProcessSingleAsync(String[] args, Object input) at NConsole.CommandLineProcessor.ProcessAsync(String[] args, Object input) at NSwag.Commands.NSwagCommandProcessor.ProcessAsync(String[] args) in //src/NSwag.Commands/NSwagCommandProcessor.cs:line 61child_process.js:669 throw err; ^
Error: Command failed: dotnet "C:\TFSASPZERO\src\WFMOne.Web.Host\node_modules\nswag\bin/binaries/NetCore21/dotnet-nswag.dll" run at checkExecSyncError (child_process.js:630:11) at Object.execSync (child_process.js:666:15) at C:\TFSASPZERO\src\WFMOne.Web.Host\node_modules\nswag\bin\nswag.js:66:11 at ChildProcess.exithandler (child_process.js:294:7) at ChildProcess.emit (events.js:315:20) at maybeClose (internal/child_process.js:1021:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) { status: 4294967295, signal: null, output: [ null, null, null ], pid: 55712, stdout: null, stderr: null }
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
I'm getting an error suddenly - it was all working. now today I'm getting:
Access to XMLHttpRequest at 'https://XXX/AbpUserConfiguration/GetAll?d=1640081097099' from origin 'https://https://XXX' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. dp1-webapi.pli-solutions.de/AbpUserConfiguration/GetAll?d=1640081097099:1 Failed to load resource: net::ERR_FAILED contentscript.bundle.js:85 successfully updated user preferred location DevTools failed to load source map: Could not load content for https://dp1.pli-solutions.de/assets/common/min-maps/vs/loader.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
I try to create user from backend with code automatically - and assign to default role.
Is this correkt like this?
Thanks for a hint - currently it seems not working. ( result = await _userManager.SetRolesAsync(user, role);)
//get Employee role value for existing & create new if not existing
IQueryable<Role> query = _roleManager.Roles;
Role roleExists = GetRole(query);
string roleName="";
if (roleExists != null)
{
try
{
roleName = query.ToList().FirstOrDefault(x => x.IsDefault == true).Name;
Logger.Info("roleName = query.ToList().FirstOrDefault(x => x.IsDefault == true).Name");
}
catch(Exception ex)
{
Logger.Error(ex.Message.ToString());
}
}
else
{
Role newRole = new Role(tenantId, "Employee") { IsDefault = false, Name = "Employee" };
CheckErrors(await _roleManager.CreateAsync(newRole));
await CurrentUnitOfWork.SaveChangesAsync();
roleExists = GetRole(query);
roleName = roleExists.Name;
Logger.Info("Role newRole = new Role(tenantId");
}
string[] role = new string[] { roleName };
result = await _userManager.SetRolesAsync(user, role);
Logger.Info("await _userManager.SetRolesAsync(user, role)");
if (!result.Succeeded)
{
throw new UserFriendlyException(L("UserRollNotAssigned"));
}