<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Blog of Travis Gneiting &#187; webmethod</title>
	<atom:link href="http://www.blog.travisgneiting.com/tag/webmethod/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blog.travisgneiting.com</link>
	<description></description>
	<lastBuildDate>Mon, 30 Jan 2012 03:45:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	
	
	<!-- google ad injected by adsense-optimizer http://www.adsenseoptimizer.de -->
	<div  style="padding:7px; float: right; padding-right: 0; margin: 3px;"><!-- Ad number: 1 --><script type="text/javascript"><!--
    	 
    	google_ad_client = "pub-3961093531196233"; google_alternate_color = "FFFFFF";
		google_ad_width = 336; google_ad_height = 280;
		google_ad_format = "336x280_as"; google_ad_type = "text_image";
		google_ad_channel ="1685894941"; google_color_border = "336699";
		google_color_link = "0000FF"; google_color_bg = "FFFFFF";
		google_color_text = "000000"; google_color_url = "008000";
		google_ui_features = "rc:0"; //--></script>
		<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>	<item>
		<title>WebMethods For Use With Visual Studio and AJAX</title>
		<link>http://www.blog.travisgneiting.com/2009/01/05/webmethods-for-use-with-visual-studio-and-ajax/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=webmethods-for-use-with-visual-studio-and-ajax</link>
		<comments>http://www.blog.travisgneiting.com/2009/01/05/webmethods-for-use-with-visual-studio-and-ajax/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 20:48:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[webmethod]]></category>

		<guid isPermaLink="false">http://www.blog.travisgneiting.com/?p=20</guid>
		<description><![CDATA[The webmethod tag is an attribute added to a Public methods to indicate the method should be exposed as part of an XML Web service.  Below is an example of applying the WebMethod attribute. &#60;WebMethod()&#62; _ Public Shared Function FunctionName(ByVal Parameter As String) As ObjectName Dim ObjectName As Object = Object Return ObjectName End Function [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>The webmethod tag is an attribute added to a Public methods to indicate the method should be exposed as part of an XML Web service.  Below is an example of applying the WebMethod attribute.</p>
<p><code><br />
&lt;WebMethod()&gt; _<br />
Public Shared Function FunctionName(ByVal Parameter As String) As ObjectName<br />
Dim ObjectName As Object = Object<br />
Return ObjectName<br />
End Function</code></p>
<p>The Web method can now be called via javascript on the client. Below is an example of calling the webmethod from the client.<br />
<code><br />
PageMethods.FunctionName(Parameter1, onComplete, OnTimeOut, onError);</code></p>
<p>Here is a great link with additional information for web methods:</p>
<p><a href="http://www.novologies.com/post/2009/05/06/Cleaner-Faster-Ajax-in-ASPNET.aspx">http://www.novologies.com/post/2009/05/06/Cleaner-Faster-Ajax-in-ASPNET.aspx</a></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.blog.travisgneiting.com/2009/01/05/webmethods-for-use-with-visual-studio-and-ajax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

