Base solution for your next web application

Activities of "fawad29"

I have got both asp.net core and angular2 solutions up and running. When I try to create a new tennant with its own database, I receive an error message: 'An internal error has occurred.'. The tennants database is created in sql server but I don't know why I am receiving this error. I have openned AbpTenants table in the host database and it only has the Default row and no tenants are displayed on Tenants management page. Can you please help?

Thanks

Following error occurred when I viewed Console on Chrome:

<a class="postlink" href="http://localhost:22742/api/services/app/Tenant/CreateTenant">http://localhost:22742/api/services/app ... eateTenant</a>

Thanks for your help, it was MSDTC issue.

Hi Bilal,

I am in a similar boat as well. Did you manage to implement this logic? Would it be possible for you to share some example code?

Thanks

Question

Hi,

Is there a way in this framework (ASP.NET CORE + ANGULAR) to dynamically create views? Our current product is developed in asp.net using telerik/kendo controls and asp.net wizards.

To use boilerplate terminology, our product is multi tennant with each customer has his own database. Our product is heavily dependant on user input as users need to fill out big forms with 100+ fields. Each customer may use different number of fields in each form i.e. Customer A may have 100 fields in Form A and Customer B may have 50 fields in Form A. We break up each form into logical steps of asp.net wizard and display relevant fields to each customer i.e. Customer A would be able to fill out 100 fields in Form A whereas Customer B would be able to fill out 50 fields in the same Form. Each customer will only see the fields that they are supposed to see. Currently, we handle this by using dynamic controls feature of ASP.net and we store fields information for each customer and form in a database.

Is there a way of implementing above in boiler plat, rather than hard wiring forms, can it be dynamically created depending on each customer? We want to avoid duplication where ever we can to avoid mainatennance issues?

Thanks

Hi,

Thank you so much for your reply.

Yes, it does help. I am new to boiler plate, it is very good frame work. I am reading about IPolicy. If you have a small example code with may be a couple of fields that you would like to share then that would be very much appreciated as it would speed up my learning curve.

Regards

Answer

Hi,

Thanks for your reply.

If there is no such facility then Is there an easy way of hiding/showing fields on each step of the wizard form?

Thanks Regards.

Thank you so much, I really appreciate your help and yes you are right with regards to helping each other out.

Answer

I am thinking about adding all fields (amalgamation of all fields for all clients) in a table for FormA, i.e. If Customer A has 50 fields and Customer B has 80 fields in Form A, I add all 80 fields in a table and then show relevant fields to each customer OR Is it possible to iterate through above table and create relevant HTML for only those fields which we need to show on the client side? Will this have any unintended consequences in the framework? I understand that all 80 fields need to be created in the entity/entities on the server side.

Thanks

Answer

Hi,

It is more to find out if dynamically generated approach will work with ABP framework. I have found following library which takes input in a json format and then creates form dynamically that conforms to angularjs binding etc. So if a form is created dynamically, will it still work with ABP framework. Do I need to consider any issues?

The second question is that ABP follows code first approach i.e. it creates database from modal, does ABP also work other way around i.e. creating Model at runtime from SQL table.

Thanks

Showing 1 to 10 of 79 entries