Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
ASP.NET 3.5 Application Architecture and Design

You're reading from   ASP.NET 3.5 Application Architecture and Design Build robust, scalable ASP.NET applications quickly and easily.

Arrow left icon
Product type Paperback
Published in Oct 2008
Publisher Packt
ISBN-13 9781847195500
Length 264 pages
Edition Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Vivek Thakur Vivek Thakur
Author Profile Icon Vivek Thakur
Vivek Thakur
Arrow right icon
View More author details
Toc

Using a Database for Localization


We have seen how to localize the text of the controls and the application content in the UI. But sometimes, the content is stored in a database, and this content also needs to be localized (for example, when using a Content Management System). Because this content is stored in a database, we cannot use resource files for this. Sometimes we may not be able to use resource files at all because we might want to avoid an application recompilation or restart when updating localized content (remember that updating a resource file under the /bin folder will cause an application recompilation or an application restart.).

Also, using a database gives us the flexibility to edit content easily as there are no resource files involved. We can create a simple edit form, so that content authors can edit and update the content without having any programming knowledge.

Custom Resource-Provider-Model in ASP.NET

When we use a database instead of .resx files to store the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image