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.

  • I have he problem in 2010 how to see the page. If I type the name I see the error 404.
    – Grzegorz Z
    Commented Nov 22, 2012 at 9:14

3 Answers 3


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 :)

  • 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
    Commented Nov 22, 2012 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 :) Commented Nov 22, 2012 at 7:56
  • 1
    @timetothine my skype id is falaky :) Commented Nov 22, 2012 at 9:29
  • How add a site in 2010 Sharepoint ?
    – Grzegorz Z
    Commented Nov 22, 2012 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.

  • 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. Commented Nov 22, 2012 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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