vault backup: 2024-11-16 22:33:29
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
# Part 1: Basics of a Webpage
|
||||
|
||||
**Topics Covered:**
|
||||
|
||||
- **HTML:** Learn how to structure your webpage using HTML, the backbone of all web pages.
|
||||
https://www.w3schools.com/html/default.asp
|
||||
- **CSS:** Understand how to style your webpage with CSS to make it visually appealing.
|
||||
https://www.w3schools.com/css/default.asp
|
||||
|
||||
![[Pasted image 20241022115013.png]]
|
||||
|
||||
---
|
||||
|
||||
# Part 2: Introduction to .NET and C#
|
||||
https://www.w3schools.com/cs/cs_properties.php
|
||||
|
||||
**Topics Covered:**
|
||||
|
||||
- **Understanding .NET:** Explore the .NET framework and its role in modern web development.
|
||||
- **C# Basics:** Get hands-on experience with the C# language, its syntax, and structure.
|
||||
|
||||
**Explaining Properties in C#:** Properties are a key part of working with models in C#. They act as accessors to the class's data. You’ll learn how to use properties to get and set values in a way that maintains encapsulation.
|
||||
|
||||
Example:
|
||||
|
||||
```c#
|
||||
public class Product
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
# Part 3: Basics of MVC Architecture
|
||||
|
||||
|
||||
https://www.geeksforgeeks.org/mvc-design-pattern/
|
||||
**What is MVC?** MVC (Model-View-Controller) is a design pattern used for developing web applications. It separates the application into three interconnected components
|
||||
|
||||
1. **Model:** Represents the data and the business logic.
|
||||
2. **View:** Handles the display of information (HTML, CSS, Razor Pages).
|
||||
3. **Controller:** Handles user interaction and updates both the model and view.
|
||||
![[Pasted image 20241022113251.png]]
|
||||
Reference in New Issue
Block a user