how many classes within the asmx

C

Craig G

can i only have one class in the asmx page?

i wanted one page with numerous classes, then i would only have one web
reference but could use the different classes

ideally i didnt want to go down the line of having one asmx page per classe
then having a seperate reference for each. as i have 17 classes

Cheers,
Craig
 
S

Scott M.

An .asmx isn't a page at all. It is file type that contains special classes
that can be called over http from a different machine (a web service).

You may have more than one class per .asmx page if you like, but it makes
sense that the classes be related in some way.
 
C

Craig G

i found that if i put another class in the asmx then it wouldnt pick it up
when i then reference it in my project. it would only pick up the one class
 
S

Scott M.

Yes, you are right...It seems that while VS.NET will allow you to put 2
classes in one .asmx, only one is actually visible.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top