Last post Sep 23, 2008 06:15 AM by rajmurali
Sep 19, 2008 03:50 AM|rajmurali|LINK
Any body can give the solution for me,
Actually i have implemented Localisation Resource-Provider Model for my application using SqlServer 2005 database.
But its giving performance very slow,when i requesting page compared to without localisation.
pls, any body can respond ASAP.
Sep 19, 2008 04:24 AM|XIII|LINK
you're reading upon every page request from the database? If so you can already include to make use of the Cache object so that gets the information from there. You can set it up so that when something has changed in your database the Cache object refreshes
itself with the correct data.
Sep 19, 2008 05:19 AM|rajmurali|LINK
Thanks Grz, Kris.
For Giving Fast response.
Grz,Kris,in My application I already included Cache Object its working fine.
but I Need More Faster Execution ,is there any possibilities?
If any thing pls suggest me,
Sep 19, 2008 05:45 AM|XIII|LINK
how do you insert the information in the Cache? Do you use a datatable or a stringdictionary or something else? How much information do you put in the cache? I know from experience that it can take a while before you found the correct format on how to put
the information in the Cache object for performance gains.
Sep 19, 2008 06:02 AM|rajmurali|LINK
In my application //DBResourceProvider.cs
I used the Dictionary<string,
string>> For cache object
In this Cache Object just inserting Culture.Name value
Sep 19, 2008 07:30 AM|XIII|LINK
can't you use a
StringDictionary class? Normally these specialized classes are made for performance.
Sep 23, 2008 06:15 AM|rajmurali|LINK
I have some Idea to improve the performance of Asp.Net 2.0 Localized application ,i.e Right now in my application For Every Resouce control it is connecting database and get the information form database and display in page. instead of what i want to do
sending collection of Localization Resource controls to Database or Collected Resource controls data at time Per specifict to one Page.
What i mean to say the whole one .aspx page Localization controls once to connect to database and display,instead of for each control.
For this solution pls give some idea how to implement it .
if any body knows solution for this give guidence.