Re: How to improve resource file performance?

From: Lloyd Dupont (ld_at_NewsAccount.galador.net)
Date: 06/28/04


Date: Mon, 28 Jun 2004 11:03:21 +1000

hoho...
it's why my application is so slow at startup!

yep, I've noticed they followed the guid for bad design guidelines regarding
resources.
typically each resource access throw an exception (which they catch)... I
wonder if it's not better to ship the resource as plain file outside the
assembly .. that might be the reason of the problem.... unfortunately the
designer don't let you do that with form's resources ...

"JustMe" <temilson@sasktel.net> wrote in message
news:e3728397.0406271558.7d009a4f@posting.google.com...
> Hi ...
>
> I have localized my application using resource files. Now that I am
> using resources.getString() to obtain the localized versions of all
> strings in my application, I'm finding that my application takes
> almost twice as long to load some forms.
>
> I suppose this makes sense, but I wonder if there are any suggestions
> on how I can improve the speed?
>
> Any and all comments are greatly appreciated.
>
> --Terry



Relevant Pages

  • Re: How to improve resource file performance?
    ... to minimize delay due to fallback mechanism, you must add resource entry in all localized version. ... I've noticed they followed the guid for bad design guidelines regarding ... > wonder if it's not better to ship the resource as plain file outside the ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: How to improve resource file performance?
    ... to minimize delay due to fallback mechanism, you must add resource entry in all localized version. ... I've noticed they followed the guid for bad design guidelines regarding ... > wonder if it's not better to ship the resource as plain file outside the ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: How to improve resource file performance?
    ... > the performance gain from what I can see, but it might be worth it. ... > Not doing the actual resource lookup at runtime would make performance ... > as good as it was before trying to localize the app. ... >> wonder if it's not better to ship the resource as plain file outside the ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: integrated login and folder permissions
    ... i am saying that impersonation does not make a difference, ... always uses the impersonation token to check for resource access. ... Dominick Baier - DevelopMentor ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: How to improve resource file performance?
    ... Is there any way to actually 'compile' the app such that at runtime it ... Not doing the actual resource lookup at runtime would make performance ... as good as it was before trying to localize the app. ... > wonder if it's not better to ship the resource as plain file outside the ...
    (microsoft.public.dotnet.framework.compactframework)