Standard Master Page for new projects company wide - asp.net

We are standardizing on Visual Studio 2010 for application development, along with implementing Team Foundation Server. What we are curious about is how can we setup a master page (i.e. site master) that will contain items we want on every page such as site navigation and company logo so that anytime someone in the company at any location creates a new project we can ensure they are using this site master page?

You can create a custom Project template.
You simply start a new project.
Add/modify as much as you need.
Use the "Export Template" wizard from the File menu.
This will create a zip file which will need to be installed on each desktop's copy of Visual Studio ("Documents\Visual Studio 2010\Templates\ProjectTemplates" usually), but once there will allow the user to select File>New Project and select "Corporate Standard Wesite" as the project type (for example).

Related

WebMatrix site missing some folder?

I have installed Microsoft WebMatrix from this site Install WebMatrix ,But when i open it and click "create Empty Site" then it just create a site, but there is no folder (like App_Data, bin, default.cshtml) present in the site. I am using Microsoft VS 2008. I don't know what i am missing.
An Empty Site for Asp.Net Web Pages is created selecting the Empty Site Template from the Template Gallery

Tools for Design Pages and master pages in SharePoint 2013

I recently install Sharepoint 2013 on a server and I want to change the presentation of my site by modifying pages and master pages.
In Sharepoint 2010 we can modify master pages easily using Sharepoint Designer 2010.
The problem is Design view remove from Sharepoint Designer 2013...and recently I DO NOT UNDERSTAND MICROSOFT.
Can any one introduce me some reference how I can change SharePoint 2013 page design? Can we modify existing SharePoint master page by Visual Studio?
Yes you can use Visual Studio to change SharePoint 2013 master pages. You can also use Notepad. Basically, any text editor will do, and you no longer have to use SharePoint Designer in order to edit a SharePoint 2013 master page. With tools like Visual Studio or Dreamweaver you get a WYSISYG interface.
This Technet blog post describes how to use Dreamweaver and Design Manager http://blogs.technet.com/b/speschka/archive/2012/07/27/using-dreamweaver-and-design-manager-with-sharepoint-2013.aspx
Here is anther walk-through with Dreamweaver and Design Manager: http://oztripwire.blogspot.co.nz/2013/02/sharepoint-2013-branding-master-and.html
You can use any editor of your choice with sharepoint 2013. Activate the publishing features to get the Design manager feature available under site settings.
You can visit Design manager-> Upload design files and then map the location as a network drive. Then you can access your design files, master pages and page layouts etc in any editor.
For more details
http://knytesh.com/2015/10/15/getting-started-with-design-manager-in-sharepoint-2013/ to get to know how to create masterpages and page layouts without using sharepoint designer and using any editor of your choice and design manager.

deploy application page in sharepoint 2010

Hi I am new in this development, trying hard to accomplish some task.
I created a sharepoint project, its deploy in layout folder sucessfully, but how can show it on specific page.
i.e: when I run, it usually open the 'server/default.aspx page'.
I want to show my application page at 'server/pages/rpt.aspx'
how can I do this, any reference or help?
by the was its farm.
Thanks
After deploying the solution, open sharepoint site in sharepoint 2010 desginer.
check this link to set home page
http://techtrainingnotes.blogspot.in/2011/06/sharepoint-how-to-change-default-home.html

I am working with Visual Studio 2008. Actually there is References folder missing

I am working with Visual Studio 2008. Actually there is References folder missing in its solution explorer. When I create a New web Application it has References folder but when I add new .aspx file it also adds .aspx.designer.cs file with it and its does not show master page option in add dialogue. but in the old web application it shows the master page option where master page file is already added. whats the difference between these two solutions. And how can I make it correct??
In Solution Explorer, right-click on project node. Select "Add new item" -> "Web Content Form". You will be prompted to select the appropriate master page.

How to add custom ASP.NET pages into sharepoint

How to add custom ASP.NET pages into sharepoint?
I am very new to sharepoint but what I realized is that I can only make plain text pages or links. but what if I have a website already built in ASP.NET and want to add it through sharepoint.
Or is it possible to build the website itself from sharepoint including dynamic server side controls like buttons, trees ....
Simple answer: put your *.aspx files in inside the _layouts folder, usually located at
c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\
afterwards you can access you page (named page1.aspx for example) through the sharepoint site by:
http://your site name/_layouts/page1.aspx
You can have inline code and/or code-behind, just like in a normal aspx page.
However, please note that pages added through this method are called application pages, meaning that they cannot be customized (easily) by the user and are available under all site collections in your farm.
SharePoint supports another kind of pages, called Site Pages which are site-specific, you can read more about them here.
See these questions which should cover everything you need:
How would you convert an ASP.NET site to work as a SharePoint site?
Moving from custom ASP.NET application to Sharepoint Services
Deploying custom Asp.net applications to same IIS site as Sharepoint
SharePoint - ASP.Net Controls Integration
Sharepoint controls in ASP.NET application
Also this page on SharePoint Dev Wiki.
This Visual How To walks you through the process of creating an application page step by step.
Creating an Application Page in Windows SharePoint Services 3.0
http://msdn.microsoft.com/en-ca/library/bb418732.aspx
The presenter of the video, Ted Pattison, has a book that is a great resource to help you get up and started with SharePoint development.
Inside Windows SharePoint Services 3.0
http://www.amazon.com/dp/0735623201?tag=g6consulswebs-20
If you want some .aspx-Pages in a SharePoint-Website, you can build a SharePoint-Module Feature containing the .aspx-Pages.
See How to: Provision a File and Create and Use a SharePoint Feature Package

Resources