Harnessing the power of JavaScript in a web application can improve speed, flexibility, and overall user experience. Here are some basics regarding the use of JavaScript in a .NET MVC app.

When retrieving server data, there are a few choices of format. Most commonly, the server will return data formatted as JSON or data formatted as HTML. If JSON is returned, the client will parse the response and decide for itself what to do with the information. If HTML is returned, the client will most likely place the html somewhere on the page. Both options have advantages and disadvantages.

More