Table of Contents

Configuration File

Get Connection String

var connStr = ConfigurationManager.ConnectionStrings["MyConnStr"].ConnectionString;

Get App Settings

var settings = ConfigurationSettings.AppSettings["Mykey"];