Base solution for your next web application

Activities of "[email protected]"

Yes would like also to know the recommended way to swap themes

thanks

thank you That has fixed it

I am still missing fonts - What should i do here.

Register?returnUrl=%2FApp:147 GET <a class="postlink" href="http://localhost:62114/fonts/Poppins/poppins-v5-latin-500.woff2">http://localhost:62114/fonts/Poppins/po ... -500.woff2</a> net::ERR_ABORTED Register?returnUrl=%2FApp:147 GET <a class="postlink" href="http://localhost:62114/fonts/Poppins/poppins-v5-latin-300.woff2">http://localhost:62114/fonts/Poppins/po ... -300.woff2</a> net::ERR_ABORTED Register?returnUrl=%2FApp:147 GET <a class="postlink" href="http://localhost:62114/fonts/Poppins/poppins-v5-latin-regular.woff2">http://localhost:62114/fonts/Poppins/po ... ular.woff2</a> net::ERR_ABORTED Register?returnUrl=%2FApp:150 GET <a class="postlink" href="http://localhost:62114/fonts/Poppins/poppins-v5-latin-500.woff">http://localhost:62114/fonts/Poppins/po ... n-500.woff</a> net::ERR_ABORTED Register?returnUrl=%2FApp:150 GET <a class="postlink" href="http://localhost:62114/fonts/Poppins/poppins-v5-latin-regular.woff">http://localhost:62114/fonts/Poppins/po ... gular.woff</a> net::ERR_ABORTED Register?returnUrl=%2FApp:150 GET <a class="postlink" href="http://localhost:62114/fonts/Poppins/poppins-v5-latin-300.woff">http://localhost:62114/fonts/Poppins/po ... n-300.woff</a> net::ERR_ABORTED Register?returnUrl=%2FApp:150 GET <a class="postlink" href="http://localhost:62114/fonts/Poppins/poppins-v5-latin-500.ttf">http://localhost:62114/fonts/Poppins/po ... in-500.ttf</a> net::ERR_ABORTED Register?returnUrl=%2FApp:150 GET <a class="postlink" href="http://localhost:62114/fonts/Poppins/poppins-v5-latin-regular.ttf">http://localhost:62114/fonts/Poppins/po ... egular.ttf</a> net::ERR_ABORTED account-layout-libs.min.js:1 WARN: account-layout-libs.min.js:1 Could not find localization source: undefined

I am also having the same issue - lots of missing files and the default step does not complete

I am also get the javascript language service is disabled warning message

/view-resources/Areas/App/Views/_Bundles/common-scripts.js is not in the directory

The glup process also seems to min the files and delete the original files leaving only the min files in the _bundle directory

It is possible to have the bundleconfig.json file as a backup so it can create the files?

Question

Hi there,

I am starting with a clean build as I had issue with the JS bundling and thought I might have made a change to cause this error but on a clean downloaded version I am getting the following errors. I am trying to include another JS library but would like the client to be running without errors before I add/port my old project across to v5. thanks I think there may be an issue with the bundle process....

VS 15.4.5

Navigated to <a class="postlink" href="http://localhost:62114/Account/Login">http://localhost:62114/Account/Login</a> GET <a class="postlink" href="http://localhost:62114/Account/Login">http://localhost:62114/Account/Login</a> [HTTP/1.1 200 OK 64ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/vendors.bundle.css">http://localhost:62114/view-resources/A ... bundle.css</a> [HTTP/1.1 404 Not Found 62ms] GET <a class="postlink" href="http://localhost:62114/metronic/dist/html/default/assets/demo/default/base/style.bundle.css">http://localhost:62114/metronic/dist/ht ... bundle.css</a> [HTTP/1.1 200 OK 432ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/account-layout-libs.css">http://localhost:62114/view-resources/A ... t-libs.css</a> [HTTP/1.1 404 Not Found 54ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/common-styles.css">http://localhost:62114/view-resources/A ... styles.css</a> [HTTP/1.1 404 Not Found 84ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Views/Account/_Layout.css">http://localhost:62114/view-resources/V ... Layout.css</a> [HTTP/1.1 200 OK 296ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/account-layout-libs.js">http://localhost:62114/view-resources/A ... ut-libs.js</a> [HTTP/1.1 404 Not Found 59ms] GET <a class="postlink" href="http://localhost:62114/AbpServiceProxies/GetAll">http://localhost:62114/AbpServiceProxies/GetAll</a> [HTTP/1.1 200 OK 398ms] GET <a class="postlink" href="http://localhost:62114/AbpScripts/GetScripts">http://localhost:62114/AbpScripts/GetScripts</a> [HTTP/1.1 200 OK 442ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/common-scripts.js">http://localhost:62114/view-resources/A ... scripts.js</a> [HTTP/1.1 404 Not Found 225ms] GET <a class="postlink" href="http://localhost:62114/Common/Scripts/_empty.js">http://localhost:62114/Common/Scripts/_empty.js</a> [HTTP/1.1 200 OK 227ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Views/Account/Login.js">http://localhost:62114/view-resources/V ... t/Login.js</a> [HTTP/1.1 200 OK 343ms] GET <a class="postlink" href="http://localhost:62114/Common/Images/app-logo-on-light.png">http://localhost:62114/Common/Images/ap ... -light.png</a> GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/account-layout-libs.js">http://localhost:62114/view-resources/A ... ut-libs.js</a> [HTTP/1.1 404 Not Found 27ms] Loading failed for the <script> with source “http://localhost:62114/view-resources/Areas/App/Views/_Bundles/account-layout-libs.js”. Login:149 TypeError: abp.timing is undefined [Learn More] GetScripts:1082:5 <anonymous> <a class="postlink" href="http://localhost:62114/AbpScripts/GetScripts:1082:5">http://localhost:62114/AbpScripts/GetScripts:1082:5</a> <anonymous> <a class="postlink" href="http://localhost:62114/AbpScripts/GetScripts:1081:2">http://localhost:62114/AbpScripts/GetScripts:1081:2</a> GET <a class="postlink" href="http://localhost:62114/metronic/src/media/app/img/bg/bg-4.jpg">http://localhost:62114/metronic/src/med ... g/bg-4.jpg</a> [HTTP/1.1 200 OK 41ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/common-scripts.js">http://localhost:62114/view-resources/A ... scripts.js</a> [HTTP/1.1 404 Not Found 27ms] Loading failed for the <script> with source “http://localhost:62114/view-resources/Areas/App/Views/_Bundles/common-scripts.js”. Login:155 ReferenceError: jQuery is not defined [Learn More] Login:165:9 <anonymous> <a class="postlink" href="http://localhost:62114/Account/Login:165:9">http://localhost:62114/Account/Login:165:9</a>

An unhandled exception occurred while processing the request. EntityNotFoundException: There is no such an entity. Entity type: Furiosotoro.Furiosotoro.Authorization.Users.User, id: 20

Abp.Domain.Repositories.AbpRepositoryBase+<GetAsync>d__21.MoveNext() in AbpRepositoryBase.cs, line 86

Stack Query Cookies Headers 

EntityNotFoundException: There is no such an entity. Entity type: Furiosotoro.Furiosotoro.Authorization.Users.User, id: 20
    Abp.Domain.Repositories.AbpRepositoryBase+&lt;GetAsync&gt;d__21.MoveNext() in AbpRepositoryBase.cs
    System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    Abp.Threading.InternalAsyncHelper+&lt;AwaitTaskWithPostActionAndFinallyAndGetResult&gt;d__5.MoveNext() in InternalAsyncHelper.cs
    System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    Abp.Authorization.Users.AbpUserStore+&lt;GetUserNameFromDatabaseAsync&gt;d__88.MoveNext()
    System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    Abp.Authorization.Users.AbpUserManager+&lt;UpdateAsync&gt;d__41.MoveNext() in AbpUserManager.cs
    System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    System.Runtime.CompilerServices.TaskAwaiter.GetResult()
    Furiosotoro.Furiosotoro.Authorization.Users.UserRegistrationManager+&lt;RegisterAsync&gt;d__13.MoveNext() in UserRegistrationManager.cs

            await _userManager.UpdateAsync(user);

System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) System.Runtime.CompilerServices.TaskAwaiter.GetResult() Furiosotoro.Furiosotoro.Web.Controllers.AccountController+<Register>d__38.MoveNext() in AccountController.cs

                var user = await _userRegistrationManager.RegisterAsync(

System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) lambda_method(Closure , object ) Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable+Awaiter.GetResult() Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+<InvokeActionMethodAsync>d__12.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+<InvokeNextActionFilterAsync>d__10.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context) Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted) Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+<InvokeInnerFilterAsync>d__14.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+<InvokeNextExceptionFilterAsync>d__23.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ExceptionContext context) Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted) Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+<InvokeNextResourceFilter>d__22.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context) Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted) Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+<InvokeFilterPipelineAsync>d__17.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+<InvokeAsync>d__15.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) Microsoft.AspNetCore.Builder.RouterMiddleware+<Invoke>d__4.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware+<Invoke>d__4.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) IdentityServer4.Hosting.IdentityServerMiddleware+<Invoke>d__3.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) Microsoft.AspNetCore.Authentication.AuthenticationMiddleware+<Invoke>d__6.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware+<Invoke>d__7.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) IdentityServer4.Hosting.BaseUrlMiddleware+<Invoke>d__3.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) Furiosotoro.Furiosotoro.Web.Authentication.JwtBearer.JwtTokenMiddleware+<>c__DisplayClass0_0+<<UseJwtTokenMiddleware>b__0>d.MoveNext() in JwtTokenMiddleware.cs

                await next();

System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) Furiosotoro.Furiosotoro.Web.Authentication.JwtBearer.JwtTokenMiddleware+<>c__DisplayClass0_0+<<UseJwtTokenMiddleware>b__0>d.MoveNext() in JwtTokenMiddleware.cs

                    await next();
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Authentication.AuthenticationMiddleware+&lt;Invoke&gt;d__6.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware+&lt;Invoke&gt;d__7.MoveNext()

I might not be understanding how the database UOW and async calls work as when I do the following - I get an error that the user record 'n' does not exist. What is the correct way to update the user record inside the one call from the Browser.

thanks

        CheckErrors(await _userManager.CreateAsync(user));
       await CurrentUnitOfWork.SaveChangesAsync();
        user.UserName = $"{DateTime.Now.Year}_{userName}_{user.Id}";

        await _userManager.UpdateAsync(user);
        await CurrentUnitOfWork.SaveChangesAsync();

Thanks!

I change the seed to create the list like this public static List<SelectItemValue> InitialValues => GetInitialValues();

    private readonly FuriosotoroDbContext _context;


    private static List&lt;SelectItemValue&gt; GetInitialValues()
    {
        return new List&lt;SelectItemValue&gt;
        {

.... } } and all the tests are now working

thanks you :D

using System.Collections.Generic; using System.Linq; using Abp.Application.Features; using Furiosotoro.Furiosotoro.Configuration; using Microsoft.EntityFrameworkCore; using Furiosotoro.Furiosotoro.Editions; using Furiosotoro.Furiosotoro.EntityFrameworkCore; using Furiosotoro.Furiosotoro.Features;

namespace Furiosotoro.Furiosotoro.Migrations.Seed.Host { public class DefaultSelectItemValuesCreator { public static List<SelectItemValue> InitialValues { get; private set; }

    private readonly FuriosotoroDbContext _context;

    static DefaultSelectItemValuesCreator()
    {
        InitialValues = new List&lt;SelectItemValue&gt;
        {
            new SelectItemValue
            {
                Id = 1,
                Name = "NSW",
                Order = 1,
                Value = "NSW",
                Category = "State"
            },
            new SelectItemValue
            {
                Id = 2,
                Name = "VIC",
                Order = 2,
                Value = "VIC",
                Category = "State"
            },
            new SelectItemValue
            {
                Id = 3,
                Name = "WA",
                Order = 4,
                Value = "WA",
                Category = "State"
            },
            new SelectItemValue
            {
                Id = 4,
                Name = "NT",
                Order = 5,
                Value = "NT",
                Category = "State"
            },
            new SelectItemValue
            {
                Id = 5,
                Name = "SA",
                Order = 6,
                Value = "SA",
                Category = "State"
            },
            new SelectItemValue
            {
                Id = 6,
                Name = "TAS",
                Order = 7,
                Value = "TAS",
                Category = "State"
            },
            new SelectItemValue
            {
                Id = 7,
            Name = "QLD",
            Order = 3,
            Value = "QLD",
            Category = "State"
        },
            new SelectItemValue
            {
                Id = 8,
                Name = "DL1",
                Order = 1,
                Value = "DL1",
                Category = "DownloadUpload"
            },
            new SelectItemValue
            {
                Id = 8,
                Name = "DL2",
                Order = 2,
                Value = "DL2",
                Category = "DownloadUpload"
            },
            new SelectItemValue
            {
                Id = 9,
                Name = "R1",
                Order = 2,
                Value = "R1",
                Category = "Repository"
            },
            new SelectItemValue
            {
                Id = 10,
                Name = "R2",
                Order = 3,
                Value = "R2",
                Category = "Repository"
            }
        };


    }

    public DefaultSelectItemValuesCreator(FuriosotoroDbContext context)
    {
        _context = context;
    }

    public void Create()
    {
        CreateValues();
    }

    private void CreateValues()
    {
        foreach (var value in InitialValues)
        {
            AddValueIfNotExists(value);
        }
    }

    private void AddValueIfNotExists(SelectItemValue value)
    {
        if (_context.SelectItemValues.Any(l => l.Name == value.Name))
        {
            return;
        }

        _context.SelectItemValues.Add(value);

        _context.SaveChanges();
    }
}

}

ah

You pointed my in the right direction.

Confused

I fixed the test errors by setting the id to a value - but why should this be required as the field in an identity and therefore auto incremented, won't this now break the seed step as part on database update?

static DefaultSelectItemValuesCreator()
    {
        InitialValues = new List&lt;SelectItemValue&gt;
        {
            new SelectItemValue
            {
                Id = 1,
                Name = "NSW",
                Order = 1,
                Value = "NSW",
                Category = "State"
            },
            new SelectItemValue
            {
                Id = 2,
                Name = "VIC",
                Order = 2,
                Value = "VIC",
                Category = "State"
            },
            new SelectItemValue
            {
                Id = 3,
                Name = "WA",
                Order = 4,
                Value = "WA",
                Category = "State"
            },
            new SelectItemValue
            {
                Id = 4,
                Name = "NT",
                Order = 5,
                Value = "NT",
                Category = "State"
            },
            new SelectItemValue
            {
                Id = 5,
                Name = "SA",
                Order = 6,
                Value = "SA",
                Category = "State"
            },
            new SelectItemValue
            {
                Id = 6,
                Name = "TAS",
                Order = 7,
                Value = "TAS",
                Category = "State"
            },
            new SelectItemValue
            {
                Id = 7,
            Name = "QLD",
            Order = 3,
            Value = "QLD",
            Category = "State"
        }
        };


    }

This table is not referenced in any other table

 Test_AddUsersToOrganizationUnit [0:00.001] Failed: System.InvalidOperationException : The property 'Id' on entity type 'SelectItemValue' has a temporary value while attempting to change the entity's state to 'Unchanged'. Either set a permanent value explicitly or ensure that the database is configured to generate values for this property.

System.InvalidOperationException : The property 'Id' on entity type 'SelectItemValue' has a temporary value while attempting to change the entity's state to 'Unchanged'. Either set a permanent value explicitly or ensure that the database is configured to generate values for this property. at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState entityState, Boolean acceptChanges, Boolean forceStateWhenUnknownKey) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.AcceptChanges() at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.AcceptAllChanges(IEnumerable1 changedEntries) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Boolean acceptAllChangesOnSuccess) at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean acceptAllChangesOnSuccess) at Abp.EntityFrameworkCore.AbpDbContext.SaveChanges() in D:\Github\aspnetboilerplate\src\Abp.EntityFrameworkCore\EntityFrameworkCore\AbpDbContext.cs:line 199 at Furiosotoro.Furiosotoro.Migrations.Seed.Host.DefaultSelectItemValuesCreator.AddValueIfNotExists(SelectItemValue value) in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\src\Furiosotoro.Furiosotoro.EntityFrameworkCore\Migrations\Seed\Host\DefaultSelectItemValues.cs:line 103 at Furiosotoro.Furiosotoro.Migrations.Seed.Host.DefaultSelectItemValuesCreator.CreateValues() in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\src\Furiosotoro.Furiosotoro.EntityFrameworkCore\Migrations\Seed\Host\DefaultSelectItemValues.cs:line 90 at Furiosotoro.Furiosotoro.Migrations.Seed.Host.DefaultSelectItemValuesCreator.Create() in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\src\Furiosotoro.Furiosotoro.EntityFrameworkCore\Migrations\Seed\Host\DefaultSelectItemValues.cs:line 83 at Furiosotoro.Furiosotoro.Migrations.Seed.Host.InitialHostDbBuilder.Create() in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\src\Furiosotoro.Furiosotoro.EntityFrameworkCore\Migrations\Seed\Host\InitialHostDbBuilder.cs:line 20 at Furiosotoro.Furiosotoro.Migrations.Seed.SeedHelper.SeedHostDb(FuriosotoroDbContext context) in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\src\Furiosotoro.Furiosotoro.EntityFrameworkCore\Migrations\Seed\SeedHelper.cs:line 26 at Furiosotoro.Furiosotoro.Migrations.Seed.SeedHelper.WithDbContext[TDbContext](IIocResolver iocResolver, Action1 contextAction) in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\src\Furiosotoro.Furiosotoro.EntityFrameworkCore\Migrations\Seed\SeedHelper.cs:line 42 at Furiosotoro.Furiosotoro.Migrations.Seed.SeedHelper.SeedHostDb(IIocResolver iocResolver) in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\src\Furiosotoro.Furiosotoro.EntityFrameworkCore\Migrations\Seed\SeedHelper.cs:line 18 at Furiosotoro.Furiosotoro.EntityFrameworkCore.FuriosotoroEntityFrameworkCoreModule.PostInitialize() in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\src\Furiosotoro.Furiosotoro.EntityFrameworkCore\EntityFrameworkCore\FuriosotoroEntityFrameworkCoreModule.cs:line 49 at System.Collections.Generic.List1.ForEach(Action1 action) at Abp.AbpBootstrapper.Initialize() in D:\Github\aspnetboilerplate\src\Abp\AbpBootstrapper.cs:line 152 at Abp.TestBase.AbpIntegratedTestBase`1.InitializeAbp() in D:\Github\aspnetboilerplate\src\Abp.TestBase\TestBase\AbpIntegratedTestBase.cs:line 47 at Furiosotoro.Furiosotoro.Tests.AppTestBase..ctor() in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\test\Furiosotoro.Furiosotoro.Tests\AppTestBase.cs:line 27 at Furiosotoro.Furiosotoro.Tests.Organizations.OrganizationUnitAppService_Tests..ctor() in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\test\Furiosotoro.Furiosotoro.Tests\Organizations\OrganizationUnitAppService_Tests.cs:line 19

I have create this entity using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema;

using Abp.Domain.Entities;

namespace Furiosotoro.Furiosotoro.Configuration { [Table("SelectItemValue")] public class SelectItemValue : Entity

    [Required]
    [MaxLength(MaxCategoryLength)]
    public virtual string Category { get; set; }

    [Required]
    [MaxLength(MaxNameLength)]
    public virtual string Name { get; set; }


    [Required]
    [MaxLength(MaxValueLength)]
    public virtual string Value { get; set; }


    public virtual int Order { get; set; }
}

}

Showing 21 to 30 of 33 entries