Microsoft SharePoint Online Code Analysis Framework (MSOCAF)


SharePoint Online
SharePoint Online is a combination of SharePoint + cloud. Microsoft manages the SharePoint Online for your organization and helps you the leverage the power of SharePoint for your organization globally.
MSOCAF
The MSOCAF tool is used for streamlining the custom solution review Process for SharePoint Online (SPO). MSOCAF solution is used by customers, ISVs and vendors to validate and submit custom solutions.
Before submitting the custom solutions to Microsoft, customers has to validate the custom solutions using MSOCAF tool, this tool detect the code issue and also provides resolution for fixing the issues.
MSOCAF tool has four wizards:

·         Analyze
Using Analyze wizard custom solution is analyzed against the set of rules. The custom solution is passed for Folder structure and its content. The code base analyze is a kind of mix of SPDisposeCheck and FxCop utitliy . It checks the custom solution and all the required parameter. If custom solution does not pass MSOCAF analysis than custom solution cannot be submitted to Microsoft for SPO deployment.



·         Test  deployment
The test deployment wizard helps in deploying the custom solution. The Test deployment wizard uses the “DeploymentManifest.xml” file for deploying the custom solution. This file will reside in the solution package.


·         Roll back
After deploying the custom solution using MSOCAF tool. If you feel there is some issues with deployment you can use Roll back wizard to roll back the deployment.

·         Submit
The submit wizard is used to submit the custom solution to Microsoft. User can reach to the deployment wizard only if Analysis of the package is successfully passed. While submitted user has to fill the configuration request (CR) Number and submitter’s email ID. User has to agree the agreement and then click on submit button.


How to leverage MSOCAF for other SharePoint custom development?
As the MSOCAF tool provide very strong analyze power for validation the custom solution against various set rules. This helps in writing the custom solution which is of very high standards in terms of design, Security, performance, usage, Naming and Memory management.
How to get MSOCAF?
MSOCAF is free tool available at Microsoft site. Tool can be downloaded from below link https://caf.sharepoint.microsoftonline.com/





Comments

Popular posts from this blog

How to upload the document using SharePoint client Object Model and set the Properties

How to Setup Retention Workflow using Content hub