SharePoint stuff for the Developer to keep in mind


For the developer who’s just starting developing for the SharePoint platform, there is a number of things that need to be taken under consideration. From the most basic to the most complex, I will use the “best practice” tag to keep notes about things that the developer needs to be aware of when developing for SharePoint.

Working with Visual Studio 2010 and the .Net FrameWork 4 (which is the framework that is being installed with Visual Studio 2010 and is selected by default when creating new projects), a developer might be tempted to use the default settings, which will unfortunately, lead to problems.

1. the developer will ALWAYS need to choose the .Net FrameWork 3.5 when developing for SharePoint. If the 4th version is targeted, hard to locate problems will arise. For the newcomer, the option for the targeted framework is on the top of the dialog box of the “new project”. The default value is Framework 4. The 3.5 version is located in the drop down menu (problems arising from the wrong framework will be reported as code problems so, it’s hard to locate what is really wrong).
2. in the build options of the new projects, the targeted CPU architecture needs to be x64. Sometimes, Visual Studio will change the targeted CPU architecture to AnyCPU. All code for SharePoint needs to be developed against x64 architectures.

Powered by Zoundry Raven

Technorati : , , , : , , ,
Zooomr : , , ,
Flickr : , , ,

MGR: the Intelogist

About MGR: the Intelogist

SharePoint Server developer, turned Sitefinity developer, turned Angular developer, turned SharePoint Online consultant, turned Unily consultant, turned O365 consultant... Never a dull moment!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

This site uses Akismet to reduce spam. Learn how your comment data is processed.