473,385 Members | 1,553 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Centralized resource files

Centralized resource files

Hi,

We are considering to migrate our custom asp.net localization procedure, to
one that stored .Text properties of controls in a SQL database, towards the
usage of standard resources (hence .resx files). Plain Resx files do not seem
to be a very scalable solution: We have dozens of servers and we do not want
to access all servers to deploy files in case of minor changes in the
personalized text. So we need some sort of centralized resource server.

Is possible to store .resx centrally and/or what is the recommended MS
procedure in this situation?

Regards,
Martijn Kaag

______________________________
www.VECOZO.nl

Sep 25 '06 #1
1 1876
Hello Martijn,

Glad to see you again.

As for the resource based localization feature in .net framework, it
support programmatic resource management or declarative management.
Therefore, for your scenario, whether we can play with centralized
localization resource also depend on how to peform the localization task in
our application.

** If your application will programmtically load resx file or resource
file(binary format), you can consider put those resource files in a central
place(shared place) and programmtically access that directory for resource
files in your application code(you can configure this central directory
path as a entry in the application's web.config file)

ResourceManager.CreateFileBasedResourceManager method will help create
resouce manager from a specify file location.

http://msdn2.microsoft.com/en-us/lib...urcemanager.cr
eatefilebasedresourcemanager.aspx

** If your application is using the declarative resoure management(such as
the new Localized page feature in ASP.NET 2.0 and specify localization
property in aspx template ....), I'm afraid we have to put the resoruce
files(resx or resource or satellite assembly) in the application's private
bin dir (or GAC if strong-named).

BTW, generally, for an application, you will use resx file to store
application resources and compile it into satellite assemblies. Therefore,
when the the resource should be updated, we just recompile them to generate
the new satellite assembly and redepoy the satellite assemblies.

#Packaging and Deploying Resources
http://msdn2.microsoft.com/en-us/library/sb6a8618.aspx

Please feel free to let me know if you have any questions on this or if
there is anything else we can help.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Sep 25 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Danny Pressley | last post by:
I have a VS.NET 2003 Visual C++ MFC Application Project in which I added a new resource file, I then added an icon to this new resource file and did a rebuild and got the following error: "fatal...
1
by: Namratha Shah \(Nasha\) | last post by:
Hi All, This is a resource file generation tool which converts an xml based resource formats to .net resource file i.e. (.resources) and vice-versa. Today we will see how we will generate ...
2
by: Hifni Shahzard | last post by:
hi, I was using Borland delphi earlier and it was realy easy when it comes to Database oriented application Development. In delphi, it got a centralized table handling module called "Data Module"....
0
by: Kleanthis | last post by:
I have a problem, when deploying multilingual applications using cab files on Compact Framework 2.0. It seems that something is going wrong with compact framework 2.0 Below I have a description...
1
by: urban.john | last post by:
Here are my steps: create resource files from resx files: <echo message="CREATING RESOURCE FILES FROM RESGEN EN" /> <resgen todir="product\resources_en" verbose="true"> <resources> <include...
1
by: Tom | last post by:
This may seem a little strange, but in all my years of developing Windows Forms apps, I've never really used Resource files; however, I would like to start doing so in order to store icons,...
7
by: craig | last post by:
....quick question for anyone who might have some experience with .net resource files in VS 2003. I have an application that is not localized, but I would still like to be able to place all of...
12
by: TS | last post by:
i have a need to possibly enable mutli language support. What benefit do i get by using a resource file instead of a custom xml solution? thanks!
0
by: VigneshS | last post by:
Hi, I am a newbie to Globalization and Localisation Concepts. I tried almost all the methods of the Globalization concepts. But i cannot be able to embed a text file within a Resource. ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.