<cite>ismcagdas: </cite> Hi,
In AspNet Zero, we handled it in this way.
- We return the values in UTC to client.
- We use <a class="postlink" href="https://momentjs.com/timezone/">https://momentjs.com/timezone/</a> library and set the timezone with user's current timezone setting. You can reach it using "abp.timing.timeZoneInfo.iana.timeZoneId" on the client side.
- Then you can use momentjs to format your dates and it will show dates in the specific time zone.
Please write back if you have a different requirement.
Thanks.
Hi Ismail,
Even the default implemented Clock.Provider is set to "Local"? AspNet Zero will first convert the date/time stored in DB in Local to UTC before returning the data to Client side?
Thanks. p/s: Sincere apology if i got your name wrong.
<cite>maikeloh: </cite> I am trying to implement optimistic concurrency in my aplication service following the guidelines of this feature in entity framework, but i can't make this work, can any provide one example of optimistic concurrency with entity framework and abp. thanks a lot
I was hoping a reply from support coz i am lack of knowlege to begin a proof of concept. May I know how did you attempt the implementation?
The Use Case is primarily motivated by creating a Document/Transaction Number generation module. For example, for each Sales Order saved, a unique SO# can be assigned to the record in addition to the Record Id. Typically, it would be called a Document No. Therefore, it will be critical to ensure that no duplicate Doc No is generated when multiple users are creating new orders at the same time (concurrently).
Thanks. /Tommy
If using asp.net zero template, by default, the server is running on UTC.
Global.asax.cs is set with Clock.Provider = ClockProvders.Utc
To use local time, the line of code to be removed according to the code comments.
This seems to be different from the online documentation for ASP.NET ZERO, stating "... default startup solution does not enable UTC datetimes.."
Thanks. /tommy
<cite>drcgreece: </cite> Hi, I got a complaint from my client for the following behavior in the Metronic template (Attached). They use tablets of width ~640.
This snapshot is taken from the online demo that you offer: <a class="postlink" href="http://test4-27490.demo.aspnetzero.com/Application#!/tenant/dashboard">http://test4-27490.demo.aspnetzero.com/ ... /dashboard</a> Username/Password: admin/123456
Can we do something about it?
Hi Bilal,
May I know what tool did you use to capture the screen that ruler bars?
Thanks. /Tommy
<cite>maikeloh: </cite> I am trying to implement optimistic concurrency in my aplication service following the guidelines of this feature in entity framework, but i can't make this work, can any provide one example of optimistic concurrency with entity framework and abp. thanks a lot
Please refer to this: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/50">https://github.com/aspnetboilerplate/as ... /issues/50</a>
It is under feature request with Open status.
<cite>ismcagdas: </cite> Hi,
I understand your point but I couldn't find a good way for using a relative path. If you have an idea, I will be happy to hear.
Thanks.
Hi,
Am I right to say that using the current implementation does not automatically translate the "relative path" to actual path when sending the email?
If so, I guess the URL path translation has to be manually done during the replacement of HEADER and BODY. For example, insert a new token called ROOTPATH and replace it after correct site root path.
Agreed?
/tommy
Understood. But I m hoping relative path can be used instead of absolute path. For example, "/Images/Logos/logo.png". However, this was not translated when viewing in email client.
Without this ability, prior to deploying from staging environment to live environment, have to change the image path and recompile the solution.
Hope the above further clarifed the intention.
Thanks. /tommy
Yes. The first one. Would you able to point me to example of implementing the widget permission and asssignment.
Thank you. /tommy
Dear Support,
Would appreciate if you could advice such authorisation is possible at all or I need to buld one dashboard per user role. Thanks.
/Tommy
<cite>hikalkan: </cite> Check also browser's console for error logs. Also, please share the steps you did for implementing. It should be like that:
- Download library from somewhere (nuget, bower etc)
- Add css & js files to layout
- add module dependency to your angular app
Then you can add code to view and controllers. Please share all steps and code you did write.
Hi Hikalkan,
I will be great if such example is part of PhoneBook Step-by-Step Development. This is quite a common user interface/experience for Form Design Layout.
Really look forward to the documentation improvement.
Thanks. /Tommy