-
| 
         What is the point of ConnectionStrings section in appsettings.json?  | 
  
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            gfoidl
          
      
      
        Jan 26, 2021 
      
    
    Replies: 1 comment 2 replies
-
| 
         To specify connection strings (to databases). Connection strings are used quite often, so there's a handy extension-method GetConnectionString to simplify retrieval of it's value.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
      Answer selected by
        davidfowl
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
To specify connection strings (to databases).
Connection strings are used quite often, so there's a handy extension-method GetConnectionString to simplify retrieval of it's value.
See e.g. EF Core Docs for Connection Strings and Connection string prefixes in the ASP.NET Core Docs.