Base solution for your next web application

Activities of "azmat"

Question

I am going to create a new project using "Asp.Net Core MVC & JQUERY" type, I want to know which .NET Framework version i should use? My concerns are following,

Are you going to support both frameworks in the furture or will be more inclined towards .Net Core?

Is there any limitation in Asp.Net Zero features if i create a project using .Net Framework 4.6.1?

My application requirement is pretty basic, i want to use Rapid Application Development tool and feature wise i need Audit History, Permission Management, LDAP authentication and Hangfire for background jobs.

If by using .Net Framework i can avoid installing .Net Core in my production environment then it will be easier for me, otherwise i need to convince system admin to install it which is time consuming.

Hi,

I want to configure a recurring job through hangfire, i have already created my job folloiwng the approach mentioned in following link.

https://aspnetboilerplate.com/Pages/Documents/Background-Jobs-And-Workers#create-a-background-job

I can call it from application service using following code, _backgroundJobManager.Enqueue<MortgageStatusService, int>(1);

May i know how i can configure it at the start of application so that it executes after every 15 minutes?

public class MortgageStatusService : BackgroundJob<int>, ITransientDependency { private readonly IRepository<CarMortgage> _carMortgageRepository; private readonly IRepository<CarMortgageLog> _carMortgageLogRepository; private readonly IUnitOfWorkManager _unitOfWorkManager;

    public MortgageStatusService(
        IRepository&lt;CarMortgage&gt; carMortgageRepository,
        IRepository&lt;CarMortgageLog&gt; carMortgageLogRepository,
        IUnitOfWorkManager unitOfWorkManager)
    {
        _carMortgageRepository = carMortgageRepository;
        _carMortgageLogRepository = carMortgageLogRepository;
        _unitOfWorkManager = unitOfWorkManager;
    }

    [UnitOfWork]
    public override void Execute(int args)
    {
        SynchronizeData.Synchronize(_carMortgageRepository, _carMortgageLogRepository);
    }
}

that i figured out but i want to know the syntax to configure a job to run after every 15 minutes.

I managed to schedule it in PostInitialize using following code.

RecurringJob.AddOrUpdate&lt;MortgageStatusService>("Synchrnize-With-xxxxxxxx", x => x.Execute(1) , Cron.MinuteInterval(15));

Hi,

I would like to enable auditing in certain section of application only, when some changes to data happens. Like change in Role Permission, User assignment to roles and when data is added or modified in few entities created for my application.

Can you guide me how to achive above requirement?

I have done below steps Configuration.MultiTenancy.IsEnabled = false;// AbuDhabiPoliceConsts.MultiTenancyEnabled;

        //Enable LDAP authentication (It can be enabled only if MultiTenancy is disabled!)

Configuration.Modules.ZeroLdap().Enable(typeof(AppLdapAuthenticationSource));

In setting, I have enable the Windows Authenication still i am unable to login.

https://docs.aspnetzero.com/documents/zero/latest/Development-Guide-Mvc-Angularjs We are using ASP.NET MVC 5.x & JQuery Template Please help

managed to achieve it by adding [DisableAuditing] in all controllers and services methods where auditing is not required.

Ideally there should be a way to stop auditing for whole application and enable it only on required Controllers and services

managed to do it by setting application pool account to domain account and removing domain name from settings page.

Hi,

Can you provide detail documentation for ADFS integration.

  1. when adfs configuration is done what are the properties which are required and what should be their name.
  2. when user will access the site for the first time, after getting a token from ADFS we need to add a user to Users table and default roles, may i know the method and class in which i can do that.
Showing 1 to 10 of 13 entries