Käyttäjän "Long.Nguyen" toiminnot

Vastaus

Hi,

Could you please provide some more information, sample code ? Thank you.

Regards, Long

Hi,

You can use ABP Form Tag Helpers instead of normal Html input. Form Tag Helpers automatically validate the input based on the data annotation attributes and shows validation error messages on the user interface. Error messages are automatically localized based on the current culture.

Sample: @page @using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Modal @model MyProject.Web.Pages.Products.ProductCreateModalModel @{ Layout = null; } <form method="post" action="@Url.Page("/Products/ProductCreateModal")"> <abp-modal> <abp-modal-header title="Create New Product"></abp-modal-header> <abp-modal-body> <abp-input asp-for="Product.Name"/> <abp-input asp-for="Product.Description"/> <abp-input asp-for="Product.ReleaseDate"/> </abp-modal-body> <abp-modal-footer buttons="@AbpModalButtons.Save | @AbpModalButtons.Cancel"></abp-modal-footer> </abp-modal> </form>

References: https://docs.abp.io/en/abp/latest/UI/AspNetCore/Tag-Helpers/Form-elements#abp-input https://docs.abp.io/en/abp/latest/UI/AspNetCore/Forms-Validation#validation-localization

Hi Chrislarabell,

Let me have a look into your code to see what happens :)

Regards, Long

In the root level of service, it should have a folder named "Logs" and "logs.txt" inside. If you run in debugging mode, it should be in: "\bin\Debug\net6.0\Logs" for example.

Hi,

Currently, we just set it's value as:

entity.ConcurrencyStamp = Guid.NewGuid().ToString("N");

Regards, Long

Hi,

Can you try this one please ?

context.Services.Configure<SecurityStampValidatorOptions>(options => options.ValidationInterval = TimeSpan.FromHours(24));

https://stackoverflow.com/questions/49702256/why-does-my-identityserver4-based-server-timeout-in-30-minutes-and-only-support]

Hmm, everything seems to be fine. Did you try to refresh page, clear any caches ?

Hi, Could you please double check connectionstrings in appsettings of both Host and IdentityServer project to see if they connect to the same db ?

You could login to Host by admin account, on left menu click Identity Server>Clients, pick your app client, click Actions>Edit, go to Application Urls menu, select Signout and configure your signout/logout urls here. We can define multiple values.

Hi, In the provided environment.ts: clientId: 'MyApp_App',

In the database, the ClientId looks different. Could you please double check ?

Näytetään 11 - 20/22 tietueesta
Made with ❤️ on ABP v8.2.0-preview Updated on maaliskuuta 25, 2024, 15.11