5

I am currently working on Asp.net(3.5) website but the website is growing.I want to convert the website into Asp.net application.I am a bit late in taking this decision but any ways.

While trying to do the same by following this great article and the responses to this question I got many exception which made my life hell.Once thought of creating web Application from scratch but it will take huge time and will be a rework.This made me to ask few question to myself which I bing but didn't get satisfactory answers.

Here they come:

  1. What are the key things I should take care before doing the same?

  2. How should i start ?

  3. I need to rethink about the website architecture?

John Saunders
  • 160,644
  • 26
  • 247
  • 397
niteshkodle
  • 161
  • 1
  • 6

1 Answers1

6

Create a New Web Application in VS 2013.

  1. Using Windows Explorer copy all your files into you project folder.
  2. In VS 2013 solution explorer show all files.
  3. Select the files and folders - right click include in project.
  4. Right click the project solution explorer and select Convert to Web Application.

There are quite a few small differences, such as the App_Code folder will get renamed to old_app_code - that surprisingly doesn't cause any errors. The TypeName on your object data sources and the inherits on the @Page tag might need the [ProjectName]. prefix appended globally.

GANI
  • 2,013
  • 4
  • 35
  • 69
  • **Definitely** make sure that your "app_code" folder gets renamed to something else. I did this in VS2019 (didn't look for the "convert" option mentioned; it's not there now, at least). Everything "app_code" gets auto-compiled separately from the project, which results in all sorts of weird "type conflicts", as well as some confusing Intellisense errors. – Granger Mar 20 '19 at 17:56