Best Practises and Guidelines for SharePoint 2013 Development

Currently We are using SharePoint 2010 and doing a lot of enhancement and customization in the portal.
we are planning to migrate SharePoint 2013 after 6-9 months.
I want to know what are the best practices and guidelines for development in SharePoint 2010 keeping one thing in mind that customization should be compatible or can easily migrate to SharePoint 2013 so that re-engineering effort would be as minimum
as possible.
We have every possible piece of customization in SharePoint 2010 portal like web part, event receivers, workflows, master page, page layout, custom search etc.
Please do the needful.

Best practices don't really apply here. They are generally rules of thumb that you can apply without thinking too much and be pretty much right. Development is by it's nature too varied to allow that sort of best practice guidance.
Having said that the main thing you should be concerned with around the choice of development approach in 2013 is the intended future of your client and the application. If they are making a move to the cloud you should be concentrating on the app model
and rapidly phasing out farm solutions. If they are considering it then you can still consider using the more old-school options of farm solutions and sandboxed solutions. If they can't go to the cloud because of data security etc. then you are more or less
free to use what you like.
Also, try to move to client side processing wherever possible. MS are only going to make server side work less pleasant in future.
Beyond that, get to some conferences and start chewing through some of the blogs on the topic.

Similar Messages

  • Where is coding guideline for SharePoint 2013 available?

    Can any one suggest where is coding guidelines and best practices for SP 2013 development is available?

    Hi,
    According to your post, my understanding is that you want to know the best practices for SharePoint 2013 development.
    There are some articles cover best practices targeted towards software developers in SharePoint 2013, you can refer to them.
    http://social.technet.microsoft.com/wiki/contents/articles/13373.sharepoint-2013-what-to-do-farm-solution-vs-sandbox-vs-app.aspx ,
         discusses when to use farm solutions, sandbox solutions, or sharepoint      apps.
    http://social.technet.microsoft.com/wiki/contents/articles/13637.sharepoint-2013-best-practices-what-client-api-should-you-choose-when-building-apps.aspx ,
         guidelines to help you pick the correct client API to use with your app.
    http://msdn.microsoft.com/en-us/library/jj164060(v=office.15).aspx       
    http://social.technet.microsoft.com/wiki/contents/articles/16343.sharepoint-2013-best-practices-setting-up-a-dev-environment-for-windows-apps-and-sharepoint.aspx ,
         describes how to set up a dev environment needed for creating Windows Apps      that leverage SharePoint.
    http://social.technet.microsoft.com/wiki/contents/articles/16353.sharepoint-2013-best-practices-working-with-connection-strings-in-auto-hosted-sharepoint-apps.aspx ,
         discusses how to deal with connection strings in auto-hosted apps.
    For more reference:
    http://social.technet.microsoft.com/wiki/contents/articles/12438.community-best-practices-for-sharepoint-2013.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Best Usage reporting tool for SharePoint 2013 (onpremises)

    Please suggest me best reporting tool for SharePoint 2013 on premises.
    Need to get site usage summary for any time in last one year.
    Need to get library/list usage summary for any time in last one year. etc.
    How many peak hits and unique no of users across all levels.
    Thanks, Ram Ch

    Hi Ram
    We have two links “Popularity Trends” and “Popularity and Search Reports” in the site settings. By Clicking on the two links we can view the usage reports in SharePoint 2013.
    More references:
    http://technet.microsoft.com/en-us/library/jj715890(v=office.15).aspx
    http://sureshpydi.blogspot.com/2013/06/usage-reports-and-popularity-trends-in.html
    http://blogs.msdn.com/b/chandru/archive/2013/08/31/sharepoint-2013-web-analytics-report-where-is-it.aspx
    http://www.prweb.com/releases/2012/8/prweb9821144.htm
    Amit Kotha

  • Create a ready to use image for SharePoint 2013 development environment.

    Hi 
    I have a requirement in which we are required to have an Image of the whole SharePoint 2013 environment, (ideally single server installation/standalone as I believe multi-tier would not be possible, or if possible suggest on that also), with all the installations
    done- SQL server, SharePoint , language pack if any, App configured, search, service applications, etc etc. so that if at all required we would have that image in a server and provide that image to the developer, he would either mount it or run it and start
    the SharePoint 2013 App development.
    Please suggest on this.
    Thanks in advance.

    Not for imaging purposes.
    You could have an environment that is ready-to-go with the bits installed, but not configured. You would then have a post-imaging script that would configure the farm. In this process, you would also need to make sure SQL Server was aware of the server's
    new name (see http://technet.microsoft.com/en-us/library/ms143799.aspx).
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Is Distributed Transaction Coordinator services of the application role are required by SQL Server 2012 for clustering and support of SharePoint 2013.

    All I want to know is if Distributed Transaction Coordinator services of the application role are required by SQL Server 2012 for clustering and support of SharePoint 2013.
    I have been planning and deploying my companies first Windows Server 2012/SQL Server 2012 Always On cluster and Always On Availability Groups Multi-Subnet cluster and instances for SharePoint 2013, and I will be brutally honest, the documentation on either
    the MSDN and TechNet leave alot to be desired. Continually finding links in the documentation will take me from a Windows 2012 reference to a page talking about Windows Server 2008 or R2, The differences of which there are so many when it comes to configurations,
    settings, roles, services when working with SQL Server 2012. I have been confused, frustrated, screaming mad, with all the misdirection in this documentation.  The documentation takes me windows 2008 R2 which is different than 2012!
    Tired and trying to pick myself up off the floor!
    Greg
    Gman

    In general, DTC is not required for SQL 2012.  But, since you are asking specifically about SharePoint, it would be better to ask in a SharePoint forum.  They would be more likely to know those situations where FTC might be needed by SharePoint. 
    .:|:.:|:. tim

  • Windows Updates for SharePoint 2013 Environment

    Hi
    I created a visual machine for SharePoint 2013 development by following steps mentioned below.
    --Install Winows Server 2008 R2
    --SQL Server 2008 R2
    --SP2 for SQL Server 2008 R2
    --SP1 for Winows Server 2008 R2 
    --Sharepoint 2013 Pre-Requisites
    --Sharepoint 2013 Setup
    --Sharepoint 2013 Designer
    --Installed March and August 2013 Cumulative Updates for SharePoint 2013
    --Installed SP1 for SharePoint 2013
    I want to ask do i need to install Windows Updates after installing different updates as i mentioned above because everty now and then windows updates message keep pops up and i did'nt install windows updates yet.
    Why is it necessary or what impact window updates would have on my environment if i need to do it??

    Windows Updates cover security updates as well as stability improvements, and so on. You're simply patching SharePoint and SQL in the above case.
    It should be noted that any SharePoint patches that come down through Windows Update need to be manually handled as you'll need to run the Config Wizard (e.g. MS14-022 and MS14-050 which are SharePoint updates).
    When you're installing SharePoint 2013, you only need to install SP1 if that is your target. There is no requirement to install March 2013 or August 2013.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Office Web Apps Load Balancing Configuration Issue for SharePoint 2013

    I have load balanced servers dedicated for Office Web Apps with name “md1xxxwfe1” and “md1xxxwfe2” 
    , both this servers are load balanced by CISCO Load balancer. And I have mapped Load Balancer Virutal IP with host name officeapps.jda.corp.local in the DNS records.
     Things are working fine if I add new farm by using New-OfficeWebAppsFarm
     with server name as internalurl in PowerShell console
     as like “  -internalurl http://
    md1xxxwfe1  but when I use –internalurl officeapps.jda.corp.local it is not working at all. I’m not getting what to do at this point.
    I have gone through following blogs but no luck.
    http://blogs.technet.com/b/meamcs/archive/2013/03/27/office-web-apps-2013-multi-servers-nlb-installation-and-deployment-for-sharepoint-2013-step-by-step-guide.aspx
    http://blogs.technet.com/b/office_resource_kit/archive/2012/09/11/introducing-office-web-apps-server.aspx
    http://davidlimsharepoint.blogspot.in/2013/02/installing-and-configuring-office-web.html 
    http://sps2013.blogspot.in/2013/09/office-web-apps-with-sharepoint-2013.html
    The output of the wfe1 server is attached with this. When I open http:// /hosting/discovery in wfe1 I’m getting following result (attached
    screenshot) but it should show hostname rather than server name.
    Please help me
    Thanks, Ram Ch

    Hi  Ram ,
    For  troubleshooting your issue, please take steps as below:
    Just about any load balancing solution will work, including a server that runs the Web Server (IIS) role running Application Request Routing (ARR):Install
    Application Request Routing
    Install the certificate on the load balancer as described under Securing Office Web Apps Server communications by using
    HTTPS.
    Make sure you have configured the cluster correctly for full internet name:
    Reference:
    http://technet.microsoft.com/en-us/library/jj219435.aspx#loadbalancer
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • Best laptop for sharepoint 2013/2016 development

    hi,
    could you please advise which is the best laptop model for sharepoint 2013/2016 development practise.

    HI Chaitu,It depends on what function of development that you want to do.I suggest to have a below configuration
    to work with sharepoint.
    Fast CPU!
    32 GB of RAM (24 GB minimum, but 32 highly recommended)
    500 GB of space
    Please find also in the blog to know more about configurations and the installations.
    http://expertsharepoint.blogspot.de/2014/07/hardware-and-software-requirements-for.html
    Anil Avula[Microsoft Partner,MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/

  • Correct No. of Accounts and their Privileges for Installing SharePoint 2013 Developer Machine

    Hi Dear SharePoint 2013 Experts,
    I request you to kindly guide like; the Correct No. of Accounts and their Privileges for Installing SharePoint 2013 Developer Machine. Is there any step by step blog or Video on "Installing SharePoint 2013 Developer Machine".
    Tried Installing ALL in one single Virtual Machine using account spDeveloper (which is a Member of "Administrators" and "Domain Admins" Group(s). Any kind of SharePoint Web-Application and/or Sites (Developer-Site, Team-Site, ....) can
    be created including MySites and Intranet Sites.
    But when tried creating SharePoint App Project in Visual Studio 2013 and deploying, stuck here with 2 weird Issues like;
    1. This task requires the application to have elevated permission
    2. Error occurred in deployment step 'Install App for SharePoint': The System Account can not perform this action
    If Visual Studio 2013 is run NORMALLY (WITHOUT 'As Administrator'), it throws above 1st error  - "This task requires the application to have elevated permission"
    Because of the above 1st Issue, if the Visual Studio 2013 is run 'AS ADMINISTRATOR', it again throws an error (2nd error) - "Error occurred in deployment step 'Install App for SharePoint': The System Account can not perform this action"
    How to over cum this "chicken and egg problem"??
    Regards,
    developementsharepoint

    Hi, 
    Have you had a look at the TechNet guidance for configuring SharePoint and SQL on a single server? It's here: http://technet.microsoft.com/en-us/library/cc262243(v=office.15).aspx
    There is also a good TechNet wiki article on creating a SharePoint dev environment here,
    http://social.technet.microsoft.com/wiki/contents/articles/19178.sharepoint-2013-setting-up-a-dev-environment-one-piece.aspx and here http://social.technet.microsoft.com/wiki/contents/articles/15289.sharepoint-2013-creating-a-development-environment.aspx
    Regards, Matthew
    MCPD | MCITP
    My Blog
    View
    Matthew Yarlett's profile
    See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
    Upload and Crop User Profile Photos

  • Development environment for SharePoint 2013

    Hi,
    We have requirement for one of the project. Team size would be approximately 30 resources. Development would be entirely for SharePoint 2013 Intranet solution. this will be OOTB Intranet application. We will be developing InfoPath forms and Nintex Workflows.
    For such requirement we would like to setup local development environment by using either Virtual Machines.
    Can anyone help me to identify that how many VM's would be required for the same? How many simultaneous users can use and work at a time? What other things I need to consider for infrastructure? How can i suggest the best possible solution for this.
    Thanks in advance.
    Abhijeet Khopade

    Hi,
    According to your description, my understanding is that you want to set up the environment for SharePoint Development.
    Here is a detailed article about configuring development environment:
    Setting up a SharePoint 2013 Development Environment
    For VM count, it depends on your project development requirements, for VM license and management ,if you are using Hyper-V, I suggest you can create posts in Hyper-V forum:
    Hyper-V forum
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Which version of sql server 2012 or 2014 is best for sharepoint 2013.. Any excellent comparision available please let me know..

    Which version of sql server 2012 or 2014 is best for sharepoint 2013.. Any excellent comparision available please let me know..i mean enterprise version BI version or standard version.. i just need a detailed comparison if available please thank you

    As of right this very second, SQL Server 2014 is not supported. SharePoint 2013 supports:
    One of the following:
    The 64-bit edition of Microsoft SQL Server 2012.
    The 64-bit edition of SQL Server 2008 R2 Service Pack 1
    Hardware and software requirements for SharePoint 2013
    Edit: I may be mistaken. It looks like the April 2014 CU adds support for SQL Server 2014. If this is the case generally going with the latest SQL Edition provides you with the latest SQL functionality. I'm not aware of any SharePoint features that would
    make use of functionality that is new to SQL Server 2014 but this could change with a future service pack.
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • Share the same SharePoint 2013 development environment for multiple developers

    Hi,
    We need our developers(more than 2) to use the same ''SharePoint 2013 development server' for different application developments. Their work should not affect each others(like application pool reset etc.). How this can be achieved ?
    Thanks,,

    Hi Kalai,
    Please check the following similar post suggested that each developer could deploy his dll file to each separated web application bin folder by setting Visual Studio property "Assembly Deployment Target" to "Web Application".
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/7ee3858f-243c-4f43-a72d-3483ad1506f6/multiple-developers-debugging-on-different-web-apps-on-single-server?forum=sharepointgeneral
    Thanks
    Daniel Yang
    TechNet Community Support

  • Difference between Reporting Services Sharepoint Mode and Reporting Services Add In for Sharepoint 2013

    Hi, We are building company site with Sharepoint 2013 Enterprise Edition and were wondering what is the difference between Reporting Services Sharepoint Mode and Reporting Services Add In for Sharepoint 2013? What are the roles/purposes of each one? What
    happens if only Reporting Services Sharepoint Mode  installed or vise versa.
    Thank you in advance

    Reporting Services in SharePoint mode is a service for displaying, managing, and creating SSRS reports within SharePoint. The addin is a pre-req for SharePoint that is used to display reports and is required for Reporting Services in Native or SharePoint
    mode, but does not by itself do anything.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Best logging option for SharePoint 2013 on-premise application

    What is the best logging option for SharePoint 2013 on-premise application?

    Hi,
    According to your post, my understanding is that you want to know the logging option in SharePoint 2013.
    SharePoint has its own logging system called “Unified Logging System (ULS)“, we can use the ULS log to see if anything unexpected occurred, we can use the
    ULSViewer for more convenient log viewing experience.
    Or we can log information programmatically.
    There are some logging classes can be used, such as
    SPMonitoredScope ,  SPDiagnosticsService, or create your own “Diagnostics Service” – which is technically just a new class inherited
    from SPDiagnosticsServiceBase. 
    We can also utilize diagnostics.asmx web service for the client side applications.
    For more reference:
    http://www.codeproject.com/Articles/620996/Five-suggestions-to-implement-a-better-logging-in
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Getting error while publishing workflow using SP designer for SharePoint 2013

    Hi,
    I am try to setup Workflow manager for our sharepoint applications.
    WF manager set ran without any issue.
    I registered the SPWorkflow service which succeeded as well. The Workflow service application shows "Workflow is connected"
    I am creating a workflow using sharepoint designer using my credential (not Service account). I am able to save it but while publishing, its prompting with an error.
    The error says "Errors were found while compiling the workflow.The workflow files were saved but cannot run." Clicking advanced button show
    "Microsoft.SharePoint.SPException: We're sorry, we weren't able to complete the operation, please try again in a few minutes. If you see this message repeatedly, contact your administrator.
       at Microsoft.SharePoint.SPScaleOutDatabaseMap.CreateSqlSession(ISPScaleOutDatabaseMapProvider mapProvider, Byte[] compositeKey, Guid forceRefreshVersion, Guid& version)
       at Microsoft.SharePoint.SPScaleOutDatabaseCommandExecutor.Execute(ExecuteDelegate operation, ISPScaleOutDatabaseMapProvider mapProvide"
    Any help would be highly appreciated
    Thanks,

    Hi,
    According to your post, my understanding is that you got error while publishing workflow using SharePoint designer for SharePoint 2013.
    Please check whether the Central Admin > Manage Service Application-> “App Management Service” is started.
    Please check whether the “Configure service application associations”,  ”App Management Service” is already associated.
    Then please check whether the “Manage Services on server” and the “App Management Service” is started.
    In addition, please try to re-register Workflow Service.
    If the issues still exists, please follow the steps in the
    Steps to Verify that Server Is Correctly Set Up. After you verified that the server is correctly set up, follow the steps in the
    Steps to Troubleshoot Workflow Management Service and
    Troubleshooting the Service Bus for Windows Server then retry your action related to publishing workflows
    More information:
    http://wp.ahcheng.com/2013/03/23/error-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run/
    http://sp2013.pro/2013/04/solution-errors-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run-cannot-set-unknown-member/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for