We are using Asp.net Zero V 13.0.0 with.NET Core and Angular.
After publishing the application on IIS, we want to add new tables (entities) or fields at runtime, similar to a dynamic form builder.
For example, we want integration from Builder. After a publish application exists, add a new field or add a new entity with a curd operation.
Note: After publishing the application to the IIS server, administrators need to add a new field or table to the existing SQL database run time, add migration, and create a dB context file to add that entity.
Is it possible that after publishing an application on IIS, the user can add a field or table, an existing or new entity, to run a time migration?
6 Answer(s)
-
0
Hi,
You can take a look at https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Feature-Dynamic-Entity-Parameters-Angular. This is not exactly the same as you want but it convers the basic functionality.
-
0
-
0
Hi,
You must define those entities in development time. Just go to
AppDynamicEntityPropertyDefinitionProvider
and add entities you want here. -
0
Hi @ismcagdas, Thanks for the support. However, I have a query. Is integration with third-party form builders possible?
-
0
-
0
Hi,
This is not supported out of the box. You need to modify many places to achieve this. You can create a feature request here https://github.com/aspnetzero/aspnet-zero-core, so our team can add these field types for the next version.