<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Onteora Software</title>
        <link>http://blog.onteorasoftware.net/Default.aspx</link>
        <description>Ken Tucker's Blog</description>
        <language>en-US</language>
        <copyright>Ken Tucker</copyright>
        <generator>Subtext Version 2.1.2.2</generator>
        <image>
            <title>Onteora Software</title>
            <url>http://blog.onteorasoftware.net/images/RSS2Image.gif</url>
            <link>http://blog.onteorasoftware.net/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <item>
            <title>BlogEngine .Net</title>
            <link>http://blog.onteorasoftware.net/archive/2009/10/11/blogengine-.net.aspx</link>
            <description>&lt;blockquote&gt;
&lt;p&gt;        I moved my blog today over to BlogEngine .Net today.  It is a nice blog engine that stores the blog entries in xml.  You can also publish blog entries with windows live writer or Word 2007.  &lt;/p&gt;
&lt;/blockquote&gt;&lt;blockquote&gt;
&lt;p&gt;        To keep my existing links working I added to the rewriter class in the BlogEngine.Core.  I created an xml file which stores the OldUrl and the NewUrl to rewrite to. I store the urls I am rewriting in an xml (rewrite.xml) file in the App_Data directory &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;In the UrlRewrite class I changed the context_BeginRequest procedure to this. &lt;/p&gt;
&lt;p&gt;private void context_BeginRequest(object sender, EventArgs e) &lt;br /&gt;
{ &lt;br /&gt;
  HttpContext context = ((HttpApplication)sender).Context; &lt;br /&gt;
  DataSet ds = new DataSet(); &lt;br /&gt;
  int intStart = context.Request.RawUrl.IndexOf('/', 8) + 1; &lt;br /&gt;
  string UrlPart = context.Request.RawUrl.Substring(intStart); &lt;br /&gt;
  ds.ReadXml(context.Server.MapPath(@"~/App_Data/rewrite.xml")); &lt;br /&gt;
  DataRow[] dr = ds.Tables["Urls"].Select("OldUrl Like '" + UrlPart + "'", null); &lt;br /&gt;
  if (dr.Length &amp;gt; 0) &lt;br /&gt;
  { &lt;br /&gt;
      string s = dr[0]["NewUrl"].ToString(); &lt;br /&gt;
      if (s.Contains(@"/")) &lt;br /&gt;
      { &lt;br /&gt;
          // if rewrite path is not in same directory we have to redirect &lt;br /&gt;
          context.Response.Redirect(s); &lt;br /&gt;
      } &lt;br /&gt;
      else &lt;br /&gt;
      { &lt;br /&gt;
          // we can use repath if in same directory &lt;br /&gt;
          context.RewritePath(s); &lt;br /&gt;
      } &lt;/p&gt;
&lt;p&gt;      return; &lt;br /&gt;
  } &lt;/p&gt;
&lt;p&gt;  if (context.Request.RawUrl.ToLowerInvariant().Contains(".aspx")) &lt;br /&gt;
  { &lt;br /&gt;
    if (context.Request.RawUrl.ToLowerInvariant().Contains("/post/")) &lt;br /&gt;
    { &lt;br /&gt;
      RewritePost(context); &lt;br /&gt;
    } &lt;br /&gt;
    else if (context.Request.RawUrl.ToLowerInvariant().Contains("/category/")) &lt;br /&gt;
    { &lt;br /&gt;
      RewriteCategory(context); &lt;br /&gt;
    } &lt;br /&gt;
    else if (context.Request.RawUrl.ToLowerInvariant().Contains("/page/")) &lt;br /&gt;
    { &lt;br /&gt;
      RewritePage(context); &lt;br /&gt;
    } &lt;br /&gt;
    else if (context.Request.RawUrl.ToLowerInvariant().Contains("/author/")) &lt;br /&gt;
    { &lt;br /&gt;
        string author = ExtractTitle(context, "/author/"); &lt;br /&gt;
        context.RewritePath("~/default.aspx?name=" + author + GetQueryString(context), false); &lt;br /&gt;
    } &lt;br /&gt;
    //else if (context.Request.RawUrl.ToLowerInvariant().Contains("/tag.aspx/")) &lt;br /&gt;
    //{ &lt;br /&gt;
    //  string tag = ExtractTitle(context, "/tag.aspx/"); &lt;br /&gt;
    //  context.RewritePath("~/default.aspx?name=" + tag + GetQueryString(context), false); &lt;br /&gt;
    //} &lt;br /&gt;
  } &lt;br /&gt;
} &lt;/p&gt;
&lt;p&gt;The XML file Rewriter.xml in the App_Data directory to store the Urls to rewrite &lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version="1.0" standalone="yes"?&amp;gt; &lt;br /&gt;
&amp;lt;DocumentElement&amp;gt; &lt;br /&gt;
  &amp;lt;Urls&amp;gt; &lt;br /&gt;
    &amp;lt;OldUrl&amp;gt;sitemap.aspx&amp;lt;/OldUrl&amp;gt; &lt;br /&gt;
    &amp;lt;NewUrl&amp;gt;sitemap.axd&amp;lt;/NewUrl&amp;gt; &lt;br /&gt;
  &amp;lt;/Urls&amp;gt; &lt;br /&gt;
&amp;lt;/DocumentElement&amp;gt; &lt;/p&gt;
&lt;p&gt;I also added a webpage rewrite.aspx in the admin/pages directory for editing the Urls &lt;/p&gt;
&lt;p&gt;&amp;lt;%@ Page Language="C#" MasterPageFile="~/admin/admin1.master" AutoEventWireup="true" CodeFile="Rewrite.aspx.cs" Inherits="admin_Pages_Rewrite" Title="URL Rewrites" %&amp;gt; &lt;br /&gt;
&amp;lt;asp:Content ID="Content1" ContentPlaceHolderID="cphAdmin" Runat="Server"&amp;gt; &lt;br /&gt;
&amp;lt;asp:Label runat="server" ID="lblOld" Text="Old Url" &amp;gt;&amp;lt;/asp:Label&amp;gt;&amp;lt;asp:TextBox runat="Server" ID="txtOld"&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&amp;lt;br /&amp;gt; &lt;br /&gt;
&amp;lt;asp:Label ID="Label1" runat="server" Text="New Url" &amp;gt;&amp;lt;/asp:Label&amp;gt;&amp;lt;asp:TextBox runat="Server" ID="txtNew"&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&amp;lt;br /&amp;gt; &lt;br /&gt;
    &amp;lt;br /&amp;gt; &lt;br /&gt;
    &amp;lt;asp:Button ID="btnAdd" runat="server" OnClick="btnAdd_Click" Text="Add" /&amp;gt;&amp;lt;br /&amp;gt; &lt;/p&gt;
&lt;p&gt;  &amp;lt;asp:GridView runat="server" ID="gridRewrite" AutoGenerateColumns="false" UseAccessibleHeader="true" Width="100%" HeaderStyle-HorizontalAlign="left"&amp;gt; &lt;br /&gt;
  &amp;lt;Columns&amp;gt; &lt;br /&gt;
    &amp;lt;asp:BoundField DataField="OldUrl" HeaderText="&amp;lt;%$ Resources:labels, OldUrl %&amp;gt;" /&amp;gt; &lt;br /&gt;
    &amp;lt;asp:BoundField DataField="NewUrl" HeaderText="&amp;lt;%$ Resources:labels, NewUrl %&amp;gt;" /&amp;gt; &lt;br /&gt;
    &amp;lt;asp:TemplateField HeaderText="&amp;lt;%$ Resources:labels, delete %&amp;gt;"&amp;gt; &lt;br /&gt;
      &amp;lt;ItemTemplate&amp;gt; &lt;br /&gt;
        &amp;lt;a href="?delete=&amp;lt;%# Eval("OldUrl") %&amp;gt;" onclick="return confirm('&amp;lt;%# string.Format(Resources.labels.areYouSure, Resources.labels.delete.ToLower(), Eval("OldUrl")) %&amp;gt;')"&amp;gt;&amp;lt;%=Resources.labels.delete %&amp;gt;&amp;lt;/a&amp;gt; &lt;br /&gt;
      &amp;lt;/ItemTemplate&amp;gt; &lt;br /&gt;
    &amp;lt;/asp:TemplateField&amp;gt; &lt;br /&gt;
  &amp;lt;/Columns&amp;gt; &lt;br /&gt;
  &amp;lt;/asp:GridView&amp;gt; &lt;br /&gt;
&amp;lt;/asp:Content&amp;gt; &lt;/p&gt;
&lt;p&gt;The code behind &lt;/p&gt;
&lt;p&gt;using System; &lt;br /&gt;
using System.Data; &lt;br /&gt;
using System.Configuration; &lt;br /&gt;
using System.Collections; &lt;br /&gt;
using System.Web; &lt;br /&gt;
using System.Web.Security; &lt;br /&gt;
using System.Web.UI; &lt;br /&gt;
using System.Web.UI.WebControls; &lt;br /&gt;
using System.Web.UI.WebControls.WebParts; &lt;br /&gt;
using System.Web.UI.HtmlControls; &lt;/p&gt;
&lt;p&gt;public partial class admin_Pages_Rewrite : System.Web.UI.Page &lt;br /&gt;
{ &lt;br /&gt;
    protected void Page_Load(object sender, EventArgs e) &lt;br /&gt;
    { &lt;br /&gt;
        DataSet ds = new DataSet(); &lt;br /&gt;
        string strPath = Server.MapPath("~/App_Data/rewrite.xml"); &lt;br /&gt;
        ds.ReadXml(strPath); &lt;br /&gt;
        if (!Page.IsPostBack) &lt;br /&gt;
        { &lt;br /&gt;
            if (Request.QueryString["delete"] != null) &lt;br /&gt;
            { &lt;br /&gt;
                DataRow[] dr = ds.Tables["Urls"].Select("OldUrl ='" + Request.QueryString["delete"].ToString() + "'", null); &lt;br /&gt;
                try &lt;br /&gt;
                { &lt;br /&gt;
                    ds.Tables["Urls"].Rows.Remove(dr[0]); &lt;/p&gt;
&lt;p&gt;                } &lt;br /&gt;
                catch (Exception) &lt;br /&gt;
                { &lt;br /&gt;
                    System.Diagnostics.Debug.Print("Not found"); &lt;br /&gt;
                } &lt;br /&gt;
                ds.WriteXml(strPath); &lt;br /&gt;
            } &lt;br /&gt;
        } &lt;br /&gt;
        gridRewrite.DataSource = ds.Tables["Urls"]; &lt;br /&gt;
        gridRewrite.DataBind(); &lt;br /&gt;
    } &lt;br /&gt;
    protected void btnAdd_Click(object sender, EventArgs e) &lt;br /&gt;
    { &lt;br /&gt;
        string strPath = Server.MapPath("~/App_Data/rewrite.xml"); &lt;br /&gt;
        DataSet ds = new DataSet(); &lt;br /&gt;
        ds.ReadXml(strPath); &lt;br /&gt;
        DataRow dr = ds.Tables["Urls"].NewRow(); &lt;br /&gt;
        dr["OldUrl"] = txtOld.Text; &lt;br /&gt;
        dr["NewUrl"] = txtNew.Text; &lt;br /&gt;
        ds.Tables["Urls"].Rows.Add(dr); &lt;br /&gt;
        ds.WriteXml(strPath); &lt;br /&gt;
        Response.Redirect("rewrite.aspx", true); &lt;br /&gt;
    } &lt;br /&gt;
} &lt;/p&gt;&lt;img src="http://blog.onteorasoftware.net/aggbug/52.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://blog.onteorasoftware.net/archive/2009/10/11/blogengine-.net.aspx</guid>
            <pubDate>Sun, 11 Oct 2009 09:48:24 GMT</pubDate>
            <wfw:comment>http://blog.onteorasoftware.net/comments/52.aspx</wfw:comment>
            <comments>http://blog.onteorasoftware.net/archive/2009/10/11/blogengine-.net.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://blog.onteorasoftware.net/comments/commentRss/52.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Paging a Windows Forms DataGridView with LINQ</title>
            <category>DataGridView</category>
            <category>Linq</category>
            <category>VS 2008</category>
            <link>http://blog.onteorasoftware.net/archive/2009/10/11/paging-a-windows-forms-datagridview-with-linq.aspx</link>
            <description>&lt;p&gt;Since Visual Studio 2008 is due out by the end of the Month I am updating some of my datagridview samples for LINQ. &lt;/p&gt;
&lt;p&gt;To start off create a new windows forms application in VS 2008 make sure you select FrameWork 3.5 so you can use linq &lt;/p&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;p&gt;&lt;img alt="" width="804" height="480" src="/image.axd?picture=NewProject.png" /&gt; &lt;/p&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;p&gt;I now added a new Linq to Sql designer to the project and named it Northwind.  Drag the Northwind Products Table on to the design surface from the Server Explorer. &lt;/p&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;p&gt;&lt;img alt="" width="510" height="392" src="/image.axd?picture=LinqToSql.png" /&gt; &lt;/p&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;p&gt;On your windows forms add a DataGridView (DataGridView1) and a NumericUpDown control (nuPage).  For this example I will have the datagridview show 15 items at a time.  In the form load event we will figure out how many pages there are and load the first 15 items into the datagridview.  In the NumericUpdown controls value changed event we will update the data displayed &lt;/p&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;p&gt;Public Class Form1&lt;br /&gt;
    Dim bs As New BindingSource &lt;/p&gt;
&lt;p&gt;    Private intPages As Integer&lt;br /&gt;
    Dim db As New NorthwindDataContext &lt;/p&gt;
&lt;p&gt;    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;br /&gt;
        intPages = Math.Ceiling(db.Products.Count / 15)&lt;br /&gt;
        nuPage.Maximum = intPages&lt;br /&gt;
        nuPage.Minimum = 1&lt;br /&gt;
        Dim p = From prod In db.Products _&lt;br /&gt;
                Select prod Skip 0 Take 15&lt;br /&gt;
        bs.DataSource = p&lt;br /&gt;
        bs.AllowNew = False&lt;br /&gt;
        DataGridView1.DataSource = bs&lt;br /&gt;
    End Sub &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
    Private Sub nuPage_ValueChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles nuPage.ValueChanged&lt;br /&gt;
        Dim p = From prod In db.Products _&lt;br /&gt;
                Select prod Skip (nuPage.Value - 1) * 15 Take 15&lt;br /&gt;
        bs.DataSource = p&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class &lt;/p&gt;&lt;img src="http://blog.onteorasoftware.net/aggbug/47.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://blog.onteorasoftware.net/archive/2009/10/11/paging-a-windows-forms-datagridview-with-linq.aspx</guid>
            <pubDate>Sun, 11 Oct 2009 09:48:23 GMT</pubDate>
            <wfw:comment>http://blog.onteorasoftware.net/comments/47.aspx</wfw:comment>
            <comments>http://blog.onteorasoftware.net/archive/2009/10/11/paging-a-windows-forms-datagridview-with-linq.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://blog.onteorasoftware.net/comments/commentRss/47.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Silverlight 3 Could Not download the silverlight Application</title>
            <category>Silverlight</category>
            <link>http://blog.onteorasoftware.net/archive/2009/07/15/silverlight-3-could-not-download-the-silverlight-application.aspx</link>
            <description>&lt;p&gt;I created a simple Silverlight 3 app.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&amp;lt;UserControl x:Class="SilverlightApplication2.MainPage" &lt;br /&gt;
    xmlns="&lt;a href="http://schemas.microsoft.com/winfx/2006/xaml/presentation%22"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation"&lt;/a&gt; &lt;br /&gt;
    xmlns:x="&lt;a href="http://schemas.microsoft.com/winfx/2006/xaml%22"&gt;http://schemas.microsoft.com/winfx/2006/xaml"&lt;/a&gt; &lt;br /&gt;
    xmlns:d="&lt;a href="http://schemas.microsoft.com/expression/blend/2008%22"&gt;http://schemas.microsoft.com/expression/blend/2008"&lt;/a&gt; xmlns:mc="&lt;a href="http://schemas.openxmlformats.org/markup-compatibility/2006%22"&gt;http://schemas.openxmlformats.org/markup-compatibility/2006"&lt;/a&gt; &lt;br /&gt;
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"&amp;gt; &lt;br /&gt;
    &amp;lt;Grid x:Name="LayoutRoot"&amp;gt; &lt;br /&gt;
        &amp;lt;TextBlock Text="Hello World!" &amp;gt;&amp;lt;/TextBlock&amp;gt; &lt;br /&gt;
    &amp;lt;/Grid&amp;gt; &lt;br /&gt;
&amp;lt;/UserControl&amp;gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;When I run it I get this error&lt;/p&gt;
&lt;p&gt;&lt;a href="http://onteorasoftware.net/files/media/image/WindowsLiveWriter/Silverlight3CouldNotdownloadthesilverlig_5FF5/image_2.png"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title="image" border="0" alt="image" width="244" height="163" src="http://onteorasoftware.net/files/media/image/WindowsLiveWriter/Silverlight3CouldNotdownloadthesilverlig_5FF5/image_thumb.png" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Line: 56 &lt;br /&gt;
Error: Unhandled Error in Silverlight Application &lt;br /&gt;
Code: 2104    &lt;br /&gt;
Category: InitializeError       &lt;br /&gt;
Message: Could not download the Silverlight application. Check web server settings    &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Well if you look in the ClientBin folder you will see it is empty so the xap file is not available to be used&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;To fix this right click on the web application and select Build Order.  On the Dependencies tab make sure the Checkbox next to the Silverlight app is checked.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://onteorasoftware.net/files/media/image/WindowsLiveWriter/Silverlight3CouldNotdownloadthesilverlig_5FF5/image_4.png"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title="image" border="0" alt="image" width="244" height="233" src="http://onteorasoftware.net/files/media/image/WindowsLiveWriter/Silverlight3CouldNotdownloadthesilverlig_5FF5/image_thumb_1.png" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blog.onteorasoftware.net/aggbug/144.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://blog.onteorasoftware.net/archive/2009/07/15/silverlight-3-could-not-download-the-silverlight-application.aspx</guid>
            <pubDate>Wed, 15 Jul 2009 04:00:00 GMT</pubDate>
            <wfw:comment>http://blog.onteorasoftware.net/comments/144.aspx</wfw:comment>
            <comments>http://blog.onteorasoftware.net/archive/2009/07/15/silverlight-3-could-not-download-the-silverlight-application.aspx#feedback</comments>
            <slash:comments>8</slash:comments>
            <wfw:commentRss>http://blog.onteorasoftware.net/comments/commentRss/144.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Space Coast .Net Meeting – June 16, 2009 John Papa</title>
            <category>Silverlight</category>
            <category>User Group</category>
            <link>http://blog.onteorasoftware.net/archive/2009/06/14/space-coast-net-meeting-ndash-june-16-2009-john-papa.aspx</link>
            <description>&lt;h5&gt;&lt;a href="http://www.scdnug.org/#"&gt;John Papa - Ado.Net Data Services&lt;/a&gt;&lt;/h5&gt;
&lt;p&gt;6/17/2009 6:30:00 PM &lt;/p&gt;
&lt;p&gt;6/17/2009 8:00:00 PM &lt;/p&gt;
&lt;h3&gt;About&lt;/h3&gt;
&lt;p&gt;&lt;a href="http://johnpapa.net/files/media/image/WindowsLiveWriter/About_AF62/jp2_2.jpg"&gt;&lt;img title="jp2" alt="jp2" width="100" height="133" src="http://johnpapa.net/files/media/image/WindowsLiveWriter/About_AF62/jp2_thumb.jpg" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;John Papa is a &lt;a href="https://mvp.support.microsoft.com/profile=7D3BBCB7-E956-4730-B3E0-24BD7EAD0D5D"&gt;Microsoft C# MVP&lt;/a&gt;, &lt;a href="http://www.ineta.org/DesktopDefault.aspx?tabindex=2&amp;amp;tabid=14"&gt;INETA speaker&lt;/a&gt;, member of the WPF and Silverlight Insiders, consultant, speaker, author, and trainer for &lt;a href="http://www.aspsoft.com/"&gt;ASPSOFT&lt;/a&gt; who specializes in professional application development with Microsoft technologies including Silverlight, WPF, C#, .NET and SQL Server. John has written over 70 articles and authored 9 books including his latest book &lt;a href="http://www.amazon.com/exec/obidos/ASIN/0596523092/johnpanet-20"&gt;Data Driven Services with Silverlight 2&lt;/a&gt; by O’Reilly Media. John is currently working on a follow up to his Silverlight book, with a working title of Silverlight for Business. &lt;/p&gt;
&lt;p&gt;He can often be found speaking at industry conferences such as &lt;a href="http://www.visitmix.com/"&gt;MIX&lt;/a&gt;,  &lt;a href="http://www.vslive.com/"&gt;VSLive&lt;/a&gt; and &lt;a href="http://www.devconnections.com/"&gt;DevConnections&lt;/a&gt;, speaking at user groups around the country, and viewed on MSDN Web Casts. John also spearheaded the 1&lt;sup&gt;st&lt;/sup&gt; annual Silverlight MIXer, a gathering of some of the most influential members of the Silverlight community for a great night a MIX09. You can always find John at &lt;a href="http://www.johnpapa.net/"&gt;johnpapa.net&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;John Papa will be showing Astoria using Silverlight 3 beta as the client. &lt;/p&gt;
&lt;p&gt;ADO.NET Data Services (codenamed Astoria) exposes entity models through RESTful services. It can dramatically simplify the code required to expose business objects through web services and reduce a tremendous amount of code. This session will show how to expose entity models using ADO.NET Data Services, how to consume and save data, and how to debug the communications using various tools. When the technology does not quite do what you need out of the box, it also allows for customizations to create custom service operations, intercept queries, and enforce permissions. Attendees will walk away with an understanding of the capabilities of ADO.NET Data Services, how to use them with Silverlight, and when and where it is ideal to use in an application architecture and when there are better options. &lt;/p&gt;
&lt;p&gt;Street: 8045 N. Wickham Road &lt;br /&gt;
City: melbourne&lt;br /&gt;
Country: USA&lt;br /&gt;
State: Florida &lt;/p&gt;&lt;img src="http://blog.onteorasoftware.net/aggbug/145.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://blog.onteorasoftware.net/archive/2009/06/14/space-coast-net-meeting-ndash-june-16-2009-john-papa.aspx</guid>
            <pubDate>Sun, 14 Jun 2009 04:00:00 GMT</pubDate>
            <wfw:comment>http://blog.onteorasoftware.net/comments/145.aspx</wfw:comment>
            <comments>http://blog.onteorasoftware.net/archive/2009/06/14/space-coast-net-meeting-ndash-june-16-2009-john-papa.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://blog.onteorasoftware.net/comments/commentRss/145.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Windows 7 RC User Profile Service Failed the Logon</title>
            <link>http://blog.onteorasoftware.net/archive/2009/05/23/windows-7-rc-user-profile-service-failed-the-logon.aspx</link>
            <description>&lt;p&gt;
I upgraded my laptop the other day to use Windows 7 RC.  I am really liking the speed improvements and the windows virtual pc that it comes with. Dont forget to enable virtualization on your microprocessor in your computer's bios settings if you want to use windows virtual pc.
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
 The other day after the upgrade  I was not able to log into my account. I got an message User Profile Service Failed the Logon.   The error was caused by a messed up registry key for the user profile for my account.  Well I was able to boot into safe mode and follow the instructions in this post in the Windows Vista Forums and fix the problem.   
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html" target="_blank"&gt;http://www.vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html &lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
Hope this helps 
&lt;/p&gt;
&lt;img src="http://blog.onteorasoftware.net/aggbug/1.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ken Tucker</dc:creator>
            <guid>http://blog.onteorasoftware.net/archive/2009/05/23/windows-7-rc-user-profile-service-failed-the-logon.aspx</guid>
            <pubDate>Sat, 23 May 2009 19:40:22 GMT</pubDate>
            <wfw:comment>http://blog.onteorasoftware.net/comments/1.aspx</wfw:comment>
            <comments>http://blog.onteorasoftware.net/archive/2009/05/23/windows-7-rc-user-profile-service-failed-the-logon.aspx#feedback</comments>
            <slash:comments>7</slash:comments>
            <wfw:commentRss>http://blog.onteorasoftware.net/comments/commentRss/1.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Getting Windows Mobile Device ID</title>
            <category>Compact Framework</category>
            <category>VB</category>
            <link>http://blog.onteorasoftware.net/archive/2009/03/26/getting-windows-mobile-device-id.aspx</link>
            <description>&lt;p&gt;I got email today asking me how to get the device ID from a pocket pc with vb&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:DFDE9937-D816-47f4-A306-7B60D5CE5AC0:d68b95e0-d5cc-407c-a09e-7f21cae8703b" class="wlWriterEditableSmartContent"&gt;&lt;pre class="brush: vb; gutter: false; first-line: 1; tab-size: 4;  toolbar: true; "&gt;Imports System.Text

Public Class Form1

    &amp;lt;System.Runtime.InteropServices.DllImport("coredll.dll")&amp;gt; _
Private Shared Function GetDeviceUniqueID(ByVal appdata As Byte(), ByVal cbApplictionData As Integer, ByVal dwDeviceIDVersion As Integer, ByVal deviceIDOuput As Byte(), ByRef pcbDeviceIDOutput As Integer) As Integer
    End Function

    Private Function GetDeviceId(ByVal appData As String) As Byte()

        Dim appDataBytes As Byte() = System.Text.Encoding.ASCII.GetBytes(appData)
        Dim outputSize As Integer = 20
        Dim output(19) As Byte

        Dim result As Integer = GetDeviceUniqueID(appDataBytes, appDataBytes.Length, 1, output, outputSize)

        Return output

    End Function

    Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim sbId As New StringBuilder

        Dim bID() As Byte = GetDeviceId("MyAppName")

        For Each b In bID
            sbId.Append(String.Format("{0:x2}", b))
        Next

        Debug.WriteLine(sbId.ToString)
    End Sub
End Class
&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p /&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;References&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;&lt;a title="http://www.peterfoot.net/GetDeviceUniqueIDForVB.aspx" href="http://www.peterfoot.net/GetDeviceUniqueIDForVB.aspx"&gt;http://www.peterfoot.net/GetDeviceUniqueIDForVB.aspx&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a title="http://msdn.microsoft.com/en-us/library/ms893522.aspx" href="http://msdn.microsoft.com/en-us/library/ms893522.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms893522.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blog.onteorasoftware.net/aggbug/2.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ken Tucker</dc:creator>
            <guid>http://blog.onteorasoftware.net/archive/2009/03/26/getting-windows-mobile-device-id.aspx</guid>
            <pubDate>Thu, 26 Mar 2009 19:10:32 GMT</pubDate>
            <wfw:comment>http://blog.onteorasoftware.net/comments/2.aspx</wfw:comment>
            <comments>http://blog.onteorasoftware.net/archive/2009/03/26/getting-windows-mobile-device-id.aspx#feedback</comments>
            <slash:comments>55</slash:comments>
            <wfw:commentRss>http://blog.onteorasoftware.net/comments/commentRss/2.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Microsoft Patterns &amp;amp; Practices&amp;rsquo; Composite Application Guidance for WPF and Silverlight now in VB.NET!</title>
            <link>http://blog.onteorasoftware.net/archive/2009/03/25/microsoft-patterns-amp-practicesrsquo-composite-application-guidance-for-wpf-and.aspx</link>
            <description>&lt;p&gt;The Patterns and Practices team has released VB versions of the Quick Starts, Hands on Labs, and How to Topics. You can download them here&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=537da1cd-43e1-4799-88e7-a1da9166fb46" href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=537da1cd-43e1-4799-88e7-a1da9166fb46"&gt;http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=537da1cd-43e1-4799-88e7-a1da9166fb46&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blog.onteorasoftware.net/aggbug/3.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ken Tucker</dc:creator>
            <guid>http://blog.onteorasoftware.net/archive/2009/03/25/microsoft-patterns-amp-practicesrsquo-composite-application-guidance-for-wpf-and.aspx</guid>
            <pubDate>Wed, 25 Mar 2009 04:35:09 GMT</pubDate>
            <wfw:comment>http://blog.onteorasoftware.net/comments/3.aspx</wfw:comment>
            <comments>http://blog.onteorasoftware.net/archive/2009/03/25/microsoft-patterns-amp-practicesrsquo-composite-application-guidance-for-wpf-and.aspx#feedback</comments>
            <slash:comments>12</slash:comments>
            <wfw:commentRss>http://blog.onteorasoftware.net/comments/commentRss/3.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Silverlight 2.0 Interacting with html</title>
            <link>http://blog.onteorasoftware.net/archive/2009/03/24/silverlight-2.0-interacting-with-html.aspx</link>
            <description>&lt;p&gt;With SilverLight 2.0 you can interact and handle events with the html elements on your page.  Here is a simple example that places a select (drop down control) on a web page which will change the color of a ellipse on a SilverLight app.  So lets start with the html&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:DFDE9937-D816-47f4-A306-7B60D5CE5AC0:55a04144-1662-4080-82e2-219df4bb6cce" class="wlWriterEditableSmartContent"&gt;&lt;pre class="brush: plain; gutter: false; first-line: 1; tab-size: 4;  toolbar: true; "&gt;&amp;lt;body style="height: 100%; margin: 0;"&amp;gt;
    &amp;lt;form id="form1" runat="server" style="height: 100%;"&amp;gt;
    &amp;lt;asp:ScriptManager ID="ScriptManager1" runat="server"&amp;gt;
    &amp;lt;/asp:ScriptManager&amp;gt;
    &amp;lt;br /&amp;gt;
    &amp;lt;span&amp;gt;Select a Color &amp;lt;/span&amp;gt;
    &amp;lt;select id="ddColor"&amp;gt;
        &amp;lt;option&amp;gt;Red&amp;lt;/option&amp;gt;
        &amp;lt;option&amp;gt;Blue&amp;lt;/option&amp;gt;
        &amp;lt;option&amp;gt;Green&amp;lt;/option&amp;gt;
    &amp;lt;/select&amp;gt;
    &amp;lt;br /&amp;gt;
    &amp;lt;br /&amp;gt;
    &amp;lt;div style="height: 100%;"&amp;gt;
        &amp;lt;asp:Silverlight ID="Xaml1" runat="server" Source="~/ClientBin/HtmlAndSilverlight.xap"
            MinimumVersion="2.0.30923.0" Width="100%" Height="100%" /&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;/form&amp;gt;
&amp;lt;/body&amp;gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Now the XAML&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:DFDE9937-D816-47f4-A306-7B60D5CE5AC0:a814d9c9-5cc0-4eea-aeba-9c3d986c4b61" class="wlWriterEditableSmartContent"&gt;&lt;pre class="brush: plain; gutter: false; first-line: 1; tab-size: 4;  toolbar: true; "&gt;&amp;lt;UserControl x:Class="HtmlAndSilverlight.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Width="400" Height="300"&amp;gt;
    &amp;lt;Canvas x:Name="LayoutRoot" Background="Tan" &amp;gt;
        &amp;lt;Ellipse x:Name="el" Width="400" Height="300" Fill="Red"&amp;gt;&amp;lt;/Ellipse&amp;gt;
    &amp;lt;/Canvas&amp;gt;
&amp;lt;/UserControl&amp;gt; 

 
&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p /&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Now build the app so we have intellisense for the controls.  Ok first off lets get access to the drop down (select) on the web page. Then we can use AttachEvent to handle the onchange event.    &lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:DFDE9937-D816-47f4-A306-7B60D5CE5AC0:75c2e195-2a19-44a6-8139-26ded649f49d" class="wlWriterEditableSmartContent"&gt;&lt;pre class="brush: vb; gutter: false; first-line: 1; tab-size: 4;  toolbar: true; "&gt;Dim cbo As HtmlElement
Private Sub Page_Loaded(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles Me.Loaded
    cbo = HtmlPage.Document.GetElementById("ddColor")
    cbo.AttachEvent("onchange", AddressOf ColorChanged)
End Sub &lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p&gt;  &lt;/p&gt;

&lt;p&gt;Once the user selects a color we will change the color of the ellipse.  Here is the complete code listing &lt;/p&gt;

&lt;p&gt;  &lt;/p&gt;

&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:DFDE9937-D816-47f4-A306-7B60D5CE5AC0:92f5f94c-3d5f-486b-978d-2115050c8d5a" class="wlWriterEditableSmartContent"&gt;&lt;pre class="brush: vb; gutter: false; first-line: 1; tab-size: 4;  toolbar: true; "&gt;Imports System.Windows.Browser 

Partial Public Class Page
    Inherits UserControl 

    Public Sub New()
        InitializeComponent()
    End Sub
    Dim cbo As HtmlElement
    Private Sub Page_Loaded(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles Me.Loaded
        cbo = HtmlPage.Document.GetElementById("ddColor")
        cbo.AttachEvent("onchange", AddressOf ColorChanged)
    End Sub 

    Private Sub ColorChanged(ByVal sender As Object, ByVal e As HtmlEventArgs)
        Dim x = CInt(cbo.GetAttribute("selectedIndex").ToString)
        Select Case x
            Case 0
                el.Fill = New SolidColorBrush(Colors.Red)
            Case 1
                el.Fill = New SolidColorBrush(Colors.Blue)
            Case 2
                el.Fill = New SolidColorBrush(Colors.Green)
        End Select
    End Sub
End Class 
&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p /&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Hope this helps&lt;/p&gt;&lt;img src="http://blog.onteorasoftware.net/aggbug/16.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ken Tucker</dc:creator>
            <guid>http://blog.onteorasoftware.net/archive/2009/03/24/silverlight-2.0-interacting-with-html.aspx</guid>
            <pubDate>Tue, 24 Mar 2009 20:28:44 GMT</pubDate>
            <wfw:comment>http://blog.onteorasoftware.net/comments/16.aspx</wfw:comment>
            <comments>http://blog.onteorasoftware.net/archive/2009/03/24/silverlight-2.0-interacting-with-html.aspx#feedback</comments>
            <slash:comments>11</slash:comments>
            <wfw:commentRss>http://blog.onteorasoftware.net/comments/commentRss/16.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Making a REST service with VB and WCF</title>
            <category>VB</category>
            <category>wcf</category>
            <link>http://blog.onteorasoftware.net/archive/2009/03/24/making-a-rest-service-with-vb-and-wcf.aspx</link>
            <description>&lt;p&gt;REST which stands for Representational State Transfer is a way of sending data over the Internet without an additional message layer.  Standard web services use soap for there message header.  In this example we will create a service that uses the northwind database to send a  list of the products for a category.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;Lets start by create a new VB web application. In that web application add a Ado.Net Entities data model.  In that class add the northwind database's product class.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.onteorasoftware.com/image.axd?picture=WindowsLiveWriter/MakingaRESTservicewithVBandWCF_13585/image_2.png"&gt;&lt;img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="image" src="http://www.onteorasoftware.com/image.axd?picture=WindowsLiveWriter/MakingaRESTservicewithVBandWCF_13585/image_thumb.png" width="241" height="298" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;Now add a service named Service1 to the web application.  Lets start by modify the web.config for the service to support rest.  First remove the ServiceBehavior section and add a endpointBehaviors section for webHttp.  In the endpoint we have to change the binding to webHttpBinding and the behaviorConfiguration to the webBehavior we created.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:DFDE9937-D816-47f4-A306-7B60D5CE5AC0:f1ecc7b2-3c7f-4626-87c5-0a45bdfc5dfc" class="wlWriterEditableSmartContent"&gt;&lt;pre class="brush: plain; gutter: false; first-line: 1; tab-size: 4;  toolbar: true; "&gt;    &amp;lt;system.serviceModel&amp;gt;
        &amp;lt;behaviors&amp;gt;
      &amp;lt;endpointBehaviors&amp;gt;
        &amp;lt;behavior name="webBehavior"&amp;gt;
          &amp;lt;webHttp/&amp;gt;
        &amp;lt;/behavior&amp;gt;
      &amp;lt;/endpointBehaviors&amp;gt;
        &amp;lt;/behaviors&amp;gt;
        &amp;lt;serviceHostingEnvironment aspNetCompatibilityEnabled="True"&amp;gt;&amp;lt;/serviceHostingEnvironment&amp;gt;
        &amp;lt;services&amp;gt;
            &amp;lt;service name="RestTest.Service1"&amp;gt;
                &amp;lt;endpoint address="" behaviorConfiguration="webBehavior" binding="webHttpBinding" bindingConfiguration="" contract="RestTest.IService1"&amp;gt;
                &amp;lt;/endpoint&amp;gt;
            &amp;lt;/service&amp;gt;
        &amp;lt;/services&amp;gt;
    &amp;lt;/system.serviceModel&amp;gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p&gt;  &lt;/p&gt;

&lt;p&gt;When we added the service we got 2 items the wcf service and an interface for the service.  Before we go any further we need to add a reference to system.servicebehavior.web   &lt;/p&gt;

&lt;p&gt;  &lt;/p&gt;

&lt;p&gt;In the Interface we need to define the how the categoryId is passed to the service.  In this example it expects product/categoryID in the url for the service &lt;/p&gt;

&lt;p&gt;  &lt;/p&gt;

&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:DFDE9937-D816-47f4-A306-7B60D5CE5AC0:d346bc95-1ff3-4d84-a205-ba8c3bff4f3a" class="wlWriterEditableSmartContent"&gt;&lt;pre class="brush: vb; gutter: false; first-line: 1; tab-size: 4;  toolbar: true; "&gt;Imports System.ServiceModel
Imports System.ServiceModel.Web 

&amp;lt;ServiceContract()&amp;gt; _
Public Interface IService1 

    &amp;lt;OperationContract()&amp;gt; _
    &amp;lt;WebGet(UriTemplate:="Product/{categoryID}", ResponseFormat:=WebMessageFormat.Xml, BodyStyle:=WebMessageBodyStyle.Bare)&amp;gt; _
    Function GetProducts(ByVal categoryId As String) As List(Of Products) 

End Interface 
&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p /&gt;

&lt;p&gt;  &lt;/p&gt;

&lt;p&gt;In the service we need to set the AspNetCompatibilityMode and write some code to return the products &lt;/p&gt;

&lt;p&gt;  &lt;/p&gt;

&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:DFDE9937-D816-47f4-A306-7B60D5CE5AC0:9a6af4a4-066b-4d03-b89d-75fe817632f1" class="wlWriterEditableSmartContent"&gt;&lt;pre class="brush: vb; gutter: false; first-line: 1; tab-size: 4;  toolbar: true; "&gt;Imports System.ServiceModel.Activation 

&amp;lt;AspNetCompatibilityRequirements(RequirementsMode:=AspNetCompatibilityRequirementsMode.Allowed)&amp;gt; _
Public Class Service1
    Implements IService1 

    Public Function GetProducts(ByVal categoryId As String) As System.Collections.Generic.List(Of Products) Implements IService1.GetProducts
        Dim dc As New NorthwindEntities
        Dim q = From p In dc.Products Select p Where p.CategoryID = CInt(categoryId)
        Return q.ToList
    End Function
End Class 
&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p /&gt;

&lt;p&gt;  &lt;/p&gt;

&lt;p&gt;To call the service you would use a url like &lt;a title="http://localhost:2050/Service1.svc/Product/7" href="http://localhost:2050/Service1.svc/Product/7"&gt;http://localhost:2050/Service1.svc/Product/7&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;  &lt;/p&gt;

&lt;p&gt;you will get an xml file like this returned &lt;/p&gt;

&lt;p&gt;  &lt;/p&gt;

&lt;p&gt; &lt;/p&gt;
&lt;a href="http://www.onteorasoftware.com/image.axd?picture=WindowsLiveWriter/MakingaRESTservicewithVBandWCF_13585/image_4.png"&gt;&lt;img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="image" src="http://www.onteorasoftware.com/image.axd?picture=WindowsLiveWriter/MakingaRESTservicewithVBandWCF_13585/image_thumb_1.png" width="644" height="270" /&gt;&lt;/a&gt;&lt;img src="http://blog.onteorasoftware.net/aggbug/8.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ken Tucker</dc:creator>
            <guid>http://blog.onteorasoftware.net/archive/2009/03/24/making-a-rest-service-with-vb-and-wcf.aspx</guid>
            <pubDate>Tue, 24 Mar 2009 20:25:51 GMT</pubDate>
            <wfw:comment>http://blog.onteorasoftware.net/comments/8.aspx</wfw:comment>
            <comments>http://blog.onteorasoftware.net/archive/2009/03/24/making-a-rest-service-with-vb-and-wcf.aspx#feedback</comments>
            <slash:comments>33</slash:comments>
            <wfw:commentRss>http://blog.onteorasoftware.net/comments/commentRss/8.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Rendering problems with IE8</title>
            <link>http://blog.onteorasoftware.net/archive/2009/03/24/rendering-problems-with-ie8.aspx</link>
            <description>&lt;p&gt;Microsoft released IE8 during Mix 2009.  Microsoft spent a lot of time making IE8 comply with the browser standards.  When you upgrade your browser to IE8 if you find the web site does not render right.  Do not worry there is a simple fix for this.  &lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;There is a tag you can place in the Head section of your webpage which will force IE8 into IE7 compatibility mode.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:DFDE9937-D816-47f4-A306-7B60D5CE5AC0:eda71b80-bc51-4870-aeaf-3053dda77d82" class="wlWriterEditableSmartContent"&gt;&lt;pre class="brush: plain; gutter: false; first-line: 1; tab-size: 4;  toolbar: true; "&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
  &amp;lt;!-- Mimic Internet Explorer 7 --&amp;gt;
  &amp;lt;meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /&amp;gt;
  &amp;lt;title&amp;gt;My Web Page&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;

&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;
  &lt;br /&gt;For more info on IE8 compatibility read this article &lt;/p&gt;

&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx&lt;/a&gt;&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Hope this helps&lt;/p&gt;&lt;img src="http://blog.onteorasoftware.net/aggbug/4.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ken Tucker</dc:creator>
            <guid>http://blog.onteorasoftware.net/archive/2009/03/24/rendering-problems-with-ie8.aspx</guid>
            <pubDate>Tue, 24 Mar 2009 19:18:37 GMT</pubDate>
            <wfw:comment>http://blog.onteorasoftware.net/comments/4.aspx</wfw:comment>
            <comments>http://blog.onteorasoftware.net/archive/2009/03/24/rendering-problems-with-ie8.aspx#feedback</comments>
            <slash:comments>22</slash:comments>
            <wfw:commentRss>http://blog.onteorasoftware.net/comments/commentRss/4.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>