In this article I’ll explain the about extension methods used to create a subsite to the SharePoint Online site.
PnP core component contains the extension methods which help to achieve the SharePoint task in simple lines of code. So to know more about PnP Core component, have a look at “Introduction to PnP Core Component”. There are two extension methods available for creating subsite,
Follow the steps below to create application with required references used for subsite creation in SharePoint.
Code Snippet
Summary In this article you will see how to use PnP core component for creating a subsite.
SharePoint 2013 .Net Client Side Object Model Cookbook