MS Full-Stack, Front & Back-End Dev C2 Intro to Prog in C# Flashcards
(291 cards)
What are the two main hosting models of Blazor
?
- Blazor WebAssembly
- Blazor Server
Both models enable C# to be used for interactive web applications.
What is Blazor WebAssembly
?
A hosting model that runs C# client-side in the browser through WebAssembly, eliminating the need for JavaScript.
This allows for rich client-side applications.
What is the purpose of GitHub
?
A platform for version control and collaboration, allowing developers to manage and share code effectively.
It uses Git to track changes and facilitate teamwork.
What are key features of GitHub
?
- Version Control
- Collaboration
- Integration
- Open Source
These features enhance code management and teamwork.
Definition
Back-end development
Back-end development is the practice of building and managing the systems that power apps and websites, such as data processing, storage, and application logic.
What is back-end development responsible for?
Back-end development is responsible for the servers, database, and logic that make a website function. Back-end developers ensure that all the data the front-end needs is processed securely and efficiently.
What do back-end developers ensure?
That all the data the front-end needs is processed securely and efficiently.
What is the main focus of back-end developers?
Processing data securely and efficiently.
What is the purpose of the .NET environment?
A software development platform by Microsoft that simplifies building, deploying, and running applications across different operating systems.
Supports Windows, Linux, and macOS.
What types of applications can be developed using .NET?
- Web
- Desktop
- Mobile
- Cloud
- IoT
.NET’s versatility makes it suitable for diverse projects.
How do front-end engineers utilize programming skills?
They develop user-facing elements of web applications through building interfaces, collaborating with teams, and debugging and optimizing.
Key tasks include using HTML, CSS, and JavaScript.
What tools do front-end developers use?
- HTML
- CSS
- JavaScript
- Frameworks like React and Angular
These tools help create responsive layouts and user interfaces.
What is the focus of back-end development?
Building and maintaining server-side logic, databases, and infrastructure that support the front-end.
Back-end developers ensure secure and scalable systems.
What is Visual Studio Code
?
A lightweight code editor that integrates seamlessly with the .NET environment to enhance developer productivity.
Supports writing, debugging, and deploying .NET applications.
What are some of the key features offered by Visual Studio Code as a cross-development environment?
IntelliSense: Provides smart code completions and suggestions, helping developers write code faster and with fewer errors.
Debugging tools: Allows developers to step through code line-by-line, setting breakpoints to identify and fix errors quickly.
GitHub integration: Facilitates source control management by tracking code changes and supporting collaboration among team members.
Extension marketplace: Offers a wide range of extensions that can be added to customize the editor for specific languages and workflows.
Azure integration: Supports cloud-based services, allowing for seamless integration with Microsoft Azure.
Visual Studio Code Workflow: Handling aspects of project development.
Project setup and management: VS Code simplifies the creation and management of .NET projects with its intuitive interface and commands that automate repetitive tasks.
Coding and debugging: Developers can easily write, refine, and debug their code, ensuring high-quality outputs and faster iteration cycles.
Version control: With built-in GitHub integration, Visual Studio Code helps developers manage code changes and maintain a history of modifications.
Testing and deployment: VS Code includes tools for writing and running tests directly within the editor, which ensures code reliability. Additionally, it offers streamlined deployment options that allow developers to package and deploy applications to production servers quickly and efficiently.
What role does Visual Studio Code play in .NET projects?
It integrates with the .NET CLI to create, build, and manage .NET projects
It provides essential tools for writing, running, and debugging .NET projects
Which versions of the .NET SDK are currently installed in my computer?
You can see which versions of the .NET SDK are currently installed with a terminal. Open a terminal and run the following command.
dotnet –list-sdks
You get an output similar to:
3.1.424 [C:\program files\dotnet\sdk]
5.0.100 [C:\program files\dotnet\sdk]
6.0.402 [C:\program files\dotnet\sdk]
7.0.100 [C:\program files\dotnet\sdk]
Which versions of the .NET runtime are currently installed in my computer?
Run:
dotnet –list-runtimes
You get an output similar to:
Five Best Practices for Organizing Files in a .NET Project
Modularization: Divide your code into logical modules or categories, such as features (e.g., user management, data processing) or layers (e.g., data access, business logic, presentation).
Separation of concerns: Structure your project by separating different functionalities. This could mean organizing code by features or by layers.
Naming conventions: Follow consistent naming conventions to improve code clarity.
Refactoring: Regularly review and refactor your code to maintain its structure and readability.
Documentation: Provide external documentation (such as a README file that gives an overview of the project) and internal comments within the code.
What is the role of Program.cs in a .NET project?
It serves as the application’s entry point, where execution begins.
What information does the .csproj file contain?
Settings, dependencies, and configuration details.
What does the .csproj file tell the .NET build system?
How to build the project, which files to include, and which external libraries are needed.
What type of files does the obj folder hold?
Intermediate files generated during the build process.
These files are used temporarily during the build process and are not part of the final output.