Skip to content
Ole Albers edited this page Feb 28, 2018 · 18 revisions

Welcome to the AweCsome wiki

Here you will find more details about how to use this framework. Id you need help about the general purpose or how to start, check the readme instead. If you need help about licensing check the license.

Getting Started

All you need to get started is to add a reference to the AweCsome-Framework. Please make sure you use the correct variant. Office365, SharePoint 2013 and SharePoint 2016 each need a different AweCsome-Version.

After you've done that you are ready to go. Please be advised that every class within the AweCsome-Framework needs a proper ClientContext to work with. You already should have this after you created a CSOM-Project within the Index-Action of the Home-Controller if you use the standard Visual Studio - Template.

Now simply set the ClientContext-Property of the AweCsome-Class you want to use right after creating the object:

var spContext = SharePointContextProvider.Current.GetSharePointContext(HttpContext.Current);
var clientContext= spContext.CreateUserClientContextForSPHost();
IAweCsomeTable awecsomeTable = new AweCsomeTable() { ClientContext = clientContext };

Now you are ready to go to call any function within awecsomeTable

Clone this wiki locally