Hi, I'm upgrading to Abp 5.0.4 (Core + Angular) from 1.5.0. It seems that PasswordComplexityChecker method is gone away, but the password complexity settings are still alive. I've to check my self the password requirements or is a feature still missing from core version?
Thanks
Hi,
is implemented some kind of password expiration? (30 ,60, 90 days ?) I've found only ShouldChangeOnPasswordNextLogin
Thank you Ivano
Hi, We are upgrading from AspNetZero 3.2.0 to 4.3.0 (Core + Angular). All code is migrated and compiles, but I have an error when using two context on same database. On 3.2.0 all works fine but now when is made the call on GetUserByIdAsync I've the error: The specified transaction is not associated with the current connection. Only transactions associated with the current connection may be used.
profileRepository is a custom repository. userManager is the standard SolutionName.Authorization.Users.UserManager.
public async Task<UserInfo> GetUserInfo(long id) { var user = await GetUserFromProfile(id); var profile = await GetProfile(id); UserInfo userInfo = new UserInfo(user, profile); return userInfo; }
public async Task<User> GetUserFromProfile(long profileId) { var userId = await profileRepository.GetAsync(profileId); // <- this works var result = await GetUser(userId.UserId); return result; }
public async Task<User> GetUser(long userId) { var user = await userManager.GetUserByIdAsync(userId); // <- this fails return user; }
I've looked at MultipleDbContextDemo but it isn't with EfCore.
What I have to change to resolve this issue ?
Thank you.
Hi, We are moving from abp 3.2.0 to 4.3.0 core. I've noted the the source code available on github has changed the structure. Which projects and where I have to download in order to have the complete full code ?
GitHub - AspnetZero -> aspnet-zero-core seems a template project and also aspnet-zero. I need what in the first version were Abp.sln and Abp.Zero.sln.
Thanks
Hi, The standard method Authenticate with AuthenticateModel is logged in AbpAuditLogs with a clear text password and this is not good.
I need to change the source code and use [DisableAuditing] attribute or I'm missing some setting ?
Thank you.
Hi, I need to use reflection to call some methods from plugin2 to plugin1. Plugin 1 is always installed but I can't reference it in plugin2. How can I resolve IRepository<MyData> ?
using (var scope = iocResolver.CreateScope()) { var coreAssembly= AppDomain.CurrentDomain.GetAssemblies().FirstOrDefault(a => a.FullName.Contains("MyPlugin.Core")); var pluginRepositoryType = coreAssembly.GetType("MyPlugin.Core.IPluginRepository"); var pluginRepository= scope.Resolve(pluginRepositoryType ); //... do some method on pluginRepository works.
var genericRepository = scope.Resolve("IRepository<MyData>"); <--- How do this ?
}
Thank you
Hi, I've installed on several customer the AbpBoilerplate versione 1.5 with angular 2. After some time that the site is running, the web site hosted on IIS hangs and is stopped. Also in our stage and production server we have the same error. NetCore version 1.1.2 and DotNetCore.1.0.4_1.1.2-WindowsHosting The event viewer reports the same error:
Application: Uno.Framework.Web.Host.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.ObjectDisposedException at System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean ByRef) at System.StubHelpers.StubHelpers.SafeHandleAddRef(System.Runtime.InteropServices.SafeHandle, Boolean ByRef) at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv+NativeMethods.uv_async_send(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvAsyncHandle) at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.async_send(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvAsyncHandle) at Microsoft.AspNetCore.Server.Kestrel.Internal.KestrelThread.PostCloseHandle(System.Action`1
This is a very big problem because the site after the error is stopped. Can you help us to resolve this issue?
Thank you.
Hi, Is possible to change the Period of a PeriodicBackgroundWorkerBase after it has been initilized ? I would like to change it during time reading the value from database ( eg. 1 minute during day, 15 minutes during night).
Thanks.
Hi, I would like to log same informations when my Worker is initialized, like parameters, options and so on. This is my ctor. The call to repository works, but the Logger doesn't write nothing. On DoWork method the Logger works.
public class IntegrationWorker : PeriodicBackgroundWorkerBase, ISingletonDependency
....
public IntegrationWorker(AbpTimer timer,
IRepository<ConfigurationData> configurationRepository) : base(timer)
{
_impostazioniRepository = impostazioniRepository;
var periodData = _impostazioniRepository.FirstOrDefault(p => p.Parametro == "Polling");
var period = periodData == null ? 15000 : int.Parse(periodData.Value);
Logger.InfoFormat("Integration worker loaded with Period of {0} milliseconds", period);
timer.Period = Period;
}
Is possibile to log on constructor ?
Thank you.
Hi, I'm implementing a worker process with a plugin module. I've three module: Core, Entity Framework and the Worker. The Worker module needs a Repository but at the bootstrap Abp says: System.ApplicationException: Filter name MustHaveTenant not found.
I've used DependsOn attribute through on my modules, but which dependencies I'm missing ?
Thank you.