ASMX: What should replace tempuri.org?

Each new web service created with visual studio comes with a predefined namespace:

[WebService(Namespace = "http://tempuri.org/")]

My web service will work on different clients and on different domains, so because of this I do not know the domain in advance during development, nor do I want to edit this file every time I deploy a new client.

What exactly should the namespace matter? It sounds like a web address, but it doesn't make sense to me.

+5
source share
3 answers

It's kind of ironic, but the best answer is: http://tempuri.org/

quote

- XML , . ASP.Net Web Services http://tempuri.org/. - XML, .

- XML , . , . URL-, Web.

- XML ASP.NET, WebService . WebService , XML Web . , " http://microsoft.com/webservices/":

C#
[WebService(Namespace="http://microsoft.com/webservices/")]
public class MyWebService {
    // implementation
}
+12

, ;)

. , , , " ".

+3

http://tempuri.org " XML". , , , XML - URI.

XML , XML . - , Book Book . , . . , , , - , .

+3

All Articles