Hi there,
We now have a couple of finished AspnetZero applications, and we started using some of their api's like login and other methods. However, the same nswag problem starts occurring: nswag generated unwrapped results.
In my opinion, you can pass such a lambda function:
Configuration.Modules.AbpAspNetCore().DefaultWrapResultAttribute.WrapOnSuccessFunc = (request) => request.Headers["x-dontwrap"] != null;
So that we can configure it per httprequest?
What we do is now create an overload for unwrapped version and use [DontWrap] Attribute, which is very weird.
Hello,
For Angular project, Consider I have a relation for ProductType entity, which is being referenced by multiple entities. RAD Tool generates same lookup views/typescript files with same names. This causes runtime errors saying that lookup modal cannot be found.
My expectation from the tool was; generate all lookup views to a shared/lookups folder, which would be used like UserControls, instead of generating the same code for every entity. This would both clear the error and reduce the project complexity. In this case, if I need any change on a lookup table, I would create a specific copy for an entity.
Could you investigate and at least, provide an option to do such generation?
Thanks.
Example build log for costCenter lookup, which already exists more than once in our project.
[09:14:15]
[09:14:15]ERROR in : Cannot determine the module for class CostCenterLookupTableModalComponent in C:/BuildAgent3/work/7f7ed20eb034bcff/src/app/main/service/calculationOpexDistributions/costCenter-lookup-table-modal.component.ts! Add CostCenterLookupTableModalComponent to the NgModule to fix it.
[09:14:15]Cannot determine the module for class FinancialItemLookupTableModalComponent in C:/BuildAgent3/work/7f7ed20eb034bcff/src/app/main/service/calculationOpexDistributions/financialItem-lookup-table-modal.component.ts! Add FinancialItemLookupTableModalComponent to the NgModule to fix it.
[09:14:15]
[09:14:15]npm ERR! code ELIFECYCLE
[09:14:15]npm ERR! errno 1
[09:14:15]npm ERR! [email protected] publish: node --max_old_space_size=8192 "./node_modules/@angular/cli/bin/ng" build --prod
[09:14:15]npm ERR! Exit status 1
[09:14:15]npm ERR!
[09:14:15]npm ERR! Failed at the [email protected] publish script.
[09:14:15]npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[09:14:15]
[09:14:15]npm ERR! A complete log of this run can be found in:
[09:14:15]npm ERR! C:\Users\usralm\AppData\Roaming\npm-cache_logs\2019-06-25T06_14_15_841Z-debug.log
[09:14:15]Process exited with code 1
Hello there,
We tried the SSR feature of angular universal library with this aspnetzero template. I wasted a whole day fixing issues with the template. Some of them were events (like LazyLoadEvent, MouseEvent), the other were related to HandsonTable. It seems, both aspnetzero and Handsontable does not support SSR feature?
If it does, could you please explain the issue since we did not change the default modules within the template, it should have been easily done via npm run build:ssr && npm run serve:ssr command.
Link: https://tudip.com/blog-post/angular-server-side-rendering/
Hello,
Working on Asp.Net Zero Core with Angular 7version. Pc browser working but mobile browser not working, waiting for apllication resource getting started. We can't see the error but have error screenshot. Can you help us pls
Hello,
We are using Aspnet Zero .Net Core + Angular Project. We can use Hangfire implementation and dashboard the local but when we deployed project cannot navigate to the Hangfire dashboard.
It says that site cannot be reached
We did Hangfire configuration on project Startup.cs
app.UseHangfireServer(); app.UseHangfireDashboard();
How can I solve?
Thank you