was ist web-method-Attribut in der web service?

was ist web method-Attribut in der web service? fro Beispiel

[WebMethod(EnableSession = true)]
[ScriptMethod(UseHttpGet = true)]
public string GetApplicationDomains(string strParameterList)
{

}        

für welchen Zweck diese Attribute WebMethod-und ScriptMethod verwendet werden?

ähnliche, hier. stackoverflow.com/questions/941484/webmethod-vs-scriptmethod
Ein Hinweis: alle diese Attribute werden verwendet, mit ASMX-Webdiensten. Microsoft hat vor kurzem erklärt, dass ASMX-web-service-Technologie ist eine veraltete Technologie und hat erklärt, daß Sie nicht beheben von Fehlern im code.

InformationsquelleAutor Tushar Maru | 2009-08-07

Schreibe einen Kommentar