In VB.NET, Web Methods are defined by adding the attribute immediately preceding the method signature. Note that VB.NET uses angle brackets for attributes, whereas C# uses square brackets. The stored answer text is slightly truncated but refers to this attribute requirement.