<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>Code Reference</title>
	<link>http://sullivan.net/blog</link>
	<description>A collection of code for my reference (and perhaps other people too)</description>
	<lastBuildDate>Wed, 25 Jan 2012 17:53:32 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.2.1" -->

	<item>
		<title>Add a POST method to the WCF service</title>
		<description><![CDATA[NOTE: This continues the series from the post Read the GET request parameters in the AfterReceiveRequest() method I changed the name of the SchemeTest() method to SimpleTest() because the scheme test will be done on the POST request sending XML, not on a GET request. Here is the new interface: namespace WCFServiceWithScheme { [ServiceContract] public [...]]]></description>
		<link>http://sullivan.net/blog/2010/06/add-post-method-to-service/</link>
			</item>
	<item>
		<title>Read GET request parameters in the AfterReceiveRequest() method</title>
		<description><![CDATA[NOTE: This continues the series from the post Expand the simple service with IDispatchMessageInspector On a GET request, the relevant data is in the parameters. Here is how to read this data: Determine the request's mothod (GET or POST) You don't know what method is called or how it was called. Get the URITemplateMatchResults Get [...]]]></description>
		<link>http://sullivan.net/blog/2010/06/read-get-request-parameters-in-the-afterreceiverequest-method/</link>
			</item>
	<item>
		<title>CreateBufferedCopy of request in MessageInspector of WCF Service</title>
		<description><![CDATA[NOTE: This continues the series from Expand the simple service with IDispatchMessageInspector When your web service is called, before the request reaches the main service method, the 'AfterReceiveRequest()' method is fired. Here is where you can inspect the request. Very important to know, you must make a copy of the message because reading the original [...]]]></description>
		<link>http://sullivan.net/blog/2010/06/createbufferedcopy-of-request/</link>
			</item>
	<item>
		<title>WCF Service with IDispatchMessageInspector</title>
		<description><![CDATA[If you want to do any pre or post inspection of a web service such as scheme validation, you can use the IDispatchMessageInspector. This example is based on the Simple Service example. I modified the Simple Service example and added the IDispatchMessageInspector. The IDispatchMessageInspector gives you access to 2 events. - AfterReceiveRequest() fires before you [...]]]></description>
		<link>http://sullivan.net/blog/2010/06/wcf-service-with-idispatchmessageinspector/</link>
			</item>
	<item>
		<title>WCF Web Service with Scheme Validation and other tricks</title>
		<description><![CDATA[This series of posts will cover the various aspects of creating a WCF web service that will use a scheme to validate. NOTE: This is different than the Secure WCF REST webservice I posted earlier. The previous one uses the WCF REST Starter Kit and has a very simple Web.config. This series covers: Creating a [...]]]></description>
		<link>http://sullivan.net/blog/2010/06/wcf-web-service-with-scheme-validation-and-other-tricks/</link>
			</item>
	<item>
		<title>Read GET variables with JavaScript</title>
		<description><![CDATA[I found 2 simple solutions to reading GET variables with JavaScript. They use either 'document.location' or 'window.location.href' to ready the URL and split it. The first example I found here: function getURLVar(urlVarName) { //divide the URL in half at the &#039;?&#039; var urlHalves = String(document.location).split(&#039;?&#039;); var urlVarValue = &#039;&#039;; if(urlHalves[1]) { //load all the name/value [...]]]></description>
		<link>http://sullivan.net/blog/2010/06/read-get-variables-with-javascript/</link>
			</item>
	<item>
		<title>POST using ASP</title>
		<description><![CDATA[A more simple way to to a POST. This is cleaner than the last example I created. I used a nice function at http://www.secretgeek.net/XMLSendReceive.shtml. &#039; First load the XML to send off Set SendDoc = server.createobject(&#34;Microsoft.XMLDOM&#34;) SendDoc.ValidateOnParse= True SendDoc.LoadXML(sTrData) &#039; Then call the POST function and get a nice object back set SourceObj = xmlSend [...]]]></description>
		<link>http://sullivan.net/blog/2010/05/post-using-asp/</link>
			</item>
	<item>
		<title>Simpel context menues in WPF</title>
		<description><![CDATA[The first thin you must do is to create the context menu in the xaml page. This is done as follows: &#60;UserControl.ContextMenu&#62; &#60;ContextMenu Name=&#34;rightClickContextMenu&#34; Visibility=&#34;Collapsed&#34;&#62; &#60;MenuItem Header=&#34;Delete&#34; Name=&#34;btnDelete&#34; Click=&#34;btnDelete_Click&#34;/&#62; &#60;MenuItem Header=&#34;Open&#34; Name=&#34;btnOpen&#34; Click=&#34;btnOpen_Click&#34;/&#62; &#60;MenuItem Header=&#34;Copy&#34; Name=&#34;btnCopy&#34; Click=&#34;btnCopy_Click&#34;/&#62; &#60;/ContextMenu&#62; &#60;/UserControl.ContextMenu&#62; Listen for the right click event and display the menu private void m(object sender, MouseEventArgs e) [...]]]></description>
		<link>http://sullivan.net/blog/2010/05/simpel-context-menues-in-wpf/</link>
			</item>
	<item>
		<title>Facebook: The very basics required for your first application</title>
		<description><![CDATA[I was required to create a Facebook (Viesbook in Dutch) application for my work. I discovered how much I hate Facebook, it view of privacy, and especially, their API documentation. Their documentation is the worse I have ever seen. If you want to work in C#, don't go to Facebook. I found a great set [...]]]></description>
		<link>http://sullivan.net/blog/2010/05/facebook-the-very-basics-required-for-your-first-application/</link>
			</item>
	<item>
		<title>Trouble with VS 2008?</title>
		<description><![CDATA[If you are having trouble opening a project in VS? It says the file have been download from the Team Foundation server, yet they are not. You may want to re-initialize Visual Studio. Close VS. Open the VS Command Prompt. Enter the command: devenv /setup With luck this will solve some of your problem. What [...]]]></description>
		<link>http://sullivan.net/blog/2010/04/trouble-with-vs-2008/</link>
			</item>
</channel>
</rss>

