Trip Report: Silicon Valley Code Camp

This last weekend I spoke at Silicon Valley Code Camp -- the biggest code camp in the world! I delivered two sessions that were very well attended -- I think the room held about 50 people and both sessions were filled. Thanks all for coming!

In the first session I focused on building HTML5-based business apps with LightSwitch and deploying them to Azure. There were some familiar faces in the room, but most of the folks I had never met before so it was great to see new people interested in the technology. Most of the developers there were using Visual Studio already. A big handful had downloaded the Visual Studio 2013 RC so that was great to see as well. One person even followed along (in both classes) as I built the demos. The second session drew a lot more SharePoint developers, understandably, since it focused on the new Cloud Business App project in Visual Studio 2013 that streamlines the way you build custom business apps for SharePoint 2013 / Office 365.

Here are the main things I showed in each session as well as links to the demo projects and slides.

Building HTML5-based Business Apps on Azure with Visual Studio LightSwitch   

I based this demo on the Contoso Moving Company Tutorial we released back in April. Here we started with a LightSwitch solution with a desktop client and added an HTML mobile companion client to it. I showed:

  • How to quickly add HTML screens to your solution using the built-in screen templates with no coding required
  • How LightSwitch automatically handles scaling your app based on multiple device form factors
  • Explained the single-page app (SPA) design we use based on jQuery & jQuery Mobile
  • How LightSwitch generates a client-side data model for you based on the data and queries you model on the server
  • How to customize controls and define your own controls using JavaScript
  • How to change the look-and-feel with standard CSS
  • How to define custom web API methods on the server to return JSON to custom controls (I used a Kendo pie chart)

You can get the slides and demos here.

Developing Office 365 Cloud Business Apps with Visual Studio 2013   

I based this demo on the Contoso Foods SharePoint Tutorial we released back in April, but instead I used the Cloud Business App project template to streamline the setup of the SharePoint project. I used an Office 365 developer account which you can get for free if you are an MSDN subscriber (or a free trial if you aren’t). Head to https://dev.office.com to get started.

I showed:

  • The new Cloud Business App project template under Office/SharePoint –> Apps

image

  • How to model SQL data using the data designer and connect that data to SharePoint list data
  • How to write business rules against SharePoint data using the Entity Model that we generate for you
  • How to quickly add HTML screens to your solution using the built-in screen templates with no coding required
  • How to customize controls and define your own controls using JavaScript
  • How to change the look-and-feel with standard CSS
  • The Person business type and API for working with SharePoint users and permissions
  • Automatic row-level Created/Updated tracking
  • How to interact with Office 365 services like workflows and email
  • How to deploy to the SharePoint catalog and make these apps available to your user’s sites

You can get the slides and demos here.

Also here are some more resources to explore:

After my sessions I was in a hurry to make it to Game 2 of the ALDS in Oakland (Go A’s!!) but I did have time to chat for a few minutes and take a photo with many of the Microsoft MVP speakers that were there. Great seeing you all!

1379729_244762032342110_190478065_n

Thanks all!

Enjoy!