How to create favicon icon for website in Asp.net

Introduction:  In previous articles i explained How to Validate and upload image files in asp.net and How to resize image in Asp.net and Create thumbnail, small and large version of the uploaded image in Asp.net? and Send emails in asp.net | How to set Smtp setting in web.config file to send email in asp.net .
In this article i  am going to explain How to create favicon icon for website in Asp.net. If you have .ico file of your logo or picture then add the following line to the head section  of the default page and the master page of your website to add Favicon icon for all of your pages e.g.

<head runat="server">
    <title></title>

<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
</head>

But if you don't have the .ico file then you can also generate it through the following links:
  • http://tools.dynamicdrive.com/favicon/
  • http://www.favicon.cc/
  • http://www.favicongenerator.com/
and then follow the same procedure as mentioned above.

Note: We are assuming that  favicon.ico is the name of your .ico file.

Previous
Next Post »

If you have any question about any post, Feel free to ask.You can simply drop a comment below post or contact via Contact Us form. Your feedback and suggestions will be highly appreciated. Also try to leave comments from your account not from the anonymous account so that i can respond to you easily..