How to convert Asp.net site to Asp.net web application?

I am currently working on an Asp.net site (3.5) but the site is growing. I want to convert a website to an Asp.net application. I am a little late in making this decision, but in any way.

While trying to do the same by following this excellent article and the answers to this question , I have many exceptions that have made my life hell. We used to think about creating a web application from scratch, but it will take a long time and will be a rework. This made me ask a few questions to myself, which I beat, but did not get satisfactory answers.

Here they come:

  • What are the key points I need to take care of before doing the same?

  • How do I get started?

  • Do I need to rethink my site architecture?

+3


source to share


1 answer


Create a new web application in VS 2013.

  • Using Windows Explorer will copy all of your files to your project folder.
  • In VS133, the solution developer shows all files.
  • Select files and folders - right click in the project.
  • Right-click the project's solution explorer and select Convert to Web Application.


There are quite a few small differences, for example the App_Code folder will be renamed to old_app_code, which surprisingly does not cause errors. You may need [ProjectName] for TypeName in your object data sources and inheritance in the @Page tag. the prefix is ​​added globally.

+4


source







All Articles