Book Image

SharePoint 2013 WCM Advanced Cookbook

By : JOHN CHAPMAN
Book Image

SharePoint 2013 WCM Advanced Cookbook

By: JOHN CHAPMAN

Overview of this book

Table of Contents (19 chapters)
SharePoint 2013 WCM Advanced Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Including images, cascading stylesheets, and JavaScript resources in a SharePoint solution


Within a Visual Studio SharePoint solution, we can map project folders to folders on the SharePoint server filesystem. For static content resources, such as images and style sheets, it is ideal to store them on the filesystem of the SharePoint server rather than in the content database of the SharePoint web applications. This allows Internet Information Services (IIS) to serve up content directly from the filesystem rather than having to request the file from the SQL database before serving it to the client.

There are a number of folders that we can map to, however, the most commonly mapped folders are the Layouts and Images folders. Files in our project mapped to the Layouts folder will be served to the client from the _layouts/15 URL and files mapped to the Images folder will be served from the _layouts/15/images URL.

SharePoint 2013 allows SharePoint 2010 solutions to be installed. To accommodate...