Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, August 1, 2019 7:20 PM
I want to keep an API key out of my code. I attempted to follow this document
What is the process to access an API key to use in my code but not be in my code?
All replies (3)
Thursday, August 1, 2019 11:26 PM
Hello,
Did you fully read the following?
/en-us/aspnet/core/security/app-secrets?view=aspnetcore-2.2&tabs=windows#access-a-secret
Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
NuGet BaseConnectionLibrary for database connections.
Friday, August 2, 2019 9:42 AM
It is the same link I referenced in my question. The link is not clear.
Monday, August 5, 2019 8:00 AM
Hi Doctor,
Thank you for posting here.
According to your link, I think your problem is more related to asp.net core. Therefore, I suggest that you could post in the following forum.
https://forums.asp.net/1255.aspx/1?ASP+NET+Core
The Visual C# forum discusses and asks questions about the C# programming language, IDE, libraries, samples, and tools.
Best Regards,
Jack
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].