SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I went through following links:

Is this a right way to add .aspx page?

My requirement is to show custom list data into an .aspx page, that will require code behind to.

Alert email will have a link to open this .aspx page.

What is the right way to add .aspx page? as no direct option available in VS2012.

share|improve this question
I have he problem in 2010 how to see the page. If I type the name I see the error 404. – Grzegorz Z Nov 22 '12 at 9:14
up vote 2 down vote accepted

Not 100% sure about Visual Studio 2012, but in Visual Studio 2008 & 2010, I had to modify "....csproj" and add a Projecttypes Guids for web projects to make this project web anf let me add ".aspx" or any other web related contents to project.

here's link to few known ProjectTypeGuids

Hope it helps :)

share|improve this answer
Thanks for reply, I have added <PropertyGroup> <ProjectTypeGuids>{349C5851-65DF-11DA-9384-00065B846F21}</ProjectTypeGuids> </PropertyGroup> but still not getting an option in "New Item" menu. – Anuja Nov 22 '12 at 7:34
link I have given you was to different versions of VS but not to VS 2012 so I think you might have to find one yourself, by creating a web project then taking its webGuid :) – Muhammad Raja Nov 22 '12 at 7:56
@timetothine my skype id is falaky :) – Falak Mahmood Nov 22 '12 at 9:29
How add a site in 2010 Sharepoint ? – Grzegorz Z Nov 22 '12 at 9:37

I have an option in VS2012 to add an Application Page to the project. But it requires your project to be Farm Solution. Otherwise, you can't deploy to SharePoint hive (cause you need to place page to _layouts folder to have codebehind).

Also you can install CKS DEV to have more option for adding new items in SP project.

share|improve this answer
If you user sandbox solution you can create a web part and place it on pre configured page. In email notification you can point to this page url. – Yuri Leontyev Nov 22 '12 at 7:56

Why don't you make a Visual Web Part and deploy everything on a Web Part Page? Create a Web Part Page from SharePoint...

You can see here is explained the difference between using a Web Part and Application Pages

You can achieve everything you need in a Visual Web Part, I hope this helps

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.