Feed Icon  


  • Bryant Likes
  • Send mail to the author(s) E-mail
  • twitter
  • View Bryant Likes's profile on LinkedIn
  • del.icio.us
Get Microsoft Silverlight
by clicking "Install Microsoft Silverlight" you accept the
Silverlight license agreement

Hosting By

Hot Topics


Open Source Projects



Page 1 of 7 in the SharePoint category(RSS) Next Page

Getting Started With Silverlight and SharePoint 2010

Posted in SharePoint | Silverlight at Monday, January 18, 2010 10:06 AM Pacific Standard Time

One of the cool features of SharePoint 2010 (currently in beta) is that you can set it up on a Windows 7 machine. This means that as a SharePoint developer you no longer have to run a Server OS.

To get started I downloaded the SharePoint 2010 Foundations beta from here. You will also need Visual Studio 2010 which you can download from here.

To setup SharePoint 2010 on Windows 7 you need to follow this guide which explains how to configure the setup process to run on Windows 7 (it is only one change to an xml file).

Make sure you install all the prerequisites which I won’t list here (they are listed in the guide). It will still install even if you don’t, but you will get errors when you try to configure SharePoint (voice of experience here).

Once you have everything installed and have completed the configuration tool, your site should come up in the browser! Now you can start working with Silverlight and SharePoint.


Tip: Install the SQL Service Manager so that you can turn SQL Server off when you’re not doing SharePoint development. 

A some great resources for getting started with Silverlight and SharePoint 2010 are the PDC sessions which you can watch for free:

For this example we will primarily be utilizing the information in the first session by Paul Stubbs. With SharePoint 2010, Silverlight can live just about anywhere in the user interface, but this example will be geared toward how simple it is to publish a Silverlight application to a SharePoint site and use it in a web part.

Fire up Visual Studio 2010 and create a new Silverlight Application:


At the prompt asking you if you want to create a web application to host the Silverlight application uncheck the checkbox. We don’t need to host Silverlight in a separate web app since SharePoint will be the host.

In the Silverlight Application, edit the MainPage.xaml to have the following Xaml:

<Grid x:Name="LayoutRoot" Background="PowderBlue">
    <TextBlock Text="Silverlight In SharePoint" 
               FontWeight="Bold" />

Now let’s add the SharePoint part of the project. Before we add the SharePoint project though we need to be running Visual Studio as the Administrator. Save your work and close the solution. Then right click the Visual Studio 2010 shortcut and select Run As Administrator. Back in the solution, right click the solution and select Add -> New Project. Select SharePoint –> 2010 as the project type and select an Empty SharePoint Project:


If you aren’t running as an Administrator then Visual Studio will tell you that the project requires elevated permissions in order to run.

The SharePoint customization Wizard dialog will pop up asking if you want to deploy as a sandboxed solution or a farm solution. Leave the sandboxed solution checked and click ok. Next, right click on the SharePoint project in the Solution Explorer and select Add -> New Item. Add a new Module to the project as shown below:


Now right click the new Module and select Properties. In the Properties window click in the Project Output References and then click the ellipse button (…). In the Project Output References dialog click the Add button. Expand the deployment location property on the new reference then change the Project Name to the Silverlight project name and the Deployment Type to ElementFile. You should end up with something that looks like this:


Next expand the module we created in the SharePoint project and delete the Sample.txt file. Then open the Elements.xml file. Edit the file to include the xap file that will be generated from our Silverlight application:

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <Module Name="SilverlightModule">
    <File Path="SilverlightModule\SilverlightInSharePoint.xap" 
          Url="_catalogs/masterpage/SilverlightInSharePoint.xap" />

At this point your application is ready to be deployed. Right click the SharePoint project and select Set as Startup Project and hit F5. Visual Studio will build and deploy your project to your local SharePoint site and then open it in the browser. However, at this point our Silverlight application isn’t active in any of the pages. Let’s add the Silverlight application as a web part in the default page.

On the SharePoint site click the edit icon then the insert tab, select Web Part, and choose the Silverlight Web Part in the Media and Content category:


Click Add and in the Silverlight Web Part dialog enter the value from the Url field in the Elements.xml file but add a leading slash. So for our example we would enter:


The web part will give you a message that it could not download the xap file. You can ignore this message and just click the save icon. You will get the Silverlight application on the web page, but it will look messed up:


The problem is the default size for the Silverlight Web Part is 400x300 but our text is bigger than 300. So we need to set the size to be 400x400. Click the drop down arrow on the top right of the web part and select Edit Web Part. In the web part properties dialog set the height of the web part to 400 and set the chrome type to None. Click Ok and you should get a better looking page:


Congratulations! You’ve now gotten started with Silverlight 3 and SharePoint 2010. Silverlight development with SharePoint 2010 is much improved in this new version. Happy SharePointing!

Speaking at SoCal Code Camp this Weekend

Posted in SharePoint | WPF | Silverlight at Friday, January 25, 2008 4:11 AM Pacific Standard Time

I'll be speaking on this coming Sunday at the SoCal Code Camp at Cal State Fullerton.

My session is at 9:00 AM on Sunday and is titled Bridging the Desktop/Web Divide with WPF and Silverlight. I'm hoping to demo (still working on my code) a simple application I built in WPF and show how easy it is to port it to XBAP and Silverlight with a few potential extras (exporting to XPS and a very short demo of ADO.Net Data Services which is the data provider).

My fellow Avanaut Elmer Morales will also be presenting on Sunday afternoon on Building Stunning Sites with SharePoint 2007. Elmer has been building SharePoint 2007 sites well before the product was released and from what I've seen of his presentation so far it should be great.

I'll probably miss the Saturday presentations since I still have some work to do on my own :)

So see you at Code Camp!


Beta Exam Extravaganza

Posted in Sql and Xml | SharePoint | Certifications | Vista at Tuesday, December 12, 2006 10:28 AM Pacific Standard Time

From LLiu on the SharePoint Team Blog

You are invited to take the following exams in their beta versions. If you pass either or both of the beta exams, the exam credit will be added to your transcript and you will not need to take the exam in its released form.

·         Exam 70-542: Microsoft Office SharePoint Server 2007 – Application Development

o    Counts as credit towards Microsoft Certified Technology Specialist: Microsoft Office SharePoint Server 2007: Application Development

·         Exam 70-541: Microsoft Windows SharePoint Services 3.0 - Application Development

o    Counts as credit towards Microsoft Certified Technology Specialist: Microsoft Windows SharePoint Services 3.0: Application Development

Plus I noticed that both the exams for the MCITP: BI certification are available and a few Windows Vista exams too.

  • 071-445 - TS: Microsoft® SQL Server 2005 Business Intelligence - Implementation and Maintenance
  • 071-446 - PRO: Designing a Business Intelligence Infrastructure by Using Microsoft® SQL Server 2005
  • 071-621 - UPG: Upgrading your MCDST Certification to MCITP Enterprise Support
  • 071-622 - PRO: Installing, Maintaining, Supporting, and Troubleshooting Applications on the Microsoft® Windows Vista Client - Enterprise
  • 071-624 - TS: Deploying and Maintaining Vista Client and Office 12 System Desktops using the BDD

The promo code for all these exams seems to be BTA + last three digits of the exam number (071-445 would be BTA445). If you've been working with these technologies then the beta exams are a great deal since they are free and even if you don't pass at least you know what you need to study.

SharePoint 2007 Beta Exams Available

Posted in SharePoint | Certifications at Thursday, November 2, 2006 6:05 AM Pacific Standard Time

You can sign up for them on the Vue website:

  • 071-630 TS: Configuring Microsoft® Office SharePoint® Server 2007
  • 071-631 TS: Configuring Microsoft® Windows® SharePoint® Services 3.0

The exam dates are from 11/7/06 through 11/20/06. The exam promo codes are BET630 and BET631. Good luck!

Hardcore VPC Setup

Posted in SharePoint | General | Test-Driven Dev at Wednesday, November 16, 2005 7:59 AM Pacific Standard Time

From Patrick:

VPC images are saving my life as a trainer. Managing your VPC images however can be a daunting task if you don't know all of its capabilities. Andrew has an extremely well-documented process & strategy for using Virtual PC and how to optimize and manage disks to (1) maximize my disk space and (2) facilitate rapid creation of new Virtual PC’s when needed for testing/kicking the tires. Thank you very much Andrew for sharing this with all of us.

I've been doing my development on using Virtual PC for the last six months and the tips in this post are very useful. My setup is much simpler, but I can see some of the advantages this type of setup can give. However, I'm curious as to the drawbacks.

  • Is there a performance hit for using that many disks instead of a single disk? If so, how much are we talking about?
  • If you need to make a change to the base OS, can you make the change on the base disk or will this wipe out all your machines?

For my dev work I've just been creating a base VPC image with the OS and common tools and then setting the file to read-only and making a copy of it for each VPC I need to create. I've even been using fixed disk size in an attempt to eek out every last bit of performance that I can get. I have to pay for it with a larger hard drive, but that isn't too much of a price to pay.

Master of Some

Posted in Sql and Xml | Reporting Services | SharePoint | BizTalk | General | Avanade | Test-Driven Dev at Thursday, September 1, 2005 4:05 AM Pacific Daylight Time

From Clemmens talking about technology overload:

Enter VS2005 and the summary of trying to achieve the same knowledge density is: “Frustrating”.

I feel his frustration. I remember going to PDC 2003 and realizing that it was getting very hard to keep up on all the new stuff coming out of Microsoft. Clemmens continues...

For “generalists” like me, these are hard and frustrating times if they’re trying to stay generalists. Deep and consequent specialization is a great opportunity for everyone and the gamble is of course to pick the right technology to dig into and become “the expert” in. If that technology or problem space becomes the hottest thing everyone must have – you win your bet. Otherwise you might be in trouble.

This statement not only applies to technology in general, but also to specific technologies: think SQL Server 2005. As Kimberly Tripp says, you must become a “Jack of all trades, master of some”. The hard part, as Clemmens mentions, is chosing the some.

For me it all comes down to what I'm working with. For instance, I just found out today that I will not be getting renewed as a Microsoft MVP for SQL Server. I expected this because I haven't had the time to contribute much to the SQL Server community lately. I tend to contribute based on what I'm currently working on. I haven't been a project that used SQL Server 2005 yet, so I haven't had time to really dig into it. If you read this blog you can probably figure out what kind of projects I have been on recently: a SharePoint (and RS) project last year and mostly BizTalk projects this year. I learn based on need.

I'm sure at some point in the near future (at least I keep telling myself this) I'll have time to dig into the new SQL Server 2005 and Visual Studio 2005 stuff (team system and all), but for now I'm pretty much focused on BizTalk 2004, test-driven development,  continuous integration, etc., since that is where I'm at.

I'll miss hanging out with the other SQL Server MVPs who are a great bunch of guys, but it has been fun being an MVP for the last five years.

Eli's SharePoint Resources Updated

Posted in Reporting Services | SharePoint at Wednesday, August 24, 2005 6:16 AM Pacific Daylight Time

From Eli Robillard:

After a year and 32065 web views, I've reorganized and moved the SharePoint resource page into an article. In addition to giving it a more sensible URL, the switch reflects the fact that this is a continuously updated resource and not a one-time posting. I've also added hand-tuned searches, making it easy to locate the most current information for each topic. Don't forget to update your bookmarks and links, and as always, enjoy!

I noticed that the RsWebParts are not listed in the Web Parts section, but other than that it looks like a great list of stuff. My own SharePoint Resource Page has gotten pretty stale (though that isn't entirely my own fault, it is a wiki after all :)

Role-Based Security in Web Parts 2

Posted in SharePoint at Wednesday, August 24, 2005 5:58 AM Pacific Daylight Time

From Patrick:

Ted Pattison has polished an old article on solving the problems developers encounter when programming role-based security within a SharePoint Web part. Required reading material for every SharePoint developer.

The best part is, since Ted is no longer “writing under the fin name of Barry Kouda”, you can now link directly to his blog posts!

Tech*Ed 2005 Cancelled

Posted in Sql and Xml | SharePoint | General at Friday, June 3, 2005 5:27 AM Pacific Daylight Time

Unfortunately I had to cancel on Tech*Ed. I was looking forward to it and I didn't want to miss it. However, since Hisham and I are both on the same project and they didn't think it would work for us both to be gone for the same week. So even though I got my cool badge (staff even) in the mail, I won't be there. :(

But I will be going to PDC05 which both Euan and Fitz are already promoting. I actually started this blog right before heading to PDC03 which was a great event even though it totally overwhelmed me with tons of new stuff. Funny how two years later 90% is still in beta so I really didn't need to be overwhelmed.

So if you're going to Tech*Ed have a great time and learn some stuff for me. If not, get ready to sign up for PDC05 (5 days until the registration opens). See you in October (or maybe in September at PASS).

Career Opportunity

Posted in Sql and Xml | Reporting Services | SharePoint | BizTalk | General | ASP.Net/Web Services | Avanade at Thursday, May 5, 2005 7:44 AM Pacific Daylight Time

I've been working for Avanade for about two months now, and I really like it. I've gotten a few emails from people who are interviewing with the company and want to know what it is like. It is a great company to work for, especially if you like working with Microsoft technology. In fact, Gartner just released a publication that listed Avanade as one of the “cool” vendors (along with three other companies). The big issue with working for Avanade is that you will travel. How much depends on what region you work for. The region that I work for, the west region, has a lot of work in each area so the traveling I do is all close by (at least so far).

The west region is also looking to hire developers (especially in SoCal). So if you live in the Western US, like to work with MS technologies, and don't mind some travel, this is a great opportunity. The company is mainly looking for .NET developers with skills in other MS products like SQL Server, BizTalk, SharePoint, Reporting Services, etc.

If you're interested, send your resume to me and I'll pass it along to the right person.

Some of the benefits of working for Avanade include things like $1000 every six months to spend on gadgets and a trip to one major conference per year. They want all developers to get MCSD certified and will pay for your training materials and exams (pass or fail). You are also allocated three weeks per year for training and this is allocated in the same way that vacations are allocated. Plus you get to work with a bunch of great people and have a lot of fun.

Here is a basic job description:

Short Description : Join Avanade and you will be part of a premier consulting organization focused on the Microsoft
enterprise suite. You will help build reliable, scalable solutions.

Description : Avanade is the only global technology integrator dedicated to the Microsoft enterprise platform. Avanade helps customers use Microsoft technology to cut costs and improve business results through standardization, consolidation, and integration of IT infrastructure and applications.

As a Developer, your focus will be developing and testing mission critical enterprise solutions. You will build management, technical and planning skills by participating in internal development projects. You will improve your abilities to think creatively and design solutions.


  • Participate in business requirements gathering and rules definition.
  • Participate in design of desktop and web-based application architecture.
  • Develop components/modules/scripts implementing business process rules.
  • Perform code walk-through of software components.
  • Document software components sufficient for on-going support and enhancement.
  • Effectively communicate status of tasks and projects

Minimum Requirements:

You will be degree qualified with excellent communication skills and will have hands-on experience working on component based applications in a distributed environment. Qualified candidates should possess:

  • 1+ year technology consulting
  • 2 to 4+ years as a programmer
  • 1+ years experience with C#
  • Deep MS platform Skills
  • .NET Framework
  • Full lifecycle experience developing large scale, scaleable applications
  • Willing to travel

Preferred Requirements:

  • MCSD Certification


Page 1 of 7 in the SharePoint category(RSS) Next Page