0
votes

I am working on a sharepoint website which is built upon a Site Definition in visual studio.

All i would like to do is simply add 2 aspx pages to this Site Definition. Kindly reply how can i accomplish this.

Do i add new aspx files under Site Template folder or add a new Feature perhaps? so that when i deploy my solution (.wsp) the two aspx pages appear on the site.

1
Before you do this, you need to understand how "simple ASPX pages" work in SharePoint. See Creating Application Pages for SharePoint.John Saunders

1 Answers

1
votes

I suggest you create a module feature, add the two .aspx pages to the feature and then add this feature to the site definition.

Maybe also helpful: How to: Provision a File