Create the following DemoDataSeedContributor.cs
in your Domain project. This is a sample class that seeds your DB with dummy editions, tenants, roles, users and organizations. This class implements IDataSeedContributor
, therefore, DbMigrator
will add the specified data to your DB.
You can find the class at https://gist.github.com/ebicoglu/f1bafc8f339924c0fe2baac679353077
you have unlimited server deployment but I guess you are deploying it in debug mode. because license works only in debug mode
I've cleared all your computers even though you abused the license usage. Besides, you can re-open and write your feedback, there's no limitation on that.
you have used the license in 13 different computers that's why you get this error. we cleared your computer registrations. you can continue
why don't you use environment variables. ABP uses ASP.NET Core's standard configuration class and you can store connection string or any other appsettings.json configuration in several places. See https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration
Suite comes with a new feature with 7.4 It will keep your custom code after regenerating your entity again. https://blog.abp.io/abp/ABP.IO-Platform-7-4-RC-Has-Been-Published
there's not a formal way of adding a not existing item to the select2 component by ABP. It's a custom business logic. You can add a new button to enable users add new items. But this has nothing to do with ABP.
but I still don't understand why you need to run your project in Debug mode. it will work slower than a project built in Release mode.
You can use Environment variables as well to set your AbpLicenseCode
.
Just make sure the following code returns you the AbpLicenseCode
correctly.
var configuration = Microsoft
.Extensions
.DependencyInjection
.ServiceProviderServiceExtensions
.GetRequiredService<Microsoft.Extensions.Configuration.IConfiguration>(context.ServiceProvider);
var licenseCode = configuration["AbpLicenseCode"];
For more info about setting configurations, see 👉 https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration
But it seems like your problem is different. Here's the main error: License code not found! Ensure that your appsettings.json or appsettings.secrets.json has "AbpLicenseCode" key with your license code.
So maybe you have not copied appsettings.secrets.json
into the Docker container?
If your client also wants to use the source-code, then they must purchase a new license. Otherwise, they will allocate your developer seats. For more info please contact to info@abp.io