Using: 7.2 MVC .Net Core
Hi, We are looking to have EF automatically update the database when the code runs without relying on the manual "update-database" from package manager console. Our project deploys via Azure DevOps nightly (dev / uat etc), but we have been told they can't support adding 3rd party components and I have been advised on updating the database via code instead.
I've looked thru the other articles and there have been a couple on this topic over the years, but they have been along the lines of "copy code from the migrator app" which hasn't proven sucessful.
Is it possible to get clearer guidance on how we can do this and where? Our developers previous attempt resulted in reference errors from trying to combine segments of two different projects and think a clear example of what to do would benefit others that are looking to automate database upgrades without relying on other platforms to do it.
Any guidance would be most welcome. Thanks, Dave
7.2 MVC + jQuery on .net Core
We are trying out our platform behind an Azure Application Gateway running on an Azure App Service. The public DNS would be something like https://public.domain.com but when trying to log in to "/App/SomeController" the user gets redirected to "https://private.azurewebsites.net/Account/Login?ReturnUrl=/App/SomeController" which is the private DNS behind the gateway.
The "private.azurewebsites.net" does not exist in any appsetting so it looks like it is being picked up by the HttpContext.
Do you know how this can be overridden? As it looks to be handled in the Abp code rather than Zero.
Thanks, Dave
Hi,
Question 1: I have seen the post on the background worker to clear out the AbpAuditLogs table (ours is currently 119mb) which I will implement soon, but is it safe to also put in similar for AbpEntityPropertyChanges & AbpEntityChanges tables? Ours are 269mb and 77mb, and the platform is only 6 months old. Can we just clear the table every X days to keep it smaller as there are no timestamps on the PropertyChanges table.
Question 2: Can we update the nuget packages for ABP without updating the rest of the Zero code? We are currently on .net Core 2.2 but have plans to upgrade the whole code towards the end of the year but would like to know if we can update the packages before then, to the latest 2.2 supported version.
Thanks, Dave
Using: MVC & jQuery 7.2
We have a number of tenants in our production site but have recently added additional roles with permissions inside. These are created for any new tenants but is there a suggested way to "sync" static roles & associated permissions for existing tenants so they all benefit.
For example:
Tenant A = Role 1, Role 2
In code we create Role 3 and publish a new build.
New Tenant created called "B" = Role 1, Role 2, Role 3 Tenant "A" = Role 1, Role 2 (Doesn't gain the new Role 3).
Any ideas would be welcome.
Thanks, Dave
Hi,
The Angular project has this page for changing a modal to a normal page (https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Create-Edit-In-The-Page) but I can't find the same for the MVC & jQuery project (v7.2)
Is this process documented any where in enough detail that my off shore development team would be able to follow? They don't know Angular so the current instructions do not mean anything to them.
Thanks, Dave
Hi,
We are using .net Core / jQuery 7.1 with the updated bundles.json & gulp file from another thread.
On our Tenant page we are now getting this error:
Doing a quick google it shows that $.url is not a part of core jquery.
Other bundles include jquery, such as app-layout:
However the tenant screens don't have any jquery references.
Should jquery be picked up from elsewhere on these screens or has something got missed out that should be included?
Thanks, Dave
Hi,
We have a number of custom entities created via the PowerTools in V7.1 .Net Core / jQuery but with 7.2 due soon is there any folder(s) we could copy over to a fresh 7.2 project to then use the "Regenerate entity" option against that project to create all the code the first time based on previous entity properties?
Thanks, Dave
Hi,
We are looking to add in a top menu in the same way as in the Metronic demo theme. I've seen the menu examples in MVC / jQuery tutorial for adding to the left side navigation but after looking around I can't see any evidence of being able to add in something similar on the top left.
Any pointers would be most welcome as to how to get the menu in to place. I would expect to add to the AppNavigationProvider with a new MenuDefinitiion but don't know how to get it into the layout files.
Thanks, Dave
Hi,
We are starting work on our production code on 29th July and I am wondering if its safe / stable enough to start from your Core / jQuery "Development Branch" download on that day rather than the current 7.0 release?
There have been quite a few fixes over the last few weeks, and most likely a few more over the comming weeks which we would like to benefit from.
Thanks, Dave