M
Matthias
hi there,
I've got a bunch of questions and I hope, that I succeeded in
formulating them sufficiently:
i've written a pretty functional webservice using vs 2003 and .net 1.1.
now I'm moving the whole thing to 2.0 and I don't understand a couple of
the new concepts: Code-Behind files are now moved to a directory called
App_Code? What is the App_Data directory for?
The conversion of my old solution failed, so created a new Webservice
and decided, to move the existing code-files manually into the new
project, which seems to be less work then trying to fix the errors.
But the automatically generated "Service" class (derived from
System.Web.Services.WebService) for example is not located within any
namespace. I don't get it? Why is this? I used to think whatever code
*must* be located within a namespace.
Anyways, I've added some of my existing classes to the new project (plus
the appropriate "using" directive to the Service.asmx file), but I still
get an error that the namespace could not be located and whether I'm
missing a assembly reference. Is this because the Service class itself
is not located whitin a namespace?
And what about my web.config?
I hope my text is not too confusing and thank you in advance for any
light you shed on this. A link to something like "moving webapplications
from framework 1.1 to 2.0" would be cool. i've scanned the common
sources, but didn't find anything apropriate.
kind regards,
matthias
matthias
I've got a bunch of questions and I hope, that I succeeded in
formulating them sufficiently:
i've written a pretty functional webservice using vs 2003 and .net 1.1.
now I'm moving the whole thing to 2.0 and I don't understand a couple of
the new concepts: Code-Behind files are now moved to a directory called
App_Code? What is the App_Data directory for?
The conversion of my old solution failed, so created a new Webservice
and decided, to move the existing code-files manually into the new
project, which seems to be less work then trying to fix the errors.
But the automatically generated "Service" class (derived from
System.Web.Services.WebService) for example is not located within any
namespace. I don't get it? Why is this? I used to think whatever code
*must* be located within a namespace.
Anyways, I've added some of my existing classes to the new project (plus
the appropriate "using" directive to the Service.asmx file), but I still
get an error that the namespace could not be located and whether I'm
missing a assembly reference. Is this because the Service class itself
is not located whitin a namespace?
And what about my web.config?
I hope my text is not too confusing and thank you in advance for any
light you shed on this. A link to something like "moving webapplications
from framework 1.1 to 2.0" would be cool. i've scanned the common
sources, but didn't find anything apropriate.
kind regards,
matthias
matthias