Al Pascual



Geo RSS
Geo Twitter Timeline

Blogs I read

<January 2009>
SunMonTueWedThuFriSat
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567

Manually upgrading from Atlas to ASP.NET 1.0 Ajax

Atlas and Ajax are not backwards compatible, so if you already have a solution, this are the steps to manually update the web.config file:

 

Remove the tags under configSection:

 

microsoft.web

Microsoft.Web.Configuration.ConvertersSection

Microsoft.Web.Configuration.WebServicesSection

Microsoft.Web.Configuration.ProfileServiceSection

 

And add:

<sectionGroup name="microsoft.web" type="Microsoft.Web.Configuration.MicrosoftWebSectionGroup">                 

      <sectionGroup name="scripting" type="Microsoft.Web.Configuration.ScriptingSectionGroup, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

        <sectionGroup name="webServices" type="Microsoft.Web.Configuration.ScriptingWebServicesSectionGroup, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

          <section name="jsonSerialization" type="Microsoft.Web.Configuration.ScriptingJsonSerializationSection, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" />

          <section name="profileService" type="Microsoft.Web.Configuration.ScriptingProfileServiceSection, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" />

          <section name="authenticationService" type="Microsoft.Web.Configuration.ScriptingAuthenticationServiceSection, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" />

        </sectionGroup>

      </sectionGroup>

            </sectionGroup>

 

 

You don’t need the <microsoft.web> <converters> for you can delete that part.

 

In controls remove:

<controls>

                        <add namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>

                        <add namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>

                  </controls>

And add:

<add tagPrefix="asp" namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

        <add tagPrefix="asp" namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

                 

On HttpHandlers remove the add verbs with name atlas*:

 

<add verb="*" path="atlasbatchcall.axd" type="Microsoft.Web.Services.MultiRequestHandler" validate="false"/>

                  <add verb="*" path="atlasglob.axd" type="Microsoft.Web.Globalization.GlobalizationHandler" validate="false"/>

           

And modify the one for asmx to look like this:

<add verb="*" path="*.asmx" validate="false" type="Microsoft.Web.Script.Services.ScriptHandlerFactory, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

                 

Add this httpModules:

<httpModules>

      <add name="WebResourceCompression" type="Microsoft.Web.Handlers.WebResourceCompressionModule, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

      <add name="ScriptModule" type="Microsoft.Web.UI.ScriptModule, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

    </httpModules>

 

That should upgrade from atlas to ASP.NET 2.0 Ajax. Remember that now all tags start with asp: not atlas:.

Remember to reference the new Dlls and unreferenced the old ones.

Posted: Oct 24 2006, 09:00 PM by albert | with 16 comment(s)
Filed under: , ,

Comments

TrackBack said:

# November 2, 2006 11:20 PM

TrackBack said:

# November 15, 2006 12:17 PM

Muthu said:

Do you have the same from Beta to new version 1.0 for ASP.NET 2.0 AJAX Extension. I am having lots of issues with that. The toolbox doesn't have anything in it. Thanks in advance Muthu http://techblog.muthuka.com/
# December 20, 2006 1:43 AM

albert said:

I'll make sure to post it this week

# December 20, 2006 10:42 AM

albert said:

# December 20, 2006 1:09 PM

vin said:

is it possible to convert an existing project developed using asp.net 2.0 into ajax 1.0 rc ?
# December 27, 2006 7:16 AM

Toby said:

good comprehensive instructions, but still having trouble after upgrading. Either get problems relating to or script tags not being recognised... have spent days on this now! any help greatfully received...
# January 2, 2007 9:22 AM

Toby said:

good comprehensive instructions, but still having trouble after upgrading. Either get problems relating to or script tags not being recognised... have spent days on this now! any help gratefully received...
# January 2, 2007 9:23 AM

dasdasddad said:

http://alpascual.com/blog/al/archive/2006/07/23/232.aspx
# January 25, 2007 7:06 AM

Community Blogs said:

# February 5, 2007 11:43 PM

TrackBack said:

# February 12, 2007 8:29 PM

TrackBack said:

# February 12, 2007 8:29 PM

TrackBack said:

# February 28, 2007 4:09 PM

TrackBack said:

# April 26, 2007 11:30 AM

TrackBack said:

# April 30, 2007 8:26 PM

TrackBack said:

# August 10, 2007 6:38 PM