asp.net mvc 4 - MVC4 Razor View Batch Methods -


I have an HTML helper that shows translated resources based on some business logic. Now it uses a webservice to load helpful translated resources.

The problem is that we have to call a webservice for each single translated resource. Of course we cache the results but the initial call still takes too long.

If we can process batch like translated resources, then what would be good. As we collect all the resources that are translated and after that we know which resources are to be translated, there is only one website call that translates all the resources for us and it is in the right place Shows

Is there a mechanism in razor templates for this?


Comments

Popular posts from this blog

scala - Play Framework - how to bind form to a session field -

Django Celery - running scheduled tasks -

perl - 'Unquoted string ".." may clash with future reserved word' but only when package is used -