Open Closed

How to access Application layer's methods from mobile app #777


0
sampath created

I have a business use case like this :

Since they want to add photos using phones, tablets and from the web app, we should write it as a service that can be called to upload photos to the database from the phone/tablet and same service should be used to upload photos from the computer.

At this moment I have written all the services on the Application layer (Not on the Web Api layer) and working fine with the web app.So is it possible to access application layer's methods from the mobile app ? If it's No,then how can I do that ? Thanks.


1 Answer(s)
  • 0
    hikalkan created
    Support Team

    It's possible. You can use all methods from any 3rd party application. You can use token based auth. See document: <a class="postlink" href="http://www.aspnetzero.com/Documents/Development-Guide#token-based-authentication">http://www.aspnetzero.com/Documents/Dev ... entication</a> This document also shows usage of an app service method. Mobile app can use standard REST/HTTP libraries to use your api, as it use any web api.