Learnings on creating a .NET Blogging client on PPC

Published 20 August 03 01:19 AM

So one night I was sitting in bed downloading my email to my PPC and thought, I will check out my blog and post tonight.  I was able to get to my blog and see it, but when I went to go to the admin, it alerted me that I needed to have IE 5 or 6 on my device since it needed that to work.  The Pocket IE does not have the capability of the IE 6 on a desktop, so I thought, what I need is a client to post to my blog from my PPC.

So with the convenience of the .NET Compact Framework (links to .NET Framework not Compact) and loving C# so much, that I decided to use the .NET CF to get to the web log asmx service.

I created a proxy with wsdl.exe against the service and looked inside the .cs file and noticed that the Url had changed from http://weblogs.asp.net/benmiller/services/aspnetweblog.asmx to http://weblogs.asp.net/services/aspnetweblog.asmx and that breaks the service as the endpoint is supposed to include your blog name.  Then I took that .cs file and included it in the project for the PPC and it compiled without any modifications.  So the .NET CF is pretty robust as I can consume quite a few web services with the same proxy that is generated for the desktop client.

In this article on MSDN it shows how to configure the emulator to connect to the internet, so I built a little applicatoin with a tab control on it that allows you to configure the necessary parameters to connect to the web service that comes with this blog software.

It turned out nice and when I finish it, I will probably put a link to it, or submit it to Scott W. for inclusion on the gotdotnet.com workspace.

Well, have a good one, as it is way too late for me, and I need my rest.

 

 

Comments

# Nino Benvenuti said on August 20, 2003 7:41 AM:
Hello, Ben. It sounds as you are off to a good start. Have you installed SP1 for .NET CF? If not, I would highly suggest that you do; you should see, at minimum, a decent performance bump.

You can get it here: http://microsoft.com/downloads/details.aspx?FamilyId=1F62A2A3-7282-4BA9-B26B-2267E972501D&displaylang=en

Also, here are two of my posts about it:
http://weblogs.asp.net/nino/posts/10275.aspx
http://weblogs.asp.net/nino/posts/10278.aspx

-Nino
# Love that ASP NET and SQL Server Learnings on creating a NET | adirondack chairs said on June 19, 2009 5:28 AM:

PingBack from http://adirondackchairshub.info/story.php?id=584

Anonymous comments are disabled

This Blog

Syndication

Page view tracker