Lalji Dhameliya

 The 2nd Monitor

General discussion about codereview.stackexchange.com - Welcom...
Jan 30, 2018 09:54
0
Q: PriceCalculation of space booking based on day/week/month rate

Lalji Dhameliyai am working in one project related space booking.booked a space based on day/week/month with different price. i have created one class for calculate price either or like allow only hourly/day booking,some space avail for only day/month booking and some space allow for day/week and month and vice...

Jan 19, 2018 12:47
1
Q: Common Implementation for Sending mail based on time

LjdhameliyaI have created one Background service that execute after every 5 minutes and this service used for sending email after 6 hour,24 hour and 48 hour for user booking order is not confirmed. for that i have created below method and enums. public enum Enum_AbandonedCartEmailNotifyHour { ...

 
Jan 25, 2018 10:45
got your point
Jan 25, 2018 10:43
and if i create different extension method like you suggested public static async Task LogUserWarning(this EventLogger logger,
DateTimeOffset eventTriggeredOn,
string eventName,
string message)
{
// ...
}
Jan 25, 2018 10:40
and for savechanges for log i have used await UnitOfWork.SaveChangesAsync(); that call my unit of work and save dbcontext it this good way to every log method call and call savechanges in database?
Jan 25, 2018 10:38
yes for same i also required unti test case
Jan 25, 2018 10:28
as created IHttpRequestInspector interface and implementation can i create for logger is it good way?
Jan 25, 2018 10:27
hello
Jan 25, 2018 10:25
can we add DateTimeOffset eventTriggeredOn in Log() method rather than every time pass from calling method is this right way?
Jan 25, 2018 10:25
"Do not use System.Web.HttpContext.Current directly" then for get ip address i need to pass parameter in log() method right? and pass this ip value from calling method
Jan 25, 2018 10:25
in my implementation in every call savechanges() in db is there any way to reduce this database call.
Jan 25, 2018 10:25
for log event i have used every time await EventLogger.Log(DateTimeOffset.Now, Enum_EventType.Update, "Update Listing", Enum_LogType.Information, "Completed", listing.ID.ToString());
 

 Language Overflow

This is the main chat room for ell.stackexchange.com. Welcome!
Oct 17, 2016 11:13
i want to learn english speaking
Oct 17, 2016 11:13
from where to start learning english
Oct 17, 2016 11:12
hello
Oct 17, 2016 11:12
helo