AllExperts > Experts 
Search      

Active Server Pages Programming (ASP)

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Active Server Pages Programming (ASP) Answers
Question Library

Ask a question about Active Server Pages Programming (ASP)
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
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

 
   

You are here:  Experts > Computing/Technology > Business Software > Active Server Pages Programming (ASP) > ASP.Net with code-behind programming

Topic: Active Server Pages Programming (ASP)



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.

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.