Base solution for your next web application

Activities of "bosalah"

metronic example use this

   ngAfterViewInit() {
        this._script.loadScripts('app-wizard-wizard-2',
            ['assets/demo/default/custom/crud/wizard/wizard.js']);

    }

I cant find this function I tried to add wizard.js to angular.json and nothing happend

+1 is there any release date ?

I cant w8 !!!!

Same here ! I have the same problem. all answers did not solve the problem for me.

Question

Switching to Arabic changes Dates to to Hijri format. I want them in Gregorian in fronend and backend V 8.0 ASP CORE with ANGULAR 8

Answer
  • 1 please help angular 8 asp core 3 pro I am facing the same issue , Could you please clarify which places you did your changes either front-end or server side with sample codes so, i can fix it on our solution :)
Answer

I did your solution and it worked good but I can't change the language  in frontend I can't understand the last part about how can I  execute other request culture localizers in my custom class

----------------------------------------------------------- you need to execute other request culture localizers in your custom class

  1. First create a class like below in your *.Web.Host project:
public class MyRequestCultureProvider : RequestCultureProvider
{
	public override Task<ProviderCultureResult> DetermineProviderCultureResult(HttpContext httpContext)
	{
		var result = new ProviderCultureResult(culture: (StringSegment)"en-US", uiCulture: (StringSegment)"ar");
		return Task.FromResult(result);
	}
}

<span class="colour" style="color: rgb(0, 0, 0);">Then, use it like this to see if server returns dates with correct format:</span>

app.UseAbpRequestLocalization(opts =>
{
	opts.RequestCultureProviders.Insert(0, new MyRequestCultureProvider());
});

But, this will work before all request culture providers, so when you change the language on the UI, it will not work. So, you need to execute other request culture localizers in your custom class (like this one https://github.com/aspnetboilerplate/as ... rovider.cs), then determine correct uiCulture.

after publish and deploy to iis i got this on the remote server

result: null, targetUrl: null, success: false, error: { code: 0, message: "Could not find content root folder!", details: "Exception: Could not find content root folder! STACK TRACE: at Israa.Web.WebContentDirectoryFinder.CalculateContentRootFolder() in D:\IsraaAspZero\IsraaCore3Angular\Israa\aspnet-core\src\Israa.Core\Web\WebContentFolderHelper.cs:line 27 at Israa.EntityFrameworkCore.MyConnectionStringResolver.GetNameOrConnectionString(ConnectionStringResolveArgs args) in D:\IsraaAspZero\IsraaCore3Angular\Israa\aspnet-core\src\Israa.EntityFrameworkCore\EntityFrameworkCore\MyConnectionStringResolver.cs:line 30 at Abp.Domain.Uow.UnitOfWorkBase.ResolveConnectionString(ConnectionStringResolveArgs args) at Abp.EntityFrameworkCore.Uow.EfCoreUnitOfWork.GetOrCreateDbContext[TDbContext](Nullable1 multiTenancySide, String name) at Abp.EntityFrameworkCore.Uow.UnitOfWorkExtensions.GetDbContext[TDbContext](IActiveUnitOfWork unitOfWork, Nullable1 multiTenancySide, String name) at Abp.EntityFrameworkCore.Uow.UnitOfWorkDbContextProvider1.GetDbContext(Nullable1 multiTenancySide) at Abp.EntityFrameworkCore.Repositories.EfCoreRepositoryBase3.get_Context() at Abp.EntityFrameworkCore.Repositories.EfCoreRepositoryBase3.<GetQueryable>b__7_0(Type key) at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory) at Abp.EntityFrameworkCore.Repositories.EfCoreRepositoryBase3.GetQueryable() at Abp.EntityFrameworkCore.Repositories.EfCoreRepositoryBase3.GetAllIncluding(Expression1[] propertySelectors) at Abp.EntityFrameworkCore.Repositories.EfCoreRepositoryBase3.GetAll() at Castle.Proxies.Invocations.IRepository2_GetAll_30.InvokeMethodOnTarget() at Castle.DynamicProxy.AbstractInvocation.Proceed() at Abp.Domain.Uow.UnitOfWorkInterceptor.PerformSyncUow(IInvocation invocation, UnitOfWorkOptions options) at Abp.Domain.Uow.UnitOfWorkInterceptor.PerformUow(IInvocation invocation, UnitOfWorkOptions options) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Castle.Proxies.IRepository1Proxy_5.GetAll() at Israa.IsraaSettings.Rooms.RoomAppService.GetAll() in D:\IsraaAspZero\IsraaCore3Angular\Israa\aspnet-core\src\Israa.Application\IsraaSettings\Rooms\RoomAppService.cs:line 36 at lambda_method(Closure , Object ) at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult() at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.

asp core 3 angular 8 after Publish To IIS

thank you millions :)

Showing 1 to 10 of 16 entries