Question:how check for not null against a field in mongodb using mongodb compass?
Description:I have string field "UserId" for which I need to get all those records where "UserId" not equal to null, i.e "UserId" has some value for the record
Posted by: Umer khan | Posted on: Jul 28, 2020
Question:The setup for this installation of Visual Studio is not complete. Please run the Visual Studio Installer again to correct the issue.
Description:I am using Visual Studio 2019(community version) on my local development machine for months and today I started getting error "The setup for this installation of Visual Studio is not complete. Please run the Visual Studio Installer again to correct the issue." And unable to run visual studio any more.
Posted by: Samantha Jones | Posted on: Jun 25, 2020
Question:Easiest way for deploying a asp.net core web api on heroku sever?
Description:I have developed an asp.net core web api with mongodb by the help of following link . Now I need to deploy this web api on heroku server while I already have my mongodb on mongodb cloud and I also have created app on heroku server.
Posted by: Umer khan | Posted on: Jun 08, 2020
Question:Need to create a .net core web api using MongoDB as backend storage database?
Description:I am new to .net core and mongodb as well. I have prior experience of using .net and mssql can anyone suggest me a complete working example, so that I can get an idea about the architecture of such asp.net core api.
Posted by: Umer khan | Posted on: May 22, 2020
Question:how to get the last column used/last column that has some data in a excel file programmatically by using C#?
Description:I need to iterate through a single row where I don’t know the end range as I have a dynamically generated excel file which might have different number of columns used every time. I am using following code, taken from reference code List<string> myValue = new List<string>(); //unknown end Range //need to get the Last data filled column or Last Column used in the following line string endRange="D1"; foreach (Range row in sheet.Cells.Rows.Range["A1", endRange]) { Range cell = (Range)row.Cells[1, 1]; if (cell.Value2 != null) { myValue.Add(Convert.ToString(cell.Value2)); } }
Posted by: Peter Andre | Posted on: Jan 22, 2020
Question:How to dynamically generate sitemap xml for an asp.net mvc website?
Description:I have a website developed using asp.net mvc (c#) which contains some static pages and also some dynamic pages i.e where the content is fetched from database and is dynamically increasing as well, So I need to build such a sitemap for which I need to code for once and it take care of the future items that needs to be included in the sitemap.
Posted by: Khalid Abbas | Posted on: Jan 21, 2020
Question:How to get the list of all available powerpoint control’s ids?
Description:I need all available powerpoint (currently i am using office 2016) control ids as I have to utilize them for development purpose. it will be good if i can have ids for older versions of powerpoint which might be useful to avoid any compatibility issues.
Posted by: Samantha Jones | Posted on: Jan 21, 2020
Question:Iterate through a single specified row of an excel sheet using vsto in C# code?
Description:I have a excel sheet and I need to create a list containing all the values of the specified row or specified range!
Posted by: Samantha Jones | Posted on: Jan 15, 2020
Question:How to update Legend / series text of powerpoint chart using VSTO in C#?
Description:I am dynamically adding series items but the series/Legend items always showing text as series1,series2 and so on… but let say I want to update them as my series 1, my series 2, and so on. I am clueless as there is very less information available regarding the topic.
Posted by: Samantha Jones | Posted on: Jan 10, 2020
Question:How to setup a redirect from non-www to www (http) for asp.net mvc application preferably using web.config rewrite rules?
Description:I have a website built on asp.net mvc deployed using the latest iis version, where I have URL Rewrite module installed. I have already tried some rewrite rules but found some wrong redirects so I have removed it, now need some urgent workaround as it is current affecting live site!
Posted by: Umer khan | Posted on: Jan 07, 2020