Hello Halil,
I am studying the Abp.Samples.Blog solution and I can see that you have created specific classes for authorization and authentication (BlogTenant, BlogUser ...).
Is that a required or recommended approach ?
What are the odds regarding sharing the MainApp.Core Project as nuget packages and install it to Samples.Blog.Core ? Do you see any problems or considerations ?
I Would love to know the caveats under each implementation!
Cheers
Bruno Bertechini
Hello there,
We have a separated module from main app and we are trying to create a feature to enable/disable this module.
I am coding this inside the separated solution (my custom module) :
I have created a feature provider and set features like this:
context.Create(
MyCustomModule.MyFirstFeature,
defaultValue: "false",
displayName: L("MyCustomModule"),
scope: FeatureScopes.All,
inputType: new CheckboxInputType()
);
And added this line to MyCustomModuleCoreModule.cs:
Configuration.Features.Providers.Add<MyCustomModuleFeatureProvider>();
I can check in main app logs that this code is being called (I have couple debug logs), but the feature is not showing in tenant or edition selections.
Do I need to do anything else to make the features show up in the menus for tenant and edition selection ?
Cheers
Bruno
Hello,
We are using aspnetzero to develop a distributed system based on SOA, DDD and CQRS principles together with NServiceBus ([http://www.particular.net])).
We are using the approach of separated module for each SOA Service.
We have a main app (aspnet zero code with few customizations). We have a service module (based on [https://github.com/aspnetboilerplate/sample-blog-module])).
Each service is meant to be autonomous and the separated sample blog module seems to be a perfect fit for that.
Next step for us is to come up with a solid approach for configuring permissions. We already have a separated module adding permissions (and they are appearing fine in main app).
We are using the default tenant as the 'Test' tenant for internal use and test of features before they are released to customers.
The question here is : What is the best approach to add service module permissions (from separated solution) to default tenant roles ?
I mean, we dont have the Context from main app inside the sercie module (and we dont find it right indeed).
Ideas/Recommendations ?
Cheers
Bruno Bertechini
Hello,
How should I configure a given custom module for localization using the new db-stored language feature from v1.6 ?
Right now we are using this code for XML:
Configuration.Localization.Sources.Add(
new DictionaryBasedLocalizationSource(
ModuleConsts.LocalizationSourceName,
new XmlEmbeddedFileLocalizationDictionaryProvider(
Assembly.GetExecutingAssembly(),
ModuleConsts.LocalizationSourceRootNameSpace
)
)
);
Hello
Is that possible to have custom layouts per tenant for the MPA Landing page ?
What approach would be ?
Bruno Bertechini
Hello,
Where can I find documentation/samples for the metronic theme ? We need to create few pages and would like to read the documentation regarding the componente set available!
Kind Regards
Bruno Bertechini
Hello
How can I localize the dialog that appears when the user does not have access to a certain AppService (marked with AbpAuthorize)
Currently the message is in english :
Required permissions are not granted. At least one of these permissions must be granted: (image attached)
And I didn't find this string on language resources
Thank you very much