532 Questions

edx
edx
70 Points
25 Posts
I'm using WebRequest to consume/integrate REST api in .netcore project something like: WebRequest request = WebRequest.Create(url); request.Method = "POST"; request.Credentials = MyCredentialCache; try { WebResponse response = await request.GetResponseAsync(); } catch { } It's w ...
Views: 11
Total Answered: 1
Total Marked As Answer: 0
Posted On: 26-Oct-2020 00:36 
 
beginer
beginer
156 Points
48 Posts
I have installed docker desktop in one administrator user account in Windows-10 home and working fine in this user. But having issue to running docker desktop in other user account. Getting error "user in not docker users group" I tried to add it as follows: Windows Key + R Type "netplwiz" ...
Views: 62
Total Answered: 1
Total Marked As Answer: 1
Posted On: 15-Oct-2020 06:42 
 
Jak
Jak
Member
392 Points
161 Posts
I'm using nlog with .netcore REST Api as: using Microsoft.Extensions.Logging; } catch (Exception ex) { Logger.LogCritical(-1, ex, string.Format("error occurred: {0}", ex.Message)); } But getting error as: An error occurred while writing to logger(s). (Input string was not in a cor ...
Views: 82
Total Answered: 1
Total Marked As Answer: 0
Posted On: 30-Sep-2020 03:26 
 
edx
edx
70 Points
25 Posts
I have two collections User { "_id" : ObjectId("5f51dac5ea43442fa419ca1f"), "name" : "John b" } Role { "_id" : ObjectId("584aaca6686860d502929b8d"), "role" : "Admin", "userId" : "5f51dac5ea43442fa419ca1f" } I want to join two collection based on the userId (in role collect ...
Views: 180
Total Answered: 2
Total Marked As Answer: 1
Posted On: 11-Sep-2020 05:35 
 
Jai
Jai
2 Points
1 Posts
I want to serialize enum as string instead of index integer value from the rest api action. I'm trying with following model using Newtonsoft serializer: using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System; using System.Collections.Generic; using System.Text; namespace View ...
Views: 296
Total Answered: 2
Total Marked As Answer: 1
Posted On: 20-Aug-2020 02:20 
 
beginer
beginer
156 Points
48 Posts
Is there any way to parse or decode the bearer token i.e. jwt access token in c#. I want to get all claims in the token. I don't want to authenticate it but to get claims.
Views: 152
Total Answered: 1
Total Marked As Answer: 1
Posted On: 14-Aug-2020 05:52 
 
Stevan
Stevan
40 Points
20 Posts
I want any regex expression where can change all Uppercase to lowercase in href attribute in anchor tag. For example: <a href="/Category">Text</a> <a href="/Abc-XYZ">Text</a> <a href='/CategorY/'>Text</a> Output should like: <a href="/category">Tex ...
Views: 224
Total Answered: 1
Total Marked As Answer: 0
Posted On: 01-Aug-2020 05:25 
 
Smith
Smith
Participant
532 Points
131 Posts
After updating to latest version v16.6.5. Visual Studio Community 2019 disappears on launch. It's happening every launch. Install again but issue was not resolved.
Views: 166
Total Answered: 0
Total Marked As Answer: 0
Posted On: 22-Jul-2020 03:02 
 
david scott
david s...
4 Points
2 Posts
Try Windows Live Mail to Outlook PST Converter which enable the users to export all the complete data from windows live mail to PST, EML, MSG, & PDF Format in simple steps. This Tool provide so many advanced and well developed features from which all users can easily export windows live mail to ...
Views: 256
Total Answered: 1
Total Marked As Answer: 0
Posted On: 14-Jul-2020 04:09 
 
beginer
beginer
156 Points
48 Posts
I'm try to serialise an C# object to json by using Newtonsoft.Json.Serialization but it's returning name of properties as Pascal-case. For an example consider the following C# class: public class Person { public string FirstName { get; set; } public string LastName { get; set; } } ...
Views: 202
Total Answered: 1
Total Marked As Answer: 0
Posted On: 09-Jul-2020 00:07 
 
 Log In to Chat