More of a c# question about webservices.

Sorry for posting it here there isn't a c# board.

I am working through a tutorial:

The problem occurs when it says: You expose Add and Subtract as Web service operations through an .asmx endpoint. To do this, create a new text file named Math.asmx that contains the following simple declaration and place it in the same virtual directory that contains the assembly (note: this goes in the virtual directory itself and not the child bin directory):

<%@ WebService class="MathService"%>

I have never worked with .asmx files. I'd have thought the about declaration would have been pasted in a html page of the .asmx. However when i create the files, it doesn't like the '<%@' or the declaration full stop.

Anyone got any ideas,



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion