What are resource files and explain the steps to generate a resource file?

 Posted by Tripati_tutu on 10/5/2010 | Category: ASP.NET Interview questions | Views: 2547 | Points: 40

The resource files are those files which are in XML format. They contain all the resources needed by an application. These files can be used to store string, bitmaps, icons, fonts etc.

Steps to generate a resource file:
a. Open the web page in the design view.
b. Click Tools
c. Select generate local resource
d. .resx file generated in the solution explorer
e. Type in the resources. The file contains the key and value pairs.
f. Save the file.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response