ASP.NET – Do you need a RESX file?

The current solution created in VS2003 is VS2005 and is now VS2008.
From the beginning, each aspx and ascx has an associated .resx file. The resx file has been Automatic processing, even if localization is not required. Can you get rid of these resx files? Will their absence improve their performance?

Interestingly, initially, the resx file was created in the same directory as the aspx/ascx file. Now, using VS2008, if I create a resx file, it creates an App_LocalResources directory And put all the resx files there…

Yes, you can delete the .resx file, But please make sure your page is set to work without a .resx file. I mean your tag has a text value, it doesn’t need a .resx file to provide it.

In addition, if the files already exist, they won’t cause too many problems, I will leave them.

The current solution created in VS2003 is VS2005, and it is now VS2008.
From the beginning, every aspx and ascx has an associated .resx file. The resx file is processed automatically, even if localization is not required. Can you get rid of these resx files? Will their absence improve their performance?

Interestingly, initially, the resx file was created in the same directory as the aspx/ascx file. Now, using VS2008, if I create a resx file, it creates an App_LocalResources directory And put all the resx files there…

Yes, you can delete the .resx file, but please make sure your page is set to not. resx file. I mean your tag has a text value, it doesn’t need a .resx file to provide it.

Also, if the file already exists, they won’t cause Too many questions, I will leave them.

Leave a Comment

Your email address will not be published.