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

Activities of "bilalhaidar"

Hi, In my app, I am about to start developing a survey system whereby users can create new Surveys and fill them.

A user would need to find a list of Surveys that he/she has access to.

How can I make use of Permission system to do so?

I thought of creating a new Permission with every new Survey, but the framework doesn't allow this.

Another option would be to assign the Survey to 1 or more roles, those who belong to those roles can run the Survey.

Any suggestion on how to proceed?

Thanks

Thanks a lot :D

Thanks Ismail. The framework is really awesome and great tool to build on top of it!

Thanks I'll check that

Abp should save date in db as per Clock Provider configured. So if I set provider to be local then Abp should save data in db in the local time of server. This is my understanding

I thought data were converted to user timezone automatically that's why the confusion.

But given abp.timing.convertToUserTimeZone() can help in that conversion when needed. I'm not sure about AuditLog but there might be a valid example there.

Thanks :-)

ConvertFromUtc in TinezoneConverter is always used irrespective of Provider that's why I'm wondering. Can you check this please?

Thanks Hilal. So what you do basically is register an instance of Repository per DbSet in each DbContext?

Question

Hello, Is it possible for someone to change the Metronic theme? Is that too complicated? Any general guidance or recommendations?

Thanks

Hi, While digging into the AbpFramework I saw the class below. Is this the place where DateTime properties coming from client are normalized to the current Clock Provider?

public class AbpApiDateTimeBinder : IModelBinder
    {
        public bool BindModel(HttpActionContext actionContext, ModelBindingContext bindingContext)
        {
            var value = bindingContext.ValueProvider.GetValue(bindingContext.ModelName);
            var date = value?.ConvertTo(typeof(DateTime?), CultureInfo.CurrentCulture) as DateTime?;
            if (date != null)
            {
                bindingContext.Model = Clock.Normalize(date.Value);
            }

            return true;
        }
    }
Showing 221 to 230 of 635 entries