Creating a subsite using the client side object model in SharePoint 2010
We’ve all seen loads of things to you can so with the new Client Side Object Model in SharePoint 2010. I’m personally loving it more and more! The only downside is, most examples and code is made to retrieve information. The object model can also be used to create things!
Here’s a quick post on how we are creating subsites using the client side object model:
using (ClientContext ctx = new ClientContext("