Questions

bgn
bgn
2 Points
1 Posts
I'm pretty new  android developer. I want to know where is the best place to store something global data  like a auth token that I get from logging in on API server. With every subsequent request, we need to post this auth token. Sure I could keep a global class somewhere, but I just want ...
Total Answered: 1
Total Marked As Answer: 0
Posted On: 11-Aug-2018 02:41
 
Stevan
Stevan
4 Points
2 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"
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 ...
Total Answered: 1
Total Marked As Answer: 0
Posted On: 06-Aug-2018 00:18
 
beginer
beginer
46 Points
18 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 ...
Total Answered: 1
Total Marked As Answer: 0
Posted On: 11-Jul-2018 02:28
 
Stevan
Stevan
4 Points
2 Posts
I'm getting following error: "there is already an open datareader associated with this command which must be closed first" at System.Data.SqlClient.SqlInternalConnectionTds.ValidateConnectionForExecute(SqlCommand command) at System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute ...
Total Answered: 2
Total Marked As Answer: 1
Posted On: 22-Jun-2018 03:21
 
sam
sam
134 Points
62 Posts
I'm using hangfire in .netcore api project. Everything  working fine but dashboard not appearing on staging environment. In the local machine it's working fine.  On staging is showing "HTTP ERROR 401".
Total Answered: 2
Total Marked As Answer: 0
Posted On: 01-Jun-2018 00:40
 
Rohit
Rohit
Participant
6 Points
3 Posts
If there is a running 'for' loop in a program and we want to jump out from that loop before the loop terminated then how we can do this in C.
Total Answered: 1
Total Marked As Answer: 1
Posted On: 29-May-2018 03:14
 
Ankit tewari
Ankit t...
36 Points
18 Posts
I have to make a datewise  guest room allocation report as in asp.net . how to make this type of design as i have upload . All room no are dynamic
Total Answered: 1
Total Marked As Answer: 0
Posted On: 26-May-2018 00:19
 
beginer
beginer
46 Points
18 Posts
I'm getting following xml from web response and try to Deserilize it to c# object. "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>\r\n <PlatformResponse>\r\n <Errors>\r\n <Error code=\"2005\" message=\"User not found\" />\r\n </Errors>\r\n</Platfo ...
Total Answered: 2
Total Marked As Answer: 0
Posted On: 25-May-2018 00:34
 
Smith
Smith
Participant
330 Points
100 Posts
I'm getting error on logout in the following line: var subjectId = HttpContext.User.Identity. GetSubjectId(); InvalidOperationException: sub claim is missing IdentityServer4.Extensions .PrincipalExtensions. GetSubjectId(IIdentity identity) IdentityServer.Controllers. Account.AccountController ...
Total Answered: 1
Total Marked As Answer: 0
Posted On: 21-May-2018 06:06
 

Blog

Active User (1)



 Log In to Chat