ASP.NET vs SharePoint development - Do you know deployment is different?
Updated by Brady Stroud [SSW] 1 year ago. See history
123
<introEmbed
body={<>
In ASP.NET deployment is a simple xcopy. Or you can right click the website project and "Publish website" in Visual Studio.
<imageEmbed
alt="Image"
size="large"
showBorder={false}
figureEmbed={{
preset: "goodExample",
figure: 'Publish website in Visual Studio',
shouldDisplay: true
}}
src="/uploads/rules/asp-net-vs-sharepoint-development-do-you-know-deployment-is-different/PublishWebSite.png"
/>
</>}
/>
In SharePoint the way to deploy a set of changes is via a solution package.
SharePoint provides additional layer and infrastructure on top of ASP.NET - part of this layer is the support for administrators (who may not be developers) to quickly add, remove, activate and deactivate features across a SharePoint site farm.
These are awesome features and something that basic ASP.NET does not have, but it does add additional development overhead to build the solution packaging.
- You need to create such a package via VSeWSS (or a similar tool such as WSP Builder)
- Add entries for all the files you want to include in the package
- Update and get the latest version of the files from development SharePoint or TFS
- Compile the package into a WSP file (which is a cab file)
- Test the package on a staging server
- Deploy it on a production server
Related rules
Need help?
SSW Consulting has over 30 years of experience developing awesome software solutions.