Hello, all
I managed to deploy my app to Azure, created the application and the database there, but I cannot get the EF migrations working, the tables just don't get created.
Is there any special consideration regarding this deployment?
Thanks in advance.
Hello, all
I managed to deploy my app to azure, created the application and the database there, but I cannot get the EF migrations working, the tables just don't get created.
Is there any special consideration regarding this deployment?
Thanks in advance.
Thanks for your answer.
I will try and let you know.
Good day, all
Any experience regarding the deployment of ASP.NET Boilerplate to Azure Cloud, particularly using continuous delivery?
I see now,
I'll try to implement it and let you know.
Thanks a lot!
Hi, hikalkan
await _roleManager.CreateStaticRoles(tenant.Id);
Can't understand where are the static roles to create for the tenant. I need to create, e.g. "Leader", "Seller", "Admin", "Agent" roles for each tenant.
Thanks a lot!
Hello, hikalkan
Thanks for your quick answer.
I managed to do what you explained in the post, but I keep having a doubt regarding it: Can you please show me a snippet example for granting permissions for a role in that context of the tenant? That's where I don't know how to do it since in ModuleZeroSampleProject it's done in the seeds using de DBContext.
Thanks again for your help.
Good day,
I'm trying to assign permissions to roles in a multi-tenancy environment following ModuleZeroSampleProject. In the InitialDataBuilder I see the following code:
context.Permissions.Add(new RolePermissionSettings{RoleId = adminRoleForDefaultTenant.Id, Name = "CanDeleteAnswers", IsGranted = true});
My problem is that I must creates the roles and permissions for each tenant. I can create the role using the RolManager, but I can't figure out a way to assign the related permissions to those roles outside the InitialDataBuilder, taking into account that it should be dynamically generated after creating each tenant.
Thanks in advance.
Thanks for your answer.
I'll take it into account and build a controller to handle the upload.
Regards
Good day all,
I need to send a file from an AngularJS view to a service method via DTO in order to be saved and processed in the server.
Do you know how can I accomplish that?
Is it possible or do I need to create a new controller for handling the http request?
Thanks in advance.