15 Questions

Smith
Smith
Participant
374 Points
112 Posts
I am trying to run hangfire recurring job daily on 11.00 AM. Here is what I want to do- RecurringJob.AddOrUpdate(() => MyMethod(), "* 11 * * *"); But it's always confusing cron expression. Is there any other way?
Views: 28
Total Answered: 1
Total Marked As Answer: 0
Posted On: 10-May-2019 01:39 
 
Smith
Smith
Participant
374 Points
112 Posts
I'm getting following error when try to migrate db in my local machine DB: A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.) ...
Views: 106
Total Answered: 2
Total Marked As Answer: 0
Posted On: 24-Apr-2019 23:29 
 
Smith
Smith
Participant
374 Points
112 Posts
I'm trying to execute long running process by using System.Threading.Tasks and calling it from MVC controller action: new Task( () => { // long runing process and fetching data using EntityFrameworkCore }).Start(); I'm getting following error: A second operation started on ...
Views: 93
Total Answered: 4
Total Marked As Answer: 1
Posted On: 19-Apr-2019 04:51 
 
edx
edx
54 Points
17 Posts
I have created new index from existing one by using following Query DSL: POST _reindex { "source": { "index": "myindex" }, "dest": { "index": "new_myindex" } } Now, tried to search on new index but now I'm getting following error: { "error": { "root_cause": [ ...
Views: 7163
Total Answered: 2
Total Marked As Answer: 0
Posted On: 29-Mar-2019 05:47 
 
Smith
Smith
Participant
374 Points
112 Posts
I have web-service hosted on Azure. And I'm tried to request an endpoint that has long running process. I'm getting following error after around 2 minutes: <h2>502 - Web server received an invalid response while acting as a gateway or proxy server.</h2> <h3>There is a problem ...
Views: 7123
Total Answered: 2
Total Marked As Answer: 0
Posted On: 29-Mar-2019 02:08 
 
edx
edx
54 Points
17 Posts
I have user's birthday in datatime object format, how do I calculate their age in years?
Views: 7086
Total Answered: 3
Total Marked As Answer: 0
Posted On: 27-Mar-2019 02:45 
 
Raj
Raj
Member
18 Points
4 Posts
I'm using .netcore with vuejs development and with VS 2017. When try to build application, I'm getting following error: MSB3073 The command "node node_modules/webpack/bin/webpack.js" exited with code I have no idea what is happening here. Previously it was working fine and after upgading package ...
Views: 8176
Total Answered: 1
Total Marked As Answer: 1
Posted On: 03-Dec-2018 04:44 
 
Stevan
Stevan
26 Points
13 Posts
how to convert 24 hours string format to 12 hours format in c#? For examle: "20:30" to "8:30 pm" "09:30" to "9:30 am"
Views: 8225
Total Answered: 2
Total Marked As Answer: 1
Posted On: 07-Aug-2018 04:08 
 
kikme
kikme
8 Points
4 Posts
I'm using amazon AWSSDK.SimpleEmail email service to send email. I want to set the name as well as email address in the from email address. var message = new Message(subject, body); var request = new SendEmailRequest(emailModel.From, to, message); var client = GenerateClient(); var result = awa ...
Views: 8158
Total Answered: 1
Total Marked As Answer: 0
Posted On: 06-Aug-2018 00:18 
 
beginer
beginer
72 Points
31 Posts
I'm using nlog for logging but I'm getting following error: Warn Missing IHttpContextAccessor. Has it been registered before loading NLog Configuration? Consider reloading NLog Configuration after having registered the IHttpContextAccessor. public Startup(IHostingEnvironment env) { env.Con ...
Views: 8219
Total Answered: 1
Total Marked As Answer: 0
Posted On: 11-Jul-2018 02:28 
 
banner

Blog

Active User (1)

 Log In to Chat