Ben Merrills

A short blog about stuff!

ASP.NET VE Map Control CTP

clock August 5, 2008 15:25 by author admin

You may or may not know that the live team last week released their ASP.NET VE Map control, and about time too.

In the past year, if you’d wanted to use Virtual Earth while not dealing with JS, you had to opt for something like Chris Pietschmann’s Web.Maps.VE control (at about $99 for version 1 and $139 for version 2).

While Chris’s control was a good alternative to learning JS, it lacked many features (in my opinion), there was no way to tap into the Find functionality, no way to set the map view and no way to give a pushpin offset which made custom pushpins just look silly at times, to name a few I encountered (or at least, in version 1 anyway).

So, now the CTP of Microsoft’s ASP.NET VE Map Control has been released, I decided to have a play, and see if it filled in the gaps – oh and of course, the price difference (it’s free as in beer).

First off I watched the little intro video on Channel9. This quick video runs you through some of the basics of setting up the control and adding some basic functionality. Mark demonstrates using the extenders, as well as code behind to manipulate the map.

A much more extensive set of videos has been provided by John at SoulSolutions. This excellent set of videos guides you through the basics of setting up your map control, learning how to set properties (client and server side) and also shows you how to add shapes and import data collections from maps.live.com. Well worth a look, and with the current lack of references, this should help you on your way!

I personally think this is a better, more rounded control than the Simplovation control, however, as Chris points out, if you want to use this in production, you’re better off going for his control at the moment, until MS releases the control properly (i.e. not as a CTP!)

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


AJAX Control ToolKit

clock January 29, 2008 17:05 by author admin

After reading a recent post on ScottGu's blog, I came across the following blog, Matt Berseth.

This is a great blog, full of really interesting articles on styling the AJAC control toolkit, but also some great examples of how to extend existing controls, with the AJAX Extenders.

Here are some of the highlights: -

Have fun!

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


WHS Add-in Templates (Update)

clock November 12, 2007 17:15 by author admin

I've just spotted over on the ihatelinux blog, that Brendan Grant has released his own set of templates for both VB.NET and C# WHS Add-in's.

The templates allow you to create your WHS tab UI using a user control, which gives the benefit of the Windows Forms Designer!

You can see the full post here.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


WHS Add-ins Sample Code

clock November 7, 2007 22:16 by author admin

Chris Gray (see C9 WHS video post) has uploaded his samples for a WHS Add-in project.

Get them here from the C9 Sandbox.

Have fun Coding!

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


WHS Add-in - .NET Templates

clock November 7, 2007 10:40 by author admin

(Please Note: This template is not the one mentioned in the Channel9 video)

To get your new .NET (C# or VB.NET) add-in's up and running quickly, here are two templates in C# and VB.NET that do all the ground work for you.

Originally posted on the Microsoft forums here are the direct links to the template .zip files.

C# Template

VB.NET Template linked from this post on the Microsoft Forums.

The templates will help get your add-in up and running quicker, giving stubs for all the setup methods required by the Home Server Add-in architecture.

Creating your first Add-in

The important file here is: HomeServerTabExtender.cs

This file contains the default setup for your new add-in, and is where you should write any code your add-in is required to run.

I will post a sample add-in soon just to show how easy it is, if you still don't believe me!

Note: You will need the Windows Home Server SDK (or be running your editor from your WHS box). To obtain the files required, you can copy them from the Home Server Setup DVD, or directly from your Home Server box.

The files required are:

  • Microsoft.HomeServer.SDK.Interop.v1
  • HomeServerExt.dll

For additional information on developing for WHS, i suggest you check out the I Hate Linux blog. Lots of helpful links to get you started!

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Search

Calendar

<<  March 2010  >>
SuMoTuWeThFrSa
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910

Archive

Tags

Categories


Blogroll

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010

Sign in