Suppose you are developing three versions — desktop, web, and mobile — of the BM
ID: 3872867 • Letter: S
Question
Suppose you are developing three versions — desktop, web, and mobile — of the BMI Calculator app. The Visual Studio solution folders containing the development files for these versions of the app are named bmiD_soln, bmiW_soln, and bmiM_soln, respectively. Correspondingly, the project folders for the the three versions are named bmiD_proj, bmiW_proj, and bmiM_proj, respectively. For the desktop version, the name specified for the UI is BMIForm, while the UI for the web app version is specified in the file bmiForm.aspx, and that for the mobile app is specified in the file bmiForm.xaml. The main project folder for each version of this application would then contain which files with the .cs extension; i.e., what are the names of these C# source code files?
Explanation / Answer
Ans: Here according to question, 3 types of applications are created:
1.Desktop : That will run on windows so it is Windows application
2.Web : That will be web application ie website which will run over web
3. Mobile : This application will run over mobile and is popularly known as an app
These three types of web applications have been made up of BMI Calculator.Following are the names of solution folder name(given in question), project name (given in question),UI files name (given in question)and relevant source code files :
bmiForm.aspx.cs, bmiForm.aspx.designer.cs
Explanation : In Microsoft Visual C#.NET , .cs file is used to store "Code behind" the UI(User Interface ) files and program code.These files are known as source files.
In Desktop or windows application, Two source code files BmiForm.cs and BmiProgram.cs are created in which BmiForm.cs contain code behind the button(code to create a button),labels(code to create a label) etc and program.cs contain event driven codes related to controls that we use in the project (ex button_click,mouse_click ).
In Web application, Two source code files bmiForm.aspx.cs, bmiForm.aspx.designer.cs are created in which bmiForm.aspx.designer.cs contain code behind web controls like button(code to create a button),labels(code to create a label),textboxs(code to create a textbox).bmiForm.aspx.cs contain code event driven code and other logical code required to run a program)
In mobile application, two source code files bmiForm.cs, bmiProgram.cs are created . bmiForm.cs contain the code behind the controls used in form for example to create a listbox or button or textbox. bmiProgram.cs contain the event driven code i.e button_click,mouse_click and other logical code required in the project.
BMI Calculator Application Solution Folder Name Project Folder Name User Interface files Source Code file(.cs files) Dekstop bmiD_soln bmiD_proj BmiForm BmiForm.cs, BmiProgram.cs Web bmiW_soln bmiW_proj bmiForm.aspxbmiForm.aspx.cs, bmiForm.aspx.designer.cs
Mobile bmiM_soln bmiM_proj bmiForm.aspx bmiForm.cs, bmiProgram.csRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.