Skip to content

Commit 98e4599

Browse files
authored
Merge pull request #47929 from MicrosoftDocs/NEW-intro-dotnet-web-development
[NEW MODULE] (merge release branch to main): introduction-to-aspnet-core
2 parents 6a06762 + 5751386 commit 98e4599

12 files changed

+469
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.introduction-to-aspnet-core.introduction
3+
title: Introduction
4+
metadata:
5+
title: Introduction
6+
description: Introducing .NET for web app development.
7+
ms.date: 11/01/2024
8+
author: wadepickett
9+
ms.author: wpickett
10+
ms.topic: unit
11+
durationInMinutes: 1
12+
content: |
13+
[!include[](includes/1-introduction.md)]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.introduction-to-aspnet-core.what-is-aspnet-core
3+
title: What is ASP.NET Core?
4+
metadata:
5+
title: What is ASP.NET Core?
6+
description: "ASP.NET Core is the modern, high-performance web development framework for .NET. It's cross-platform, so it runs on lots of platforms including Windows, Linux, macOS, and Docker."
7+
ms.date: 11/01/2024
8+
author: wadepickett
9+
ms.author: wpickett
10+
ms.topic: unit
11+
durationInMinutes: 1
12+
content: |
13+
[!include[](includes/2-what-is-aspnet-core.md)]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.introduction-to-aspnet-core.how-aspnet-core-works
3+
title: How ASP.NET Core works
4+
metadata:
5+
title: How ASP.NET Core works
6+
description: "Learn about the various components of ASP.NET Core for building modern web apps."
7+
ms.date: 11/01/2024
8+
author: wadepickett
9+
ms.author: wpickett
10+
ms.topic: unit
11+
durationInMinutes: 2
12+
content: |
13+
[!include[](includes/3-how-aspnet-core-works.md)]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.introduction-to-aspnet-core.when-to-use-aspnet-core
3+
title: When to use ASP.NET Core
4+
metadata:
5+
title: When to use ASP.NET Core
6+
description: "Learn when to use ASP.NET Core for web app development."
7+
ms.date: 11/01/2024
8+
author: wadepickett
9+
ms.author: wpickett
10+
ms.topic: unit
11+
durationInMinutes: 1
12+
content: |
13+
[!include[](includes/4-when-to-use-aspnet-core.md)]
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.introduction-to-aspnet-core.knowledge-check
3+
title: Knowledge check
4+
metadata:
5+
title: Knowledge check
6+
description: Check your knowledge about what ASP.NET Core is and when you should use it to build your apps.
7+
ms.date: 11/01/2024
8+
author: wadepickett
9+
ms.author: wpickett
10+
ms.topic: unit
11+
durationInMinutes: 1
12+
###########################################################################
13+
content: |
14+
quiz:
15+
questions:
16+
- content: "What type of applications can you build with ASP.NET Core?"
17+
choices:
18+
- content: "Modern web apps, robust API services, IoT apps, and mobile backends."
19+
isCorrect: true
20+
explanation: "ASP.NET Core supports building modern web apps, robust API services, IoT apps, and mobile backends."
21+
- content: "Only desktop applications."
22+
isCorrect: false
23+
explanation: "ASP.NET Core is designed for building web, API, IoT, and mobile backend applications."
24+
- content: "Only mobile applications."
25+
isCorrect: false
26+
explanation: "ASP.NET Core supports a wide range of application types, including web, API, IoT, and mobile backends."
27+
- content: "Only cloud-based applications."
28+
isCorrect: false
29+
explanation: "ASP.NET Core can be used to build both cloud-based and on-premises applications."
30+
- content: "Which of the following is NOT a benefit of using ASP.NET Core's modular architecture?"
31+
choices:
32+
- content: "Customizable middleware pipeline."
33+
isCorrect: false
34+
explanation: "ASP.NET Core's modular architecture allows for a customizable middleware pipeline."
35+
- content: "Built-in support for dependency injection."
36+
isCorrect: false
37+
explanation: "ASP.NET Core includes built-in support for dependency injection, promoting loose coupling and testability."
38+
- content: "Limited to server-side development."
39+
isCorrect: true
40+
explanation: "ASP.NET Core isn't limited to server-side development; it supports both server-side and client-side development."
41+
- content: "Which of the following is a key feature of Blazor?"
42+
choices:
43+
- content: "It allows building interactive web UI components using C#."
44+
isCorrect: true
45+
explanation: "Blazor enables developers to build interactive web UI components using C# instead of JavaScript."
46+
- content: "It's a tool for database management."
47+
isCorrect: false
48+
explanation: "Blazor is a web UI framework, not a database management tool."
49+
- content: "It's used for server-side rendering only."
50+
isCorrect: false
51+
explanation: "Blazor supports both client-side (WebAssembly) and server-side rendering."
52+
- content: "It's a logging framework."
53+
isCorrect: false
54+
explanation: "Blazor isn't a logging framework; it's used for building web UI components."
55+
- content: "What are some benefits of ASP.NET Core's cross-platform capabilities?"
56+
choices:
57+
- content: "Develop and run applications on macOS, Linux, and Windows."
58+
isCorrect: true
59+
explanation: "ASP.NET Core's cross-platform capabilities allow you to develop and run applications on Windows, macOS, and Linux."
60+
- content: "Limited to Windows operating system."
61+
isCorrect: false
62+
explanation: "ASP.NET Core isn't limited to Windows; it supports multiple operating systems including macOS and Linux."
63+
- content: "Only supports cloud deployment."
64+
isCorrect: false
65+
explanation: "ASP.NET Core supports both cloud and on-premises deployment."
66+
- content: "Requires separate codebases for different platforms."
67+
isCorrect: false
68+
explanation: "ASP.NET Core allows for a single codebase to run across different platforms, providing a consistent runtime environment."
69+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.introduction-to-aspnet-core.summary
3+
title: Summary
4+
metadata:
5+
title: Summary
6+
description: "ASP.NET Core is a cross-platform, high-performance, open-source framework for building modern, cloud-enabled, Internet-connected apps."
7+
ms.date: 11/01/2024
8+
author: wadepickett
9+
ms.author: wpickett
10+
ms.topic: unit
11+
durationInMinutes: 1
12+
content: |
13+
[!include[](includes/6-summary.md)]
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Building modern web applications involves managing a complex stack of technologies and ensuring seamless integration between the front-end and back-end. Developers need a framework that provides robust tools for creating scalable, high-performance web applications while simplifying the development process. ASP.NET Core is a comprehensive framework within the .NET ecosystem designed for modern web development that effectively and efficiently addresses these challenges.
3+
4+
In this module, you discover what ASP.NET Core is, gain an overview of how it works, and learn when to use it.
5+
6+
## Scenario
7+
8+
Imagine you and your team are asked to create a web app for an online store. Your team might be expected to provide any number of the following modern web app features:
9+
10+
- Customer browsing and search options to navigate a wide selection of goods.
11+
- Authentication, authorization, profile management, and order tracking.
12+
- Secure customer payment interaction for purchases.
13+
- Real-time interactive chat with the store's customer service team.
14+
- App logging and health monitoring.
15+
- Cloud-ready, environment-based configuration.
16+
17+
ASP.NET Core provides the tools and libraries needed to implement these features and more, efficiently and seamlessly, ensuring a high-quality user experience and robust application performance.
18+
19+
## What is the main goal?
20+
21+
By the end of this session, you'll know:
22+
23+
- What ASP.NET Core features will help you successfully meet modern web app demands.
24+
- An overview of how ASP.NET Core works.
25+
- When to use ASP.NET Core.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
ASP.NET Core is a cross-platform, high-performance framework for building modern web applications. This open-source framework allows developers to create web applications, services, and APIs that can run on Windows, macOS, and Linux. It is built for large-scale app development and can handle any size workload, making it a robust choice for enterprise-level applications.
2+
3+
### Full stack web development
4+
5+
ASP.NET Core is a full stack web framework that seamlessly integrates front-end and back-end development needs within a single consistent framework:
6+
7+
- For front-end development, ASP.NET Core includes Blazor, a component-based web UI framework based on C# that supports both server-side rendering and client-side rendering via WebAssembly.
8+
- Alternatively, ASP.NET Core can be integrated with JavaScript front-end frameworks like Angular, React, and Vue.
9+
10+
### API development
11+
12+
ASP.NET Core is a powerful framework for API development:
13+
14+
- It supports creating JSON-based APIs, gRPC services, and real-time services using SignalR.
15+
- With built-in OpenAPI support, developers can easily generate and visualize API documentation, simplifying the design and consumption of APIs.
16+
- You can use ASP.NET Core to build back-end APIs for a variety of apps, including web apps and native mobile apps.
17+
18+
### Modular architecture
19+
20+
ASP.NET Core’s modular architecture offers a flexible approach to modern web development:
21+
22+
- This architecture includes support for dependency injection, middleware, configuration, and logging.
23+
- Middleware components can be configured to handle requests and responses, including built-in middleware for authentication, routing, session management, and static file serving.
24+
- The dependency injection design pattern enhances testability and maintainability.
25+
26+
### Security built-in
27+
28+
ASP.NET Core helps you build secure applications thanks to its robust built-in security features for authentication and authorization. These features help applications manage user identities and protect sensitive data effectively.
29+
30+
### Increased productivity
31+
32+
Overall, ASP.NET Core provides a productive development experience, enabling developers to build high-quality full stack web apps efficiently and effectively.

0 commit comments

Comments
 (0)