Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add new aspx page in asp.net 5 application

I have created a new ASP.Net 5 application as empty and tried to add the aspx page through add new item. but there is no options to add aspx page rather that we can have all other items like view, controller, class library.

Any suggestion is greatly appreciated.

Thanks in advance.

like image 961
user3468621 Avatar asked Mar 16 '23 09:03

user3468621


1 Answers

Files ending in .aspx are part of the Web Forms framework. ASP.NET 5 does not support Web Forms at all, nor will it ever support Web Forms. If you want to create a Web Forms application using Visual Studio 2015, you should choose Web Forms from the ASP.NET 4.6 Templates instead.

like image 193
Mike Brind Avatar answered Mar 19 '23 11:03

Mike Brind