Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
General Reference
 Determining Where to Build a Custom...

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
Determining Where to Build a Custom Application

You may want to create custom .aspx pages and Web applications and store them in a location that is accessible from all Web sites in your Windows SharePoint Services deployment. You may also want to create Web applications that contain custom code that works with the global settings for your deployment.

You can build and store custom .aspx pages and Web applications in the following directory, which supports the _layouts virtual directory:

Local_Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS

Pages in this directory are accessible from all Web sites in the Windows SharePoint Services deployment through a URL in the following form:

http://Server/[sites/][Site]/[SubSite]/[.../]_layouts/File_Name.aspx

For code that involves use of only the Microsoft.SharePoint.Administration namespace for working with global settings in a Windows SharePoint Services deployment, it is recommended that you create the Web application on the administrative port. Build and store .aspx pages and Web applications for the administrative port in the following directory:

Local_Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\ADMIN

Pages in the \ADMIN directory are accessible through a URL in the following form:

http://Server:Port_#/_admin/File_Name.aspx

For information about how to create a Web application in Microsoft Visual Studio 2005 that runs in the context of Windows SharePoint Services, see Getting Started with Programmatically Customizing a SharePoint Web Site in Visual Studio.

Console applications can be created anywhere on the front-end Web server. For information about how to create a console application that runs in the context of Windows SharePoint Services, see How to: Create a Console Application.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Assemblies to BIN folder      Artur Malinowski   |   Edit   |   Show History
It is worth to mention that assemblies (usually dll files) should be added to BIN folder. More about advantages and disadvantages of this possibility please find at Malcan http://malcan.com/EN/Lists/Tips%20and%20tricks/DispForm.aspx?ID=2
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker