是什么意思“temuri.org”? [英] what does mean "temuri.org"?

查看:107
本文介绍了是什么意思“temuri.org”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

i见ac#code sample包含以下行:

hello
i see a c# code sample that contains following line:

public const string SchemaNamespace = "http://tempuri.org/UserPreference.xsd";



此行代码的一般用途是什么?

谢谢


what is general purpose of this line code?
thanks

推荐答案

参考 - Tempuri [ ^ ]。

Refer - Tempuri[^].
Quote:

每个XML Web服务都需要一个唯一的命名空间,以便客户端应用程序将其与Web上的其他服务区分开来。



tempuri.org是使用的测试默认命名空间URI通过Microsoft开发产品,如Visual Studio。它适用于正在开发的XML Web服务,但已发布的XML Web服务应使用更永久的命名空间。该术语严格来说是一个占位符,它的所有实例都应该用生产系统中更有意义的URI替换。



万维网联盟建议XML命名空间是统一资源标识符。 tempuri是临时统一资源标识符的缩写。

Each XML Web service needs a unique namespace in order for client applications to distinguish it from other services on the Web.

tempuri.org is the test default namespace URI used by Microsoft development products, like Visual Studio. It is available for XML Web services that are under development, but published XML Web services should use a more permanent namespace. The term is strictly a placeholder and all instances of it should be replaced with a more meaningful URI in production systems.

The World Wide Web Consortium recommends that XML namespaces be a Uniform Resource Identifier. "tempuri" is short for Temporary Uniform Resource Identifier.


这篇关于是什么意思“temuri.org”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆