asked on
ASKER
ASKER
The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications
TRUSTED BY
Its just that in the example code on that page he's half left out some of the autogenerated code that is created when you create your own web service. The bit that is missing is:
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
}
#endregion
InitializeComponent is used by the IDE to write the code when you use the property pane in the IDE to wire up event handlers and set properties of objects on the designer surface. You could just as easily remove the call to "InitializeComponent();" but it's probably better just to paste the code above back into your file.
Andy