This article is a detailed introduction of how ASP. NET Core is elegant in the development environment to preserve the confidential user secrets, with a certain reference value, interested partners can refer to the preface in the application development process, sometimes need to save some confidential information in the code, such as encryption key, string, or user name password. The usual practice is to save to a configuration file that we previously saved to Web. config, but in ASP. NET core, this approach may have changed, or you have more diversified methods and more elegant configuration to set up or save the confidential information. At first I thought this usersecrets it was not useful, because I have to configure the place I directly configured in the Appsetting.json file can be, until the development process, I felt its real purpose. Directory user Secrets describes how to add a user secret to use user secrets in your application Summary user secrets The following scenarios can be thought about how we handled the previous code: we need to save some
1. ASP. NET core elegant in the development environment to preserve the Secret (User Secrets) of the detailed
Introduction: This article is mainly for you to introduce in detail the ASP. How to store the secret user secrets in the development environment, has certain reference value, the interested small partners can refer to
2. Share an instance of the ASP. NET Core store Secret (User Secrets) in the development environment
Introduction: This article is mainly for you to introduce in detail the ASP. How to store the secret user secrets in the development environment, has certain reference value, the interested small partners can refer to
3. CSS3 to create frosted glass background effect
Introduction: This effect is seen in the CSS secrets this book to see, feel very good; The principle of implementation is quite simple;
"Related question and answer recommendation":
JavaScript-Explain the meaning of this piece of code