开发者

Can a .net webservice be run in a medium trust enviornment

Can a .net webservice that accepts values -- arrays, strings and returns values like bool and 开发者_高级运维exceptions be run a "Medium" trust enviornment (Shared webhosting) -- and be called from any windows based or web based application -- do does the caller app have to be a special application?

Or does one have to do something special in the webservice (or is restricted to)?

Environment

Webservice

.net Framework 3.5 SP1 as webservice or .net Framework 2.0 (compatible) as webservice

Caller .net Framework 2.0 (compatible) windows app


This will depend on what does the web service is doing. There are features that you cannot use in Medium trust. For example you cannot use Reflection and have unsafe code in Medium trust.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜