ASP to ASP.NET Migration Problems
Hello
I am trying to migrate one page from ASP to ASP.NET.
I have downloaded .net sdk, webmatrix. but instead of using webmatrix, I started with changing extension from asp to aspx.
And offcourse made some changes to syntax. but it is giving error as follows
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30188: Declaration expected.
Source Error:
Line 14:
Line 15: Response.Cache.SetExpires(DateTime.Now.AddSeconds(-1))
Line 16: Response.Buffer = True
Please kindly suggest quick steps / check list for migrating page from asp to asp.net
1. What kind of special changes should be done ?
2. Is it ok to include some asp/html files in an aspx file.
3. What is .cs file ? Is it necessary to create .cs file ?
4. What changes should be done in IIS server setting ?
5. Is there any really good web site, where all migration related practical points are given (not only theory).
Thanks and Regards
Mahesh