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

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -