Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "jehadk"

How I can send to you my logs

Dears,

I created BackgroundJob class and added to PostInitialize => workManager.Add(IocManager.Resolve<xxBackgroundJob>());

why the job does not worked

public class xxBackgroundJob : PeriodicBackgroundWorkerBase, ISingletonDependency { private const int CheckPeriodAsMilliseconds = 5000;////10006010; private readonly IInsTariffIntegAppService _IInsTariffIntegAppService;

    public BarzanBackgroundJob(AbpTimer timer, IInsTariffIntegAppService theIInsTariffIntegAppService)
        : base(timer)
    {

        _IInsTariffIntegAppService = theIInsTariffIntegAppService;
        Timer.Period = CheckPeriodAsMilliseconds; //5 seconds (good for tests, but normally will be more)
        Timer.RunOnStart = true;

    }

    [UnitOfWork]
    protected override void DoWork()
    {
        _IInsTariffIntegAppService.CrtInsTariffSetup1();
    }
}

YEs useing EF , are there another way

my Database is SQL server but I need to connect to another Database(Oracle) to call some SP

Dears, ASPZERO MVC Core(AspNetZeroCore v5.3.0) first if I can call oracle SP and it is support, how I can do that ?

AspNetCore, Version=3.5.0.0

Yes I installed dotnet-hosting-2.1.2-win (<a class="postlink" href="https://www.microsoft.com/net/download/thank-you/dotnet-runtime-2.1.3-windows-hosting-bundle-installer">https://www.microsoft.com/net/download/ ... -installer</a>)

problem in deployment the ASPZero MVC Core on windows 2008 R2 Enterprise Bild7601

Application 'MACHINE/WEBROOT/APPHOST/BARZNWEB.BARZNWEB.WEB.MVC' with physical root 'C:\ASPZero\publish' failed to start process with commandline 'C:\ASPZero\publish\BarznWeb.BarznWeb.Web.Mvc.exe ', ErrorCode = '0x80004005 : 80131700.

<?xml version="1.0" encoding="utf-8"?> <configuration> <system.web> <authentication mode="Windows" /> </system.web> <system.webServer> <handlers> <add name="aspNetCore" path="" verb="" modules="AspNetCoreModule" resourceType="Unspecified" /> </handlers> <aspNetCore processPath=".\BarznWeb.BarznWeb.Web.Mvc.exe" arguments="" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false" startupTimeLimit="3600" requestTimeout="23:00:00" /> <httpProtocol> <customHeaders> <remove name="X-Powered-By" /> </customHeaders> </httpProtocol> </system.webServer> </configuration>

<a class="postlink" href="http://localhost/BarznWeb.BarznWeb.Web.Mvc/swagger/">http://localhost/BarznWeb.BarznWeb.Web.Mvc/swagger/</a>

or

<a class="postlink" href="http://localhost/BarznWeb.BarznWeb.Web.Mvc/swagger/v1/swagger.json">http://localhost/BarznWeb.BarznWeb.Web. ... agger.json</a>

But when run the VS on debug mode and call the web browser using the following link <a class="postlink" href="http://localhost:62114/swagger/">http://localhost:62114/swagger/</a> the swagger is working fine

Can you please support me with sample of code working on the ASPZero version 3.5

the error when trying to call swagger is: error 404 but when run the app debug mode using VS the swagger is working fine

I am trying to deply the ASPZero application to IIS but I have below problem

Showing 1 to 10 of 26 entries