Base solution for your next web application

Activities of "luo0826"

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version?
  • 9.3.0
  • What is your product type (Angular or MVC)?
  • MVC
  • What is product framework type (.net framework or .net core)?
  • .net core

If issue related with ABP Framework

  • What is ABP Framework version?

If issue is about UI

  • Which theme are you using?
  • What are the theme settings?

I'm using asp.net Zero to develop our project. I want to save our settings in AbpSettings table.But we have to add a filed named year. when I get settings or insert settings,year filed is required.now I have extended Setting class and year filed is added to database.But i have no idea about how to extend SettingManager.I have read the source code of asp.net boilerplate.It seems no way to do that. Does any body know how to do that? Thank you very much!

Thank you for your answer,I have derived my own class from SettingManager like this: And replaced the service by this: Configuration.ReplaceService<ISettingManager, IentrySettingManager>(DependencyLifeStyle.Transient); but how can I use it in controller.As the SettingManager property is defined in the base controller class,how can I inject my own SettingManager as a property in base controller? Thank you very much.

thank you , I will try

Hi,I am planning to use the Impersonaton.I had just done some test.When I login as a user in user management page,it works.the user menu shows that I am logging in as this user. But after I refresh the page,the Impersonaton does not work.AbpSession.ImpersonatorUserId.HasValue becomes false. Why it happens?Is it a Bug?

Hi@ismcagdas 1.We are using ASP.NET Core MVC & jQuery template 2.The version is 9.3.0 MultiTenant is false now step1:log in as a user log in successfully step2:refresh the page or click back button now it becomes the user totally.I can not log in back to my admin user.

The issue can not found.

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version?
  • 9.3.0
  • What is your product type (Angular or MVC)?
  • MVC
  • What is product framework type (.net framework or .net core)?
  • .net core Hi I want to test user frendly error message,I want to see the appearance when I throw exception in MVC controller. so I tried to change environmentVariables in launchSettings.json like this but when I do this the system can not run correctly.It only show a blank page like this.

Hi @ismcagdas It works! Thank you very much.Does it mean when I change ASPNETCORE_ENVIRONMENT into Staging or Production I have to copy all of my settings in appsettings.json to appsettings.Staging.json or appsettings.Production.json?

Hi @luo0826 thank you very much!

hi my project uses setting table to save json data.We are using Oracle now. In Oracle the field type of string is created as NVARCHAR(2000). The Value Column now is NVARCHAR(2000). It's too small to us.So I want to change it into CLOB. I do it like this. The Year field is added before. But Value column can not change type. How Can I do it?Thank you very much.

Showing 1 to 10 of 12 entries