599 Questions

Priya
Priya
Member
194 Points
47 Posts
In asp.net application, I'm trying to determine the exception of type SQLException so that if any db exception occurs we log error or so. I have following section in Global.asax.cs void Application_Error(object sender, EventArgs e) { var _logger = LogManager.GetCurrentClassLo ...
Views: 155
Total Answered: 1
Total Marked As Answer: 0
Posted On: 08-Jan-2022 05:01 
 
Raj
Raj
Member
38 Points
9 Posts
I have integrated custom error handling in asp.net application. Working fine for error status 404 and 500. But 500 error page having db call so in case db server down, we are getting following error: An exception occurred while processing your request. Additionally, another exception occurred whil ...
Views: 100
Total Answered: 0
Total Marked As Answer: 0
Posted On: 08-Jan-2022 04:53 
 
Smith
Smith
Teacher
672 Points
146 Posts
I'm using MongoDb .net driver to do linq query to db and working fine. But when doing load testing and checking the actual command execution in db then seems event simple linq query converting to aggregate and degrading performance. Following is linq query: var order = await mongoDbService.GetCo ...
Views: 106
Total Answered: 2
Total Marked As Answer: 0
Posted On: 30-Dec-2021 06:08 
 
edx
edx
136 Points
38 Posts
I'm trying to do sort on the basis of child element which in list of object as: _context.Orders.AsQueryable() .Where(predicate) .OrderBy(x => x.Items.OrderBy( x=> x.format.format )) .Skip(offset) .Take(limit) .ToList(); ...
Views: 163
Total Answered: 2
Total Marked As Answer: 1
Posted On: 16-Dec-2021 04:11 
 
Priya
Priya
Member
194 Points
47 Posts
I'm trying to do copy a collection to new collection as follows: db.getCollection('my-orders') .forEach(function (myOrders) { db.getCollection('my-orders-backup').insertMany([ myOrders ]); }); It's working fine for fewer record. But it's taking too much time for more than 20k docum ...
Views: 109
Total Answered: 1
Total Marked As Answer: 1
Posted On: 14-Dec-2021 04:58 
 
Rashmi
Rashmi
Member
170 Points
35 Posts
I have following json array object and need to get one item on the basis of some filter: var array = [ { name:"string 1", value:"this", other: "that" }, { name:"string 2", value:"this", other: "that" } ]; How to find an object value in an array of objects?
Views: 217
Total Answered: 1
Total Marked As Answer: 1
Posted On: 15-Nov-2021 06:30 
 
beginer
beginer
262 Points
76 Posts
I'm trying to connect an api which returning gzip compressed data in response. Due to this HTTP client throwing error: Doing something: public async Task<string> GetResponseString(string text) { var httpClient = new HttpClient(); var parameters = new Dictiona ...
Views: 215
Total Answered: 2
Total Marked As Answer: 2
Posted On: 08-Nov-2021 03:32 
 
Stevan
Stevan
62 Points
26 Posts
I'm try to set content in tinyMCE editor as: textAreatinyMCE.value= 'some text'
Views: 209
Total Answered: 2
Total Marked As Answer: 2
Posted On: 05-Nov-2021 02:37 
 
AlbertTaylor
AlbertT...
4 Points
2 Posts
In my opinion, the best solution for MSG to EML conversion is by using third-party tools. Like you can do it manually, but it will take your extra time, and also you have to repeat the same process again and again. One professional tool which I had used previously is Shoviv MSG to EML converter . ...
Views: 363
Total Answered: 7
Total Marked As Answer: 0
Posted On: 25-Oct-2021 02:54 
 
Brave Jacob
Brave J...
2 Points
1 Posts
Stella Olm to Eml Converter software is a robust program to convert all olm files information into an eml file This software was specifically created to convert every mac olm data files into EML file. This software can convert all the data of olm files to eml format using the best methods of ...
Views: 194
Total Answered: 1
Total Marked As Answer: 0
Posted On: 21-Oct-2021 00:39 
 
 Log In to Chat