Hi @Neozzz, I've made the necessary changes on your repo and send a pull-request. You can examine the PR and if your problem is resolved you can close the question.
Hi engincan, The names are different. I did not want to put the exact name out in the public domain. Are you free for a remote session? or please share your mail id. Thanks :)
You can send an email to engin.veske@volosoft.com. Thanks.
Hi @Neozzz, I've accepted your invitation and examine the project but I could not see the related entities (Employee, Contact and Address).
Sure, my github account: https://github.com/EngincanV
If you add your contacts through the Employee
entity as below (by using Contact collection)
var employee = new Employee();
employee.Contacts.Add(new Contact());
await _employeeRepository.CreateAsync(employee);
you also need to create constructor with id parameter for Employee
entity like you do for the Contact
entity.
Hi @Neozzz, does your problem be related with https://github.com/abpframework/abp/issues/2660?
Hi @Qusai,
and the BackGround worker does it execute (DoWorkAsync) everytime the timer starts ? lets say im executing something that will take alot of time and the timer is set to 1 minute , will it still execute the (DoWorkAsync) ? or will it wait until the first execution is done and then count another 1 minute ?
It waits until the first execution is done but does not count another 1 minute again. For example: Just assume you set your timer as 10 minute and it first called at 1.10pm, and assume your job finished at 1.22pm (took 12minutes, more than our period). The counter will not count from that point it will only count extra 8 minutes to complete your period (10 minutes) and run your worker.
Hi @uyarbtrlp, as I see your problem is resolved so I close the question. If your problem is not resolved yet, please don't hesitate to re-open it.
Hi @Shoba24, Can you share your *.cshtml.cs file?
Hi,
Can you change your UseSwaggerUI
middleware as follows?
app.UseSwaggerUI(options =>
{
// builds a swagger endpoint for each API version
foreach (var description in provider.ApiVersionDescriptions)
{
options.SwaggerEndpoint($"/swagger/{description.GroupName}/swagger.json", description.GroupName.ToUpperInvariant());
}
var configuration = context.GetConfiguration();
options.OAuthClientId(configuration["AuthServer:SwaggerClientId"]);
options.OAuthClientSecret(configuration["AuthServer:SwaggerClientSecret"]);
});