?
Solved

How to add custom aspx page into SharePoint site

Posted on 2009-04-01
2
Medium Priority
?
739 Views
Last Modified: 2012-05-06
I have another web application project on Visual Studio 2005, then I want to add those pages into SharePoint site with its master page. Please advise and let us know the step to do that.

Thanks,
VNK
0
Comment
Question by:svannak
1 Comment
 
LVL 51

Accepted Solution

by:
Ted Bouskill earned 200 total points
ID: 24044750
Sorry, but Sharepoint uses it's own custom ASP.NET ISAPI DLL and all content is rendered dynamically from the database so this isn't simply to do.  You have to do things the Sharepoint way.  You cannot simply copy your custom application onto the Sharepoint site and integrate with it.

Choice #1: Add a virtual folder to your web server that has a separate web application running using your project.  It will appear to be on the Sharepoint site but in fact isn't integrated at all.  IE:  http://sharepoint.domain.com/YourOtherSite/

Choice #2: Add the ASPX pages into template folders but you CANNOT use code behind.  It only works for simply pages where you use the code in the file.

Choice #3: Create custom ASCX controls and use a tool from CodePlex to host your ASCX files in web parts in Sharepoint.  The project is called SharePoint SmartTemplates for Visual Studio

Choice #4: Learn how to customize Sharepoint.  Sorry but this is quite a challenge and is more difficult than learning how to build an ASP.NET web application.
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
I tried to use the SharePoint app to Import a Spreadsheet and import an Excel sheet into a Team site made in SharePoint 2016. But that just resulted in getting an error message 'Unknown Error'...
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
Suggested Courses
Course of the Month7 days, 2 hours left to enroll

592 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question