April 26, 2007

Anthony Park on the Media Center Show Podcast

Filed under: Uncategorized — Anthony Park @ 10:32 am

I was interviewed by Ian Dixon (host of the Media Center Show Podcast) a few weeks ago, and the interview is posted this week in the podcast.

Check it out here:

The Media Center Show #105 Anthony Park (2007-04-26)


tags: Media Center, MVP, MCEBrowser, MCEMailbox, Media Center Show

April 17, 2007

Do you want to beta test the next version of Media Center?

Filed under: Uncategorized — Anthony Park @ 9:35 pm

Microsoft is now accepting applications for beta testers for the next version of Media Center. Do you have what it takes?

http://connect.microsoft.com/site/sitehome.aspx?SiteID=23


tags: Media Center, MVP

April 16, 2007

Utah Spring Code Camp Recap

Filed under: Uncategorized — Anthony Park @ 6:58 pm

On Saturday, I attended and presented at the Utah Spring Code Camp, which was held at the Neumont University in Salt Lake City, UT. Overall, the Code Camp was a success. A couple of thoughts…

Too Much Microsoft

This was really disappointing to me. The ENTIRE Code Camp was Microsoft specific. Microsoft was one of the listed sponsors, the keynote was given by Microsoft, EVERY presentation was about a Microsoft technology, and most of the raffle items were Microsoft software, books, and 3rd party components which target Microsoft technologies. Grrr…. I had heard that there was a disinterest from other (non-Microsoft) user groups to participate, but I don’t believe it. Code Camps are a great opportunity to bring together ALL of the various user groups in the area and have tracks and sessions representing each group. I honestly don’t think that an effort was made to involve other technologies in this Code Camp, and that is very disappointing.

Keynote

The keynote presentation was given by Ben Miller, who is an MVP Lead for Microsoft. We haven’t had a keynote in the past at Desert Code Camp (mainly because there isn’t a room that would hold all of the attendees), but it was an interesting idea. I felt that the keynote was a little long, and I was disappointed that the keynote was about Microsoft. I think a good keynote topic for a Code Camp might be something that highlights the local user groups that are involved, discusses the state of the technology jobs in the local area, and stays away from technology-specific discussions.

Sessions

I attended several sessions throughout the day, and most of them were fairly good quality. Some of the technologies I saw there were .NET 3.5, LINQ, WPF, etc. A friend of mine, Nate, presented a good overview of some of the new features in .NET 3.5. There were 18 sessions, with 3 sessions always running concurrently.

My Session

I presented about Media Center Development with Windows Vista. I had a fairly small attendance, which I thought was awesome because I was able to really customize my presentation to what the attendees wanted to see. We built a simple application with MCML that had a button and some text that changed when the button was pressed. I showed how the click event of the button could be hooked up to managed C# code, so that the power of the .NET framework could be utilized in development. We also deployed the application to Media Center. Some of the individuals were interested in setting up Media Center systems, so I also answered quite a few questions about requirements and setup possibilities.

Sponsors

There were quite a few sponsors of the event, including Robert Half Technology, STG, Red-Gate Software, TEK Systems, Neumont University, and Microsoft. Several of the sponsors had booths set up in the lounge area where people could pick up brochures and sign up for the raffle. The sponsors paid for lunch, which was pizza from a local pizza chain, and provided raffle items. I do not think it is appropriate to have sponsors at a Code Camp. My personal feeling is that Code Camps should not have sponsors or, if they do have sponsors, the sponsors should be “silent sponsors”. The speakers were asked to add a sponsor slide to their presentations, which I thought was inappropriate. This implied that the sponsors were somehow responsible for the presentations, which is not true.

The Raffle

At the end of the Code Camp, there was a general session in which several items were raffled off to individuals who entered the raffle at the sponsor booths, and filled out Code Camp feedback forms. Some of the raffle items included books, t-shirts, software (ExpressionWeb), cordless mice, and even two IPod Nanos.

Pictures

The keynote presentation:

Nate presenting about .NET 3.5:


tags: Media Center, Code Camp, MCML, MVP

April 10, 2007

Possible problem registering Media Center applications on Windows Vista x64

Filed under: Uncategorized — Anthony Park @ 11:57 pm

Aaron Stebner recently posted about a possible problem registering Media Center applications on Windows Vista x64. The method for registering Media Center applications described in his blog post is the method that I recommended people use in my blog posts:

Media Center Hosted HTML Application Setup Project for Windows Vista

Creating a Media Center AddIn: Soup to Nuts

Creating an MCML Application for Windows Vista Media Center

I originally switched to using this method when Windows Vista Media Center came out because Microsoft stopped providing the RegisterAddIn dll for use in setup projects, and RegisterMCEApp.exe has not always been setup-friendly.

If you are using this method of registering Media Center applications within your setup packages, please read Aaron’s post on the topic and update them accordingly. I will be updating my blog posts (and my setup packages) that use this method as soon as I have some time to do so…

tags: Media Center, Media Center SDK, MVP

April 5, 2007

Determing the Strong Name of a Media Center AddIn

Filed under: Uncategorized — Anthony Park @ 11:34 pm

Earlier today, I received the following email:

Dear Anthony,

thank you so much for such a great summary of the numerous tasks one has to do in order to register the application in Media Center.

I have, however, one question:
How do you actually construct the “AddIn” String which is in your case “AnthonyPark.MediaCenter.MCML.MCMLHelloWorld_Start, MCMLHelloWorld, Version=1.0.0.1, Culture=neutral, PublicKeyToken=091b5809569f1055, processorArchitecture=MSIL”?

What exactly are the two first attributes and how can I find them out?

Thanks a lot,
Xxxx

The summary that this person is referring to is a blog post that I wrote back in October titled: “Creating an MCML Application for Windows Vista Media Center

For me, specifying the strong assembly name for the AddIn for the registration process was always one of the more tricky parts of developing an AddIn for Media Center. Almost every time I had a problem, it was related to this step in some way.

The “AddIn” string value used when registering a Media Center AddIn contains the information that Media Center needs to launch your AddIn. In the case of my example, the string looks like this:

AnthonyPark.MediaCenter.MCML.MCMLHelloWorld_Start, MCMLHelloWorld, Version=1.0.0.1, Culture=neutral, PublicKeyToken=091b5809569f1055, processorArchitecture=MSIL

This is what is known as the “strong name” of your assembly. To construct this name, use the following formula:

FQCN + “, ” + SASN

Where:
- FQCN is the Fully Qualified Class Name of the class that implements IAddInEntryPoint (the class that Media Center is supposed to launch). In my case, it is AnthonyPark.MediaCenter.MCML.MCMLHelloWorld_Start (which is the namespace that my class is in, plus the class name).

- SASN is the Strong Assembly Name of your assembly. The easiest way that I have found to determine this is to install your assembly into the GAC using the GACUtil, and then use GACUtil -L to list your assembly:

Hope this helps with your Media Center development! I also updated my previous post to contain this additional information.

tags: Media Center, MCML, MVP