locked
What is the difference between Visual Studio Template and Sample? RRS feed

  • Question

  • As far as I know Template is a sample to start with. You can open sample, edit and compile. So in this sense it means that template and sample are equivalent. Can you explain me guys the difference?

    Saturday, October 26, 2013 3:05 PM

Answers

  • Hi,

    normally templates are an application to start with which has the minimum requirements. A sample is what it sounds like, a sample for a specific problem. Since Visual Studio 2012 most templates are small samples, especially if you want to use a web app template (for example the Facebook web app template).


    Best Regards. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. This helps us build a healthy and positive community.

    @Horizon_Net | Blog

    • Proposed as answer by Anna Cc Monday, October 28, 2013 6:32 AM
    • Marked as answer by TIKSN Monday, October 28, 2013 11:28 AM
    Sunday, October 27, 2013 1:38 PM
  • Hi TIKSN,

    Visual Studio Templates: A number of predefined project and project item templates are installed when you install Visual Studio. You can use one of the many project templates to create the basic project container and a preliminary set of items for your application, class, control, or library. You can also use one of the many project item templates to create, for example, a Windows Forms application or a Web Forms page to customize as you develop your application. More information, please refer to Introduction to Visual Studio Templates.

    Visual Studio samples: demonstrate the structure and code syntax of various kinds of applications. Visual Studio samples are located on the MSDN Code Gallery website, together with other sample applications, code snippets, and resources from the developer community. You can also use the New Project dialog box to browse for samples. (To open the dialog box, on the menu bar, choose File, New, Project.) More information, please refer to Visual Studio Samples .


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Anna Cc Monday, October 28, 2013 6:46 AM
    • Marked as answer by TIKSN Monday, October 28, 2013 11:28 AM
    Monday, October 28, 2013 6:45 AM

All replies

  • Hi,

    normally templates are an application to start with which has the minimum requirements. A sample is what it sounds like, a sample for a specific problem. Since Visual Studio 2012 most templates are small samples, especially if you want to use a web app template (for example the Facebook web app template).


    Best Regards. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. This helps us build a healthy and positive community.

    @Horizon_Net | Blog

    • Proposed as answer by Anna Cc Monday, October 28, 2013 6:32 AM
    • Marked as answer by TIKSN Monday, October 28, 2013 11:28 AM
    Sunday, October 27, 2013 1:38 PM
  • What about technical differences?
    Sunday, October 27, 2013 7:02 PM
  • Hi TIKSN,

    Visual Studio Templates: A number of predefined project and project item templates are installed when you install Visual Studio. You can use one of the many project templates to create the basic project container and a preliminary set of items for your application, class, control, or library. You can also use one of the many project item templates to create, for example, a Windows Forms application or a Web Forms page to customize as you develop your application. More information, please refer to Introduction to Visual Studio Templates.

    Visual Studio samples: demonstrate the structure and code syntax of various kinds of applications. Visual Studio samples are located on the MSDN Code Gallery website, together with other sample applications, code snippets, and resources from the developer community. You can also use the New Project dialog box to browse for samples. (To open the dialog box, on the menu bar, choose File, New, Project.) More information, please refer to Visual Studio Samples .


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Anna Cc Monday, October 28, 2013 6:46 AM
    • Marked as answer by TIKSN Monday, October 28, 2013 11:28 AM
    Monday, October 28, 2013 6:45 AM