O'Reilly logo

Special Edition Using Microsoft® SharePoint Portal Server by Robert Ferguson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

“Hello World” Web Part

As a developer, the best way to learn about a product is hands-on experience. By looking at available pieces of code or examples, you can later build upon them, thereby going on to more complex tasks, which is why developers like to hear the revised technical Jerry Maguirism “Show me the code.” I start with very simple examples and later explain more sophisticated code for creating Web Parts using XML and XSL. Every programming book that I have read to this point starts with the simple example of “Hello World”. In this section, I will use this basic sample code and build a Web Part for it.

This is the easiest three lines of code that you can put in the SharePoint dashboard as a Web Part. The purpose of this code is to show ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required