I want to give keywords related to my project in web config file so that searching my website in google should become easy.
Please specify the code
You can add keywords specific to your project in the <appSettings> section. For example,
<appSettings>
<add key="SMTPServer" value="YourSMTPServerName"/>
</appSettings>
You can get the value of the keyword in a .NET class as specified below.
string strSMTPServer = ConfigurationManager.AppSettings["SMTPServer"].ToString();
Note that you need to import the System.Configuration namespace in your class file.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.