c# - Web app and mobile app to use its own public web service or not? -



c# - Web app and mobile app to use its own public web service or not? -

i first built web app, , bunch of class libraries.

the web app uses class librares. the mobile app uses expose public web service.

now i'm thinking, since mobile app has much of same functionality of web app, maybe should create web app utilize public web service?

would thought web app , mobile app utilize same public api?

please help me decide , allow me know why thought or bad idea!

thanks guys

edit: guess if have web app utilize public api, performance may degraded? since has go thr network stack, , need provide authentication hmm ....

the disadvantage of using web service web application makes slow, due request (althought both on same server) , cause performance issues. it's not thought due disadvantages.

i have not tried wcf asp.net, guess improve utilize wcf asp.net through tcp protocol. without tcp, it's faster web service.

c# asp.net web-services api soap

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -