Closed sajeshkumaran closed 6 years ago
Can't you pass UserName and Password empty and change the connection string? Give a try.
Ok. I will try. Thanks
It worked?
I have same problem. I don't think it will work with empty username and password since it throw an exception.
if (string.IsNullOrEmpty(_connectionProviderOptions.Value?.ConnectionString))
throw new ArgumentNullException("There's no DapperIdentity:ConnectionString configured. Please, register the value.");
if (string.IsNullOrEmpty(_connectionProviderOptions.Value?.Password))
throw new ArgumentNullException("There's no DapperIdentity:Password configured. Please, register the value.");
@conankid2512 @sajeshkumaran works now?
Thank you for all your work which saved a lot of my time.
It would have been better to have an option to set the SQL database credentials to Integrated windows security. I am not sure if I am asking something wrong since I am pretty new to this Asp.Net Core Api.
Thanks