.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Project Templates in VS 2010

Posted By:      Posted Date: October 07, 2010    Points: 0   Category :ASP.Net


I am a beginner in ASP.net world and is a experienced Java developer.

My company is looking to convert the existing legacy applications into .Net. We have many small applications that need to be converted to .Net.

Most of them share the same look and feel with a similar layout, header, footer, admin menu, authentication with Active directory etc.  Rather than every developer going through the same initial steps manually, I would like to standardize and create a base template of the project that everyone can work with. I am also looking into adding the logging framework set up, exception handling (I am thinking of using ELMAH) etc.

I was thinking of using the template option of VS2010 through which I export the template after creating the sample project which then can be used by other developers.

Another option is to create a base project and commit to the Version control which can then be checked out by other developers. They can rename the project and other details.

Any suggestions on which is better ? Or other ideas or options?

Really appreciate your inputs.


View Complete Post

More Related Resource Links

is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site p


is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site project


my current project references




i have a very annoying iis problem

iis server stops working until app pool is recycled


i am hoping that new visual studio (net framework 4.0) may solve this very annoying unsolveable problem


Visual Studio 2005: Create Reusable Project And Item Templates For Your Development Team


Visual Studio 2005 introduces a new model that lets you define your own project templates and starter kits, something developers have been requesting for some time. Here Matt Milner shows you how to consume, create, and customize these templates.

Matt Milner

MSDN Magazine January 2006

Video: Visual Studio: SharePoint 2010 Tools Project Structure

Visual Studio 2010 includes support out of the box for the most common types of projects that you may want to build with SharePoint 2010 as well as new features for more easily defining features, solutions, and wizards to walk through the most common settings for each project type. (Length: 24:23)

Video: Adding SharePoint 2010 Project Items to a C# or VB.NET Project

Each project is either a C# or VB.NET project that contains particular initial project items. In addition Visual Studio 2010 includes SharePoint project items that you can add to any of your projects. (Length: 18:53)

Video: How to Build SharePoint 2010 Project Items, Features, and Solutions

This video describes how to build SharePoint 2010 artifacts with Visual Studio 2010. (Length: 2:17)

SSMS Project templates

I am using SQL2008R2. From SSMS when I try to create a new project three template choices are shown. SQL Server Scripts, Analysis Services Scripts and SQL Server Compact Edition Scripts. Regardless of which one I pick the solution explorer window is empty and there is no apparent way to add anything to it? I suspect the templates are messed up. How can I replace what is there with ones that work? Thanks.Tom

VS 2010 and error while compiling Workflow project

Get the following message:   ------ Build started: Project: DSS_IP_WorkFlow, Configuration: Debug Any CPU ------ C:\PRJ\JD Powers\DssIP\DSS_IPSoln\DSS_IP.2010\DSSIP\DSSIP-Simulator\DSS_IP_WorkFlow : error 348: Compilation failed. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.   What I'm doing wrong to my project?

SharePoint 2010 - noticed a possible bug with regard to custom site templates.

Hi All, I'm wondering has anyone else noticed this behaviour in relation to custom site templates. I wanted to move an site A ( content included ) from site collection A to site collection B. I saved site A as a site template ( content included ) I uploaded the site template to site collection B's solution gallery. I created Site B on site collection B using this site template. unfortunately the top links to site A have been preserved causing major confusion to the users. i.e. the shared documents document library link and the tasks link both link to Site A! the links to documents within the document library on the other hand are to site B!? Is this a known issue ? Is this something that I should have expected to happen? look forward to hearing other folks experience with this functionality. thanks and regards, Counie  

Best Way to Convert MOSS 2007 Site Templates to SharePoint 2010 Templates

Ok, I just treid to do something that I didn't really think would work, but now that I've seen it fail, I get to ask the question. Is there a best practice on converting site templates built for MOSS 2007 to SharePoint 2010. We have several projects that used the Visual Studio Extensions (v1.3) and the SharePoint Solution Generator to build custom site templates and the .wsp packages. I can add and deploy the solution packages using the STSADM tool, but when I try to create a sub-site based on that template, I get an Object Not Set to an Oject Reference Error. In case anyone is wondering, it works fine in MOSS 2007. I have not tried Visual Studio 2010 yet (it's downloading in the background). I'm just wondering if anyone has run into this and what they did to fix it. TIA, John.

Has anyone deployed and hosted SharePoint or Project Server 2010 on Amazon's EC2 'Cloud' yet?

Has anyone deployed and hosted SharePoint 2010 or Project Server 2010 on Amazon's EC2 'Cloud' yet?Kevin Williamson, MCTS, PMP Senior Advisor Advisicon

Using Freeware SharePoint Foundation 2010 with BLOB extender for large scale deployment project.

Hi Everyone, If I'd like to deploy SharePoint 2010 Foundation with Express DB (no SQL Server) what's the limitation ? and suppose i have implemented BLOB extender from freeware 3rd partyhttp://www.avepoint.com/sharepoint-storage-extender-docave/ does that means i can deploy more than 4 GB of data and it should perform faster since the SQL Express is not loaded with BLOB (document binaries). Can anyone clarify this matter please ? Thanks. /* Infrastructure Support Engineer */

How to read MS Project 2010 .mpp file using C#.Net 2010

Hi, I have a .mpp file which is generated from MS Project 2010. My requirement is- 1.I should write a webpart that read .mpp file. 2. Create a custom list. 3. Map data into custom list. Please share if it is possible to read .mpp file and capture data in a temporary storage(like dataset) then I can easily convert into Custom list. Any help how to read .mpp file using VS 2010 is appreciated. thanks tat  Thanks tat

Trying to SYNC Project Professional to Sharepoint 2010 - what template do I use?

I want to use Sharepoint 2010 to sync, and track/record changes initiated from my Project Professional 2010 projects.  The intent is to have a web view (ideally editable) for my team to track work progress. Documentation is light right now for Sharepoint 2010/Project 2010.  Does anyone know: 1) Can Project Pro 2010 be sync'd with only the generic TASKS list template, or can it (should it) be sync'd with one of the other templates - like PROJECT TASKS, ISSUES LIST, or STATUS LIST? 2) Are there any Microsoft mapping diagrams showing what MS Project 2010 fields are mapped to Sharepoint 2010 fields? Since this jumps between 2 platforms, please let me know if I need to address this on the MS Project Pro 2010 forum.  Thanks. 

How to add Sharepoint dll reference to Windows Forms application project in Visual Studio 2010?

Hi,I am using Windows Forms application template in Visual Studio 2010 Beta. I created this for some R & D work. Now I am using Sharepoint object model in application. When I am trying to add Sharepoint dll reference from .NET tab, I can not see Windows Sharepoint Services there Which was available in Visual Studio 2005.Also If I am add this sharepoint dll from ISAPI folder (14 Hive), it is added succesfully, but it is not taking actually in project and showing me an error during running mode that theError 12 The type or namespace name 'SharePoint' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) Please suggest me how to add Sharepoint dll reference in Windows forms application in Visual Studio 2010?

Visual Studio 2010 getting the .dll for the project classes


I'm using VS 2010. I got the references to the classes from my project, now I need the .dll files but I can't seem to find them. How do you add the .dll's? 

SharePoint sync with Project 2010 - issues


I am having some issues with syncing project 2010 and sharepoint.

The following scenario works well...

Create plan.
Sync to sharepoint list.
Save Project file.

However the following scenario  does not work well...

Create plan.
Sync to Sharepoint list.
Forget to save project file.

When i re-open project file and sync, i get the error...

The task list was last synchronized to a different project plan. If you continue the task list will be appended to the project plan.
If I continue at this stage then i get a naming error.

One workaround is to delete all the project plan tasks and re-sync.
This brings all the sharepoint tasks back into the project file..
However, I cannot use the existing milestone field in SharePoint to sync with the project file.

Is there any way to sync project fields into existing columns in SharePoint?

I do not want to create a new column as i have a number of views with the old milestone column as part of a filter.

Any ideas?

ObjectDataSource Control Disabled/not appearing in Toobox for Visual Studio 2010 SharePoint Project

  1. I've created a SharePoint Project in Visual Studio 2010.
  2. Added Visual webPart .
  3. In the usercontrol of the webpart in trying to add ObjectDataSource control, but this control is not availble in Tool box under Data tab. it appears only if i right click on datatab and select "Show All", but still the ObjectDataSource Control is Disabled and even i cannot drag and drop it on the Webpart.
  4. Also i've created a sample Business Class, with all the mandatory attribute like





ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend