Base solution for your next web application

Activities of "pablotola"

Answer

Failed to validate project name. Should not rename a project downloaded from aspnetzero.com. You can contact to [email protected] if you are using a licensed product.

Question

I need to rename my application. Made a mistake when creating it and used lowercase letters for the name, I renamed all the files and references on the code to what I wanted and now it is not running. Does the application check for the name somewhere in code, does it have to be case sensitive.

Question

Is anybody using elastic pools in Azure for tenant databases? I need some guidance on how to override the built in methods that create and seed the tenant databases so they get created in an elastic pool. This is the syntax to create it: CREATE DATABASE DemoDB ( SERVICE_OBJECTIVE = ELASTIC_POOL ( name = DemoPool ) ) ;

Thnak you.

Thanks for the reply, I found what the error was and it's fixed, had to increase the CommandTimeout and that solved the problem.

On another note I would like to override or replace the function that creates the tenant database and need some guidance. I need to create thne tenant databases in an Azure elastic pool.

I think this is the function that creates and seeds the data:

//Create tenant database _abpZeroDbMigrator.CreateOrMigrateForTenant(tenant);

I was thinking about two options:

  1. Create the database before this method and keep the method to take care of the seeding.
  2. Override / Replace the method and code my own.

What would you recommend? How will I be able to run the following command at this point:

CREATE DATABASE DemoDB ( SERVICE_OBJECTIVE = ELASTIC_POOL ( name = DemoPool ) ) ;

Thanks for your help.

I'm having the same issue, is there a solution for this problem?

Trying to create a new tenant in azure fails, it just times out, sometimes it creates the database but does not seed the data, also the new tenant record is not created in the tenants table.

Showing 1 to 6 of 6 entries