Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 03, 2006 08:32 PM by crelus
Jan 02, 2006 08:48 PM|LINK
Is there any place I can get more information on how ATLAS is working under the hood. For example, the quick start has this:
requestSimpleService = Quickstart.Samples.SimpleService.EchoString(
OnComplete, //Complete event
OnTimeout //Timeout event
Where/When/How does the QuickStart.Samples.SimpleService.EchoString method and namespace get registered into ATLAS. I know this is the namespace from my asmx file with the service and method name, but how does the web page get this information? The Atlas
libraries are static so they aren't changing, and there's nothing in my aspx page, so where does this call go to and how is it hooked up into my page?
I did do some digging and found this in the web.config:
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" type="Microsoft.Web.Services.ScriptHandlerFactory" validate="false"/>
<add name="ScriptModule" type="Microsoft.Web.Services.ScriptModule"/>
so I can see that when we call an .asmx file something is going on, but again, how/where does the Quickstart.Samples.SimpleService.EchoString get linked to the .asmx file?
When I call
somehow this data gets sent out to the .asmx file through some kind of proxy, but how does this all come about? Any information would be appreciated.
Jan 03, 2006 06:17 PM|LINK
Tip: Perform a View -> Source in the browser to see what is happening under the covers. Beware this may change in the future releases.
The .aspx page has a reference to the .asmx in the atlas:ServiceReference element of the atlas:ScriptManager.
<atlas:ScriptManager ID="scriptManager" runat="server" EnableScriptComponents="false"
When the .aspx page is rendered on the server a dynamic script reference is made in the rendered page to the .asmx i.e.
<add src="SimpleService.asmx/js" />
Jan 03, 2006 08:32 PM|LINK