Documentation
Please check the official documentation before asking questions: https://docs.abp.io/
GitHub Issues
GitHub issues are for bug reports, feature requests and other discussions about the framework.
If you're creating a bug/problem report, please include followings:
Your **ABP Framework version: 5.1.
Your User Interface type (Angular/MVC/React... etc.) if the issue is related to a specific UI: Angular/React
Your database provider(EF Core/MongoDB) : MSQL /Postgres
Exception message and stack trace if available (check the logs) :
Steps needed to reproduce the problem.
Please write in English.
Stack Overflow
Please use Stack Overflow for your questions about using the framework, templates and samples:
https://stackoverflow.com/questions/tagged/abp
Use abp tag in your questions.
I made the configurations to extend the abpuser, here mi dbcontext:
namespace Api.EntityFrameworkCore
{
[ConnectionStringName("Default")]
public class ApiDbContext :
AbpDbContext
{
/* Add DbSet properties for your Aggregate Roots / Entities here. */
public DbSet<Blog> Blogs { get; set; }
public DbSet<User> Users { get; set; }
public DbSet<Article> Articles { get; set; }
public DbSet<Comment> Comments { get; set; }
public DbSet<Reference> References { get; set; }
//
// public DbSet<Job> Jobs { get; set; }
public ApiDbContext(DbContextOptions<ApiDbContext> options)
: base(options)
{
}
protected override void OnModelCreating(ModelBuilder builder)
{
base.OnModelCreating(builder);
builder.ConfigurePermissionManagement();
builder.ConfigureSettingManagement();
builder.ConfigureBackgroundJobs();
builder.ConfigureAuditLogging();
builder.ConfigureIdentity();
builder.ConfigureIdentityServer();
builder.ConfigureFeatureManagement();
builder.Entity<User>(entity =>
{
entity.ToTable(AbpIdentityDbProperties.DbTablePrefix + "Users");
entity.ConfigureByConvention();
entity.ConfigureAbpUser();
entity.HasOne<IdentityUser>().WithOne().HasForeignKey<User>(e => e.Id);
I extended the original user like it can be seen on the context configuration. But when i try to use the dbmigrator to seed the original information (admin user and admin role) it gives me this error.
Npgsql.PostgresException (0x80004005): 42P01: «AbpSettings» Relation doesent exist.
If i run the project it starts ok, but i made a debug in a custom app service to create my users, and when i save one user with the repository.InsertAsync (i dont remember the exact name of the method).
I tried to insert rows by hand on the database and make the context to get all the users, but it gives me an empty list (but the table has users).
I downloaded a clean ansd empty version of ABP from the website, i loaded the connection string on the appsettings and started the dbmigrator, and gives me an error, without custom code, a clean project with 0 code from me and gives me an error. Something is going wrong with your app.
PD: You want me to be respectfull? I wrote to not close the issue because i readed several entries in github that are closed in the middle of a user discussions. This is not respectfull at all. If you dont want to give support you can delete the issues of the open source version, or even better, you can close the open source version and become only a pay version, but if you want respect, if you do something, do it ok.
Documentation
Please check the official documentation before asking questions: https://docs.abp.io/
GitHub Issues
GitHub issues are for bug reports, feature requests and other discussions about the framework.
If you're creating a bug/problem report, please include followings:
Your **ABP Framework version: 5.1.
Your User Interface type (Angular/MVC/React... etc.) if the issue is related to a specific UI: Angular/React
Your database provider(EF Core/MongoDB) : MSQL /Postgres
Exception message and stack trace if available (check the logs) :
Steps needed to reproduce the problem.
Please write in English.
Stack Overflow
Please use Stack Overflow for your questions about using the framework, templates and samples:
https://stackoverflow.com/questions/tagged/abp
Use abp tag in your questions.
I made the configurations to extend the abpuser, here mi dbcontext:
namespace Api.EntityFrameworkCore
{
[ConnectionStringName("Default")]
public class ApiDbContext :
AbpDbContext
{
/* Add DbSet properties for your Aggregate Roots / Entities here. */
I extended the original user like it can be seen on the context configuration. But when i try to use the dbmigrator to seed the original information (admin user and admin role) it gives me this error.
Npgsql.PostgresException (0x80004005): 42P01: «AbpSettings» Relation doesent exist.
If i run the project it starts ok, but i made a debug in a custom app service to create my users, and when i save one user with the repository.InsertAsync (i dont remember the exact name of the method).
I tried to insert rows by hand on the database and make the context to get all the users, but it gives me an empty list (but the table has users).
I downloaded a clean ansd empty version of ABP from the website, i loaded the connection string on the appsettings and started the dbmigrator, and gives me an error, without custom code, a clean project with 0 code from me and gives me an error. Something is going wrong with your app.
PD: You want me to be respectfull? I wrote to not close the issue because i readed several entries in github that are closed in the middle of a user discussions. This is not respectfull at all. If you dont want to give support you can delete the issues of the open source version, or even better, you can close the open source version and become only a pay version, but if you want respect, if you do something, do it ok.