Hi **@ricardo **
Does that work if you use . instead of , ? For example 67.67 ?
Hi @ismcagdas
if use . it works. But the defined language is pt-br where the decimal separator is , How can I adjust so that , is correctly sent to the service?
How can I globally change the position of the toastr in MVC .NETCORE
Tanks.
The country's legislation requires the generation of a receipt that contains a sequential number starting with 1 for each establishment. Where later a tax report will be issued and compared with each receipt generated. The sequential number cannot have gaps. This exclude generating a single sequence for all tenants.
Worked perfectly. Thank you very much for the quick feedback.
created CreateAsync override in UserClaimsPrincipalFactory.cs
after login the value is correctly updated in CurrentUnidaNegocioAtivaIdOrNull in the session. But when the user makes the change via SetUnidadeNegocioAtiva, the value is not replicated to the session. Only after the second post to the server is it able to fetch the value correctly.
Is there any way for the value to be instantly updated in the session? Where can I be wrong?
sorry i was looking in the wrong folder
Hi, after upgrading to version 10.0.0, Log4Net stopped logging the logs. I'm running visual Studio as an administrator and i have write access to the folder.
log4net.config:
<?xml version="1.0" encoding="utf-8" ?>
<log4net>
<appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender" >
<file value="App_Data/Logs/Logs.txt" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="10" />
<maximumFileSize value="10000KB" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%-5level %date [%-5.5thread] %-40.40logger - %message%newline" />
</layout>
</appender>
<root>
<appender-ref ref="RollingFileAppender" />
<level value="DEBUG" />
</root>
</log4net>
//Configure Abp and Dependency Injection
return services.AddAbp<EpmWebMvcModule>(options =>
{
//Configure Log4Net logging
options.IocManager.IocContainer.AddFacility<LoggingFacility>(
f => f.UseAbpLog4Net().WithConfig(_hostingEnvironment.IsDevelopment()
? "log4net.config"
: "log4net.Production.config")
);
options.PlugInSources.AddFolder(Path.Combine(_hostingEnvironment.WebRootPath, "Plugins"), SearchOption.AllDirectories);
});
I'm forgetting something?