Automatically create files with code from .aspx files

I have a multi-page designer in Dreamweaver. The designer creates .aspx files with the page directive at the top. They are sent to me, and I add them to the Visual Studio ASP.NET WebForms web application project. The problem is that by default there are no code files, and I'm trying to find a shortcut to auto-generate them, as if I added a new page from Visual Studio.

Does anyone know about a shortcut?

Thank!

+3
source share
3 answers

Add aspx to your project, then right-click it and select Convert to Web Application

+3
source

- MVC. .

:

1) - (aspx) .
2) / (sans @Page )
3)

visual studio. .

+1

Source: https://habr.com/ru/post/1773967/


All Articles