What is Function or a Method in any programming language?

A Function or a method in any programming language is something that will do some kind of operations by taking in some values and process those values and return the result when it is called.
It has different syntax for creating and calling in different programming languages for example in c# it is like:

Why we need Ajax calls?

By using Ajax calls in javascript frameworks you can have benefits like:
  • If any one field needs to be updated after any event then by using Ajax call you can only update that field without refreshing the complete page.
  • Dialogs or Popups in a page can be easily developed usig Ajax calls

Main benefits of using Asp.net MVC over Asp.net Webforms

The main benefits of Asp.net mvc are:
  • We can have full control on the HTML 
  • Has benefit of Seperation of Concerns like the view and the code behind are not tightly coupled we can use the same view with many different action methods

Popular Posts