Good day all, I am using Module Zero and in the module configuration I created some static role definitions . But when I use the RoleManager to retrieve all roles, it doesn't include the StaticRole definitions(returns only from the database). How can I access those or write them to the database. Thanks
I am still trying to figure this out. Somebody please help
Good day all I am working with features in abp and according to this document <a class="postlink" href="https://www.aspnetboilerplate.com/Pages/Documents/Feature-Management">https://www.aspnetboilerplate.com/Pages ... Management</a> you can create features by implementing a custom feature provider, but can you only hard code features? What if I want to read/write features from the database, how can I do that. Also I checked some code on [https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp/Application/Features/FeatureManager.cs]) and found this
public void Initialize()
{
foreach (var providerType in _featureConfiguration.Providers)
{
using (var provider = CreateProvider(providerType))
{
provider.Object.SetFeatures(this);
}
}
Features.AddAllFeatures();
}
Please, when and where is this method invoked. Thanks
Hello, guys, I have been using this framework for some time and I am truly enjoying it. But one improvement that can be made is to always display clear exception messages. For example, when I tried to reach an endpoint without specifying
"Content-Type":"application/json"
header I get this exception logged:
17:20:47,573, ERROR, Abp.WebApi.ExceptionHandling.AbpApiExceptionFilterAttribute, 6, Processing of the HTTP request resulted in an exception. Please see the HTTP response returned by the 'Response' property of this exception for details. - System.Web.Http.HttpResponseException: Processing of the HTTP request resulted in an exception. Please see the HTTP response returned by the 'Response' property of this exception for details.
at System.Web.Http.ModelBinding.FormatterParameterBinding.ReadContentAsync(HttpRequestMessage request, Type type, IEnumerable`1 formatters, IFormatterLogger formatterLogger, CancellationToken cancellationToken)
at System.Web.Http.ModelBinding.FormatterParameterBinding.ReadContentAsync(HttpRequestMessage request, Type type, IEnumerable`1 formatters, IFormatterLogger formatterLogger)
at System.Web.Http.ModelBinding.FormatterParameterBinding.<ExecuteBindingAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
This doesn't say anything about the cause of the issue, I had to think deeply to understand something as simple as this Thanks PS Also still waiting guidelines as to contribute to the project
Hi Is there any guide on contributing to this project. We can start from there
Me too, lets do this!
Hi guys, who has implemented signalr in abp. My question is should I implement it on the web layer or the application application layer. In my project, I want to raise an event in the Core layer, handle it in the application layer and notify the user. Thanks
Hi guys My delete methods in app service never works, it throws exceptions without a clear message. The only way around it is renaming the methods something other than Delete. So instead of "
DeletePlan(PlanInput inputDto)"
, I would name it
"KpaPlan(PlanInput inputDto)
". This works but why am I not able to do a normal delete. What am I missing.
Hi guys, the IRepository always throws an exception if you try to get an entity with id when such id doesn't exist. But what I want is for it to return null. How can I do this. I am using Entity framework.
Hi guys, I just noticed that the IRepository interface fails to be injected if used with a self referencing entity class (like the features class). Please how can I get around this? Thanks