3
Reply

why JSON return type is used instead ActionResult()?

Manav Pandya

Manav Pandya

Oct 04, 2016
762
0

    For Example., Public Object M1() {return 25; }For above Method we can write Like this also., Public int M1() {return 25; }if return type as Object later we have to do DownCasting it will effect on Prformance.,if return type is int we can use value Directly .,like this is Scenario also Same

    Nani Veerabhadra Karri
    October 19, 2017
    1

    ActionResult is an abstract class .and then return values as drived class like more then one return class is there like jsonresult,javascriptrsult,contentresult,viewresult....etc

    Satheesh Elumalai
    October 10, 2017
    0

    Performance is most concerns

    Manav Pandya
    February 09, 2017
    0