What clever things have you done with an ASP.NET MVC Action method

后端 未结 5 1760
借酒劲吻你
借酒劲吻你 2020-12-12 11:59

The ASP.NET MVC controller action methods are primarily used for handling \'business\' operations but it can be used for lots more.

I thought it would be fun to see

5条回答
  •  感动是毒
    2020-12-12 12:59

    Actually, not an "action" method, but a custom controller that implements a route-base RPC implementation. It identifies the contract and method from the route-data and passes the call onto the server-side service implementation. Pretty efficient (and yes, there are valid reasons that I'm not just using WCF or SOAP).

提交回复
热议问题