Initial commit

pull/3294/head
mouaaz 2 years ago
parent 167419b70a
commit ce3ff223aa
  1. 4
      src/roadmaps/aspnet-core/content/103-basics-of-aspnet-core/100-mvc.md
  2. 10
      src/roadmaps/aspnet-core/content/103-basics-of-aspnet-core/101-rest.md
  3. 12
      src/roadmaps/aspnet-core/content/103-basics-of-aspnet-core/102-razor-pages.md
  4. 12
      src/roadmaps/aspnet-core/content/103-basics-of-aspnet-core/103-razor-components.md
  5. 12
      src/roadmaps/aspnet-core/content/103-basics-of-aspnet-core/104-middlewares.md
  6. 8
      src/roadmaps/aspnet-core/content/103-basics-of-aspnet-core/105-filters-and-attributes.md
  7. 14
      src/roadmaps/aspnet-core/content/103-basics-of-aspnet-core/106-app-settings-and-configurations.md
  8. 10
      src/roadmaps/aspnet-core/content/103-basics-of-aspnet-core/index.md

@ -9,5 +9,5 @@ MVC is an architectural design pattern used for developing applications, specifi
Visit the following resources to learn more:
- [MVC Official Documentation](https://learn.microsoft.com/en-us/aspnet/core/mvc/overview?WT.mc_id=dotnet-35129-website&view=aspnetcore-7.0)
- []()
- []()
- [ASP.NET MVC Architecture](https://www.tutorialsteacher.com/mvc/mvc-architecture)
- [MVC Framework - Introduction](https://www.tutorialspoint.com/mvc_framework/mvc_framework_introduction.htm)

@ -1 +1,9 @@
# Rest
# Rest
REST (Representational State Transfer) is an architectural style for building web services. In the context of .NET, RESTful web services can be created using the ASP.NET Web API framework, which allows developers to create HTTP-based services that can be consumed by a wide range of clients, including web browsers and mobile devices. The Web API framework provides a set of tools and libraries for creating RESTful services, including routing, request/response handling, and support for a variety of data formats, such as JSON and XML.
For more information, visit the following resources:
- [What is REST Services?](http://www.codedigest.com/quick-start/16/what-is-rest-services-how-to-create-rest-services-in-aspnet)
- [Restful API In ASP.NET: Introduction of REST & Web API](https://www.c-sharpcorner.com/UploadFile/4b0136/restful-api-in-Asp-Net-introduction-of-rest-web-api/)
- [What are RESTful APIs](https://www.pragimtech.com/blog/blazor/what-are-restful-apis/)

@ -1 +1,11 @@
# Razor pages
# Razor Pages
Razor Pages is a feature of the ASP.NET Core framework that allows developers to build web applications using a combination of Razor markup (a markup syntax for defining dynamic HTML) and C# code. Razor Pages is built on top of the ASP.NET Core MVC (Model-View-Controller) framework, and provides a simpler, more intuitive way to build web pages and handle user input.
Razor Pages are useful for building simple, self-contained web pages that do not require a complex navigation or layout structure, and are often used for building small to medium-size web applications.
For more information, visit the following links:
- [Basics of Razor Pagess](https://www.jetbrains.com/dotnet/guide/tutorials/basics/razor-pages/)
- [Get started with Razor Pages in ASP.NET Core](https://learn.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/?view=aspnetcore-7.0)
- [What Is Razor Pages?](https://www.learnrazorpages.com/)

@ -1 +1,11 @@
# Razor components
# Razor Components
Razor Components is a feature of ASP.NET Core that allows developers to build reusable, self-contained components that can be used across multiple pages or even multiple applications. Razor Components is built on top of the Razor view engine, which allows developers to define components using a combination of Razor markup and C# code.
Razor Components are useful for building complex, dynamic, and reusable UI elements, such as forms, tables, or dialogs, and can be used to build both small and large-scale web applications.
For more information, vist the following links:
- [ASP.NET Core Razor components](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/?view=aspnetcore-7.0)
- [What is Core razor components?](https://www.youtube.com/watch?v=KseDLejhYi0)
- [Core Razor Componets in .NET](https://www.c-sharpcorner.com/blogs/asp-net-core-razor-componets)

@ -1 +1,11 @@
# Middlewares
# Middlewares
Middleware is software that sits between an operating system and application software, and facilitates communication and data exchange between them. In the context of web development, middleware refers to software components that handle requests and responses in a web application. These components are typically executed in a pipeline, with each component performing a specific task, such as authentication, logging, or routing.
In the ASP.NET Core framework, middleware is a key concept that is used to build web applications. Middleware components are added to the application pipeline using the `IApplicationBuilder` interface, and are executed in the order in which they are added. For example, an application might have middleware components for handling authentication, logging, and routing, in that order.
Visit the following links for more resources:
- [What is Middleware?](https://www.redhat.com/en/topics/middleware/what-is-middleware)
- [Introduction to Middleware](https://www.techtarget.com/searchapparchitecture/definition/middleware)
- [What is Middleware in .NET?](https://www.talend.com/resources/what-is-middleware/)

@ -1 +1,7 @@
# Filters and attributes
# Filters and Attributes
In the ASP.NET Core framework, filters and attributes are used to add additional functionality to controllers and action methods, such as authentication, authorization, caching, and exception handling.
- **Filters** are classes that implement one or more of the filter interfaces provided by the framework, such as `IActionFilter`, `IResultFilter`, `IExceptionFilter`, and `IAuthorizationFilter`. Filters can be applied to controllers, action methods, or globally to the entire application. They can be used to perform tasks such as logging, caching, and handling exceptions.
- **Attributes** are classes that derive from `Attribute` class, and are used to decorate controllers, action methods, or properties with additional metadata. For example, the Authorize attribute can be used to require that a user is authenticated before accessing a specific action method, and the `ValidateAntiForgeryToken` attribute can be used to protect against cross-site request forgery (CSRF) attacks.

@ -1 +1,13 @@
# App settings and configurations
# App Settings and Configurations
In the ASP.NET Core framework, app settings and configurations refer to the process of storing and managing application-specific settings and configuration data.
- **App Settings** refers to the key-value pairs of data that an application uses to configure its behavior, such as database connection strings, api keys, or other settings. These settings are typically stored in configuration files, such as `appsettings.json`, `appsettings.development.json`, or `appsettings.production.json`, and can be accessed using the IConfiguration interface.
- **Configurations** refer to the process of loading and managing the app settings, including specifying the source of the settings and the format of the configuration files. In ASP.NET Core, the `Startup` class is responsible for configuring the application's settings, and typically loads configuration data from various sources, such as JSON files, environment variables, or command-line arguments.
For more information, visit the following links:
- [What is Azure App Configuration?](https://learn.microsoft.com/en-us/azure/azure-app-configuration/overview)
- [What are App Configurations and how do I work with them?](https://support.procore.com/faq/what-are-app-configurations)
- [Configuration & AppSettings](https://docs.servicestack.net/appsettings)

@ -1 +1,9 @@
# Basics of aspnet core
# Basics of Aspnet Core
ASP.NET Core is a open-source, cross-platform web framework for building modern web applications using .NET. Some of the basics of ASP.NET Core are Cross-platform, Open-source, Modular, High performance, MVC pattern, Dependency Injection, Middleware, Razor Pages and Razor Components, EF Core.
For more information, visit the following resources:
- [ASP.NET documentation](https://learn.microsoft.com/en-us/aspnet/core/?view=aspnetcore-7.0)
- [ASP.NET Core Tutorial](https://www.tutorialspoint.com/asp.net_core/index.htm)
- [Learn ASP.NET Core from Scratch](https://www.tutorialsteacher.com/core)
Loading…
Cancel
Save