Using Microsoft Translator With ASP.NET MVC 4 Web API

This article explains how to use the Microsoft Translator API to translate text that was input by the user. Microsoft Translation Service is an online service which has support for AJAX, HTTP or SOAP and Basic subscriptions, up to 2 million characters a month, are free. Google’s free Translation API are deprecated So Microsoft Translator is a good alternative. In this sample, we will use AJAX API for English to Hindi translation.

Quick View of ASP.NET UpdatePanel Control

UpdatePanel control is used to perform partial-page update means you can refresh selected parts of the page instead of refreshing the whole page with a postback. In this post, you will get UpdatePanel behavior in different cases without reading more paragraphs or code…:). Let’s consider each button will update text of all labels. Now see following diagram, Check sign(✔) indicates the label’s modification is displayed and Cross sign(x) indicates no display of changes.

How to debug Ajax application with Firebug

The use of Ajax techniques has led to an increase in interactive or dynamic interfaces on web pages. With Ajax, web applications can retrieve data from the server asynchronously in the background without interfering with the display and behavior of the existing page.
For a developer, It is required to log Ajax request & response to identify errors.