Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > webservices .net framework 1.1 vs 2.0

Reply
Thread Tools

webservices .net framework 1.1 vs 2.0

 
 
Matthias
Guest
Posts: n/a
 
      01-29-2008
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
 
Reply With Quote
 
 
 
 
John Saunders [MVP]
Guest
Posts: n/a
 
      01-29-2008
"Matthias" <postamt_SPAMTRAP_@kieferfrost_DOT_de> wrote in message
news:(E-Mail Removed)...
> 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?


Matthias,

Do yourself a favor. Never, ever, use File->New->Web Site. Ever. It was a
bad idea from Microsoft and there's no need for you to suffer for their
mistake.

Instead, upgrade to Visual Studio 2005 SP1 (or to Visual Studio 2008 if you
can), and then try to upgrade your projects. Hopefully, they'll upgrade
correctly.

My company had to do their upgrades before SP1 was available, and it was a
horrible mess, costing us about six weeks to fix (and we never knew what we
had changed to make things work). If your upgrade gives you the App_Code and
whatnot, I suggest that you create new projects using File->New->Project,
then copy your code into the new project directories and include it into the
new projects.

--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer


 
Reply With Quote
 
 
 
 
Matthias
Guest
Posts: n/a
 
      01-29-2008
hi john,

thanks for your help. i've installed the servicepack and will take it
from there. an upgrade to vs 2008 is currently not in reach.

again, thanks!

matthias

John Saunders [MVP] schrieb:
> "Matthias" <postamt_SPAMTRAP_@kieferfrost_DOT_de> wrote in message
> news:(E-Mail Removed)...
>> 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?

>
> Matthias,
>
> Do yourself a favor. Never, ever, use File->New->Web Site. Ever. It was a
> bad idea from Microsoft and there's no need for you to suffer for their
> mistake.
>
> Instead, upgrade to Visual Studio 2005 SP1 (or to Visual Studio 2008 if you
> can), and then try to upgrade your projects. Hopefully, they'll upgrade
> correctly.
>
> My company had to do their upgrades before SP1 was available, and it was a
> horrible mess, costing us about six weeks to fix (and we never knew what we
> had changed to make things work). If your upgrade gives you the App_Code and
> whatnot, I suggest that you create new projects using File->New->Project,
> then copy your code into the new project directories and include it into the
> new projects.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Framework to use for new webservices project josh.s17@gmail.com Java 7 12-27-2006 11:48 PM
dotnet.framework.webservices ??? richlm ASP .Net Web Services 0 10-05-2003 08:38 PM
WebServices break after upgrade to Framework 1.1 Joseph Geretz ASP .Net 6 08-24-2003 05:19 AM
WebServices break after upgrade to Framework 1.1 Joseph Geretz ASP .Net Web Services 6 08-24-2003 05:19 AM
COMInterop does not work in Framework 1.1 without Framework 1.0 Anatoly Volodko ASP .Net 1 08-14-2003 08:11 PM



Advertisments