Simon May

Client and cloud

  • Simon May

    Tech·Ed 2010 is coming #TEE10

    • 0 Comments

    Get Microsoft Silverlight

    I’m pretty psyched to be going to my first ever Tech·Ed and having checked out the behind the scenes video above I already know it’s going to be great…a full week of talking to IT Pros about our best tech and learning stuff too.  There’s so much Ed at Tech·Ed (Ed being education obviously) that’s its hard knowing which sessions to hit, I recon the Cloud Computing & Online Services session looks cool, so does Management and Windows Server, and Phone and … ok it’s all cool.  The BOF sessions sound fun too.

  • Simon May

    Blog Wrap Up Creator (a tool by me)

    • 3 Comments

    wlwwrapup

    Every week I write a simple wrap up of all the things I’ve posted during the week you can subscribe to them here.  Creating it can be slow going if I’ve posted tons of stuff and copy and pasting all the links creating some spiffy text to flow around it and that sort of thing can be a pain.  So I decided to automate it.

    I wanted to be able to use Windows Live Writer to create the post so that I had maximum flexibility and a really great editor to be able tweak the post in.  I’m currently using the Windows Live Writer Beta from the Live Essentials Beta, which really is the best blogging tool available and it has super cool plug-in framework.  I went looking for a way of getting those posts and producing the wrap-up post but there weren’t any plug-ins out there.

    So it was time to do some digging into what resources are available for creating plug-ins.  The Windows Live Writer SDK came up containing a bunch of useful APIs, there are three really: Application (for manipulating the Application), Content Source Plugin (which really is used to do stuff inside a post) and the Provider Customization API (used to customise how WLW works with different blog engines).

    I went directly for the Application API.  Also just so you know, I’m not a very good coder.

    The Application API is what’s used to poke stuff into WLW, essentially it’s how the Blog This stuff in IE works.  I have an idea, an API, now what…err…..I grabbed Visual C# Express 2010, a free download and tried to remember how C# works (I’m a VB guy and any chance I get now I move my botched programs skills to C#).  Express is great for having your first play with code.  The next thing I did was to work out how the UI was going to work, I wanted it to be really obvious how to use this thing.  I thought about 2 calendars and some text boxes and a REALLY big button.

    I created a WPF form and found the calendar control.  Then I started to read up on it and found out that it’s possible to use it to select a date range…brilliant, I only need one calendar control which is far less clutter.  A couple of text boxes and a button and we’re done.

    I’m not going to go through all the code but Windows Live Writer MVP Scott’s Live Spaces page guided me through what I needed to do.

    Essentially the core of the code is this:

    wlwapp = new WindowsLiveWriterApplication(); ((IWindowsLiveWriterApplication2)this.wlwapp).BlogThisHtml(textBox2.Text, BuildHTML);

    All I’m doing is creating a new instance of the wlwapp and passing it a prepopulated string of HTML called BuildHTML.  That kind of begs the question, where does BuildHTML come from?  The answer is that I use SyndicationFeed (part of .net 4) to read my blogs RSS feed and poke it into Build HTML.  It’s very simple stuff as you can see… I’ve also been very lazy and not renamed my TextBoxes or any other controls oops… Embarrassed smile

    XmlReader reader = XmlReader.Create(textBox1.Text); SyndicationFeed feed = SyndicationFeed.Load(reader); ///parse the feed items foreach (var item in feed.Items) { ///check that the item is within the range we want if (calendar1.SelectedDates.Contains(item.PublishDate.Date)) { BuildHTML = BuildHTML + "<li><a href='"; //within each item we look for the link foreach (var link in item.Links) { BuildHTML = BuildHTML + link.Uri.ToString() + "'>"; } BuildHTML = BuildHTML + item.Title.Text + "</a></li> "; } } reader.Close();

    There’s not much more to this application really other than the fact that I’ve published it (Project > Publish xxx in Visual C# Express 2010) to the internet and that built me an install on my server to publish and maintain the application.  This simple tool will save me 1 hour a week from here to eternity.  If you do it once, great, if you do it twice, automate.

    Check out my tool at its application page.

  • Simon May

    SharePoint Saturday

    • 0 Comments

    I'm Attending SPSUK

    Sharepoint?  On a Saturday?  In Birmigham? yep I’m up for that!  Sharepoint Saturday has been a big success across the pond and it’s coming to the UK and it’s looking like a super line up.  Myself and Andrew Fryer (aka @deepfat) will be on hand to talk about stuff – it will be more learn about stuff in my case – along with a superb cast of speakers.

    You can and should sign-up just here  and when you do make sure you tweet it with #spsuk!

     




  • Simon May

    Windows Intune Update Management

    • 0 Comments

     

     

    The Intune team are producing some really handy little videos on how to “tune” various aspects of Windows Intune, that is how to get the best out them.  This latest video explains how to get more from update management, filtering which updates are visible to your clients.

    The Windows Intune Team Blog



  • Simon May

    Simon’s blogs weekly wrap-up, August 2nd to 9th

    • 0 Comments

    Week 6 at Microsoft was, predictably, brilliant.  Great stuff going on here.

    Blah blah blah
Page 34 of 38 (190 items) «3233343536»