wingqing1314
wingqing1314
So i must change the source code?
> See https://docs.abp.io/en/abp/latest/Exception-Handling > > You can customize exception filter to return your json format : https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ExceptionHandling/AbpExceptionFilter.cs So i must change the source code?
> Please read document first. https://docs.abp.io/en/abp/latest/Entity-Framework-Core sorry,I've read it, but I could't find the ritght solution. so you suggestion is that reference to the Volo.Abp.EntityFrameworkCore package in application?
I used wrong namespace 😠be careful System.Web.Http and Microsoft.AspNetCore.Authorization
 Maybe because of I replaced the configuration.When I comment out the code,it works. But I don't know why
> Please check the official documentation before asking questions: https://docs.abp.io/en/abp/latest/Localization I followed the documentation and it didn't work    
 It works after added `ErrorMessage` . It has to be ,right?
> What is the value of `CultureInfo.CurrentUICulture` > Make sure your current UI culture is zh-hans. I just want the response message is in Chinese, not displayed on UI.
> Please see > https://docs.microsoft.com/en-us/aspnet/core/fundamentals/localization?view=aspnetcore-3.1 learn about localization in ASP.NET Core. Got it! ``` public void ConfigureServices(IServiceCollection services) { services.AddApplication(); services.AddMvc() .AddDataAnnotationsLocalization(options => { options.DataAnnotationLocalizerProvider = (type, factory) => factory.Create(typeof(UserResource));...
> Make sure your application service method is virtual. Yes! Thank you very much 😉