483 Questions

Ankit tewari
Ankit t...
40 Points
20 Posts
when i am sending email (with attached 7 mb image) then it is taking approx 50 seconds. So I am using this code. but still not working. Thread email = new Thread(delegate () { { SendMail("a", splitMailCC); }; }); email.IsBackground = true; email.Start();
Views: 44
Total Answered: 1
Total Marked As Answer: 0
Posted On: 14-May-2019 03:41
 
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
 
edx
edx
54 Points
17 Posts
In a table 'Customer', I have an Id column, which is an Identity int. How can I make it so that the next row inserted will get identity 1000(I think, this is called the identity seed) without dropping and recreating the 'Customer' table? I want to do this because of some uniqueness issue with an ext ...
Views: 33
Total Answered: 2
Total Marked As Answer: 0
Posted On: 09-May-2019 05:47
 
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: 107
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
 
Kd M
Kd M
2 Points
1 Posts
I'm developing a website and trying to debug in chrome dev tool. Dev tool is showing following css style: table { display: table; border-collapse: separate; border-spacing: 2px; border-color: grey; } But it it important to note that I did not define them. On Chrome dev tool ...
Views: 51
Total Answered: 1
Total Marked As Answer: 0
Posted On: 12-Apr-2019 22:02
 
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
 
kd
kd
4 Points
2 Posts
I have few pages in website and don't want to crawled by any crawlers. How do I disallow specific page, directory using robot.txt.
Views: 7120
Total Answered: 2
Total Marked As Answer: 0
Posted On: 28-Feb-2019 23:06
 
banner-home

Blog

Active User (1)

 Log In to Chat