Categories
|
Test: Understanding ASP.NET File Types 1. Which of the following contain the code behind the ASP.NET pages?
Results Congratulations! Correct Answer. You Answered: None. If you took the test, your answer will show up here. Correct Answer: Default.aspx.vb; Test.aspx.cs; Explanation Code behind the web pages with .aspx.cs or .aspx.vb, etc.
These are the code files for a given page. They used to be called code-behind files, but now the ‘behind’ is dropped. The final extension in the name depends on the language you use for the code; i.e. .cs for C#, .vb for VB.Net, and so on. You will see a partial class in this file (this class name is set in the Page directive). This file, ideally, should hold only the event handler code (like Page_Load, Button_Click, etc.) and all the generic code should be in class files that go into the App_Code directory.
Examples: default.aspx.cs, login.aspx.vb.Take the Test Take the complete test on this topic. You will be able to review answers to questions and get a test score.
Take the Test
Question 1 of 5
Test is Based on this Article
Recognizing the file types helps understand quickly the architecture of a web site that you didn’t develop (also helps with the files you didn’t explicitly create but the development environment generated). This article talks about the common and not-so common types of files you see as you develop with Visual Studio / ASP.NET.
|
Lots of different file extensions are used in ASP.NET projects. Test your knowledge on the basics these file types.
|
|
More Articles With Similar Tags
|
Lots of different file extensions are used in ASP.NET projects. Test your knowledge on the basics these file types.
|
This article discusses the directory structure and the files created in a sample first iPhone application. The file types discussed include .h, .m, .xib, and other common extensions that a programmer would directly deal with. File types like .pch, .xcodeproj, .plist, .framework that are indirectly (or less frequently) worked on by a programmer are also discussed.
|
This is a test on the article that discusses the directory structure and the files created in a sample first iPhone application. The file types discussed include .h, .m, .xib, and other common extensions that a programmer would directly deal with. File types like .pch, .xcodeproj, .plist, .framework that are indirectly (or less frequently) worked on by a programmer are also discussed.
|
Various subdirectories are used in a typical ASP.NET program. This is a test on the basics of various subdirectories.
|
This article talks about the directory structure you see when you work with (and grow) an ASP.NET web site. Visual Studio creates some directories automatically for you and these directories have some special meaning (that means, only a certain types of files can go into these directories).
|
|
|
|
|