About Boster Sibande Expertise I can answer questions in the following areas: ASP.Net, VB.Net, C#.Net, Microsoft Access and SQL Server. These are the technologies I use in my day-to-day work. As such, I am very confident and happy to assist
Experience I have two years experience with ASP.Net
Organizations UNDP
Education/Credentials Currently studying MSc. in IT
Expert: Boster Sibande Date: 12/13/2006 Subject: ASP.Net with code-behind programming
Question Dear Sir,
Is it that ASP.Net must have a code-behind programming language like using C# or VB.Net?
Then we will see the extension to be like AddItem.aspx.cs, which is different from ASP?
Can it be just the ASP.Net on its own with extension AddItem.aspx?
I am confused, pls advice.Thanks a lot.
Answer Whe you are using code behind, which is the recommended way of programming in ASP.net, you will have two files per page e.g. default.aspx and default.aspx.cs.
You can upload both of them to the webserver if you wish or you can precompile the website and only upload .aspx pages with the bin folder which will contain the compiled .dlls
The latter is the most secure way of deploying asp.net pages.