Files
ASP.NET/Sessions/Session00/Notes/00_Notes.md
T

46 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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. Youll 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]]