c# - Using ServiceStack external service within MVC app -
i've setup basic servicestack service provides centralised info hub complex reports.
we have few different web apps want (somehow) phone call on service required info , go on display reports/graphs etc etc based on information.
what i'm unclear on how 'get at' servicestack info in c# running separate website. (ie; our mvc app, created 2 years ago, has no link servicestack @ now).
i can see how able phone call via ajax; requirement have beingness able to, in instances, manipulate info in c# directly.
do add together service reference regular soap services? or there improve way this?
the best (and recommended) way consume servicestack services .net client utilize servicestack's .net service clients.
the nuget bundle contains service clients is:
install-package servicestack.client it's dependencies are:
servicestack.interfaces servicestack.textfor to the lowest degree dependency can consume services servicestack's http utils apart of servicestack.text , has no dependencies, i.e:
install-package servicestack.text also worth noting servicestack sends plain json/xml responses on http can utilize .net http client.
c# servicestack
No comments:
Post a Comment