ASP.NET Core A-Z
- A is for Authentication & Authorization
- B is for Blazor Full-Stack Web Dev
- C is for Cookies and Consent
- D is for Deploying to Azure App Service
- E is for EF Core Relationships
- F is for Forms & Fields
- G is for Generic Host Host Builder
- H is for Handling Errors
- I is for IIS Hosting
- J is for JavaScript, HTML/CSS & Static Files
- K is for Key Vault
- L is for Logging
- M is for Middleware
- N is for .NET 5.0, VS2019 Preview and C# 9.0
- O is for Organizational Authentication
- P is for Production Tips
- Q is for Query Tags
- R is for Razor Pages
- S is for SignalR
- T is for Tag Helper Authoring
- U is for Unit Testing
- V is for Validation
- W is for Worker Service
- X is for XML + JSON Output for Web APIs
- Y is for YAML-defined CI/CD
- Z is for Zero-Downtime Web Apps
25 августа 2020 г.
Просмотров: 754
Authentication and Authorization are two different things, but they also go hand in hand. Think of Authentication as letting someone into your home and Authorization as allowing your guests to do specific things once they’re inside (e.g. wear their shoes indoors, eat your food, etc). In other words, Authentication lets...
далее...
25 августа 2020 г.
Просмотров: 945
In my 2019 A-Z series, I covered Blazor for ASP.NET Core while it was still experimental. As of ASP.NET Core 3.1, server-side Blazor has now been released, while client-side Blazor (currently in preview) is expected to arrive in May 2020. This post will cover server-side Blazor, as seen in NetLearner....
далее...
25 августа 2020 г.
Просмотров: 504
In this article, we’ll continue to look at the (in-progress) NetLearner application, which was generated using multiple ASP.NET Core web app project (3.1) templates. In previous releases, the template made it very easy for you to store cookies and display a cookie policy. However, the latest version doesn’t include cookie...
далее...
25 августа 2020 г.
Просмотров: 815
In this article, we’ll explore several options for deploying an ASP .NET Core web app to Azure App Service in the cloud. From the infamous Right-Click-Publish to fully automated CI/CD, you’ll learn about the latest Deployment Center option in the Azure Portal for App Service for web apps. NOTE: If...
далее...
25 августа 2020 г.
Просмотров: 1193
In my 2018 series, we covered EF Core Migrations to explain how to add, remove and apply Entity Framework Core Migrations in an ASP .NET Core web application project. In this article, we’ll continue to look at the newer 2020 NetLearner project, to identify entities represented by C# model classes...
далее...
25 августа 2020 г.
Просмотров: 627
Before Tag Helpers were available, you would have to use HTML Helper methods to create forms and their elements in a ASP .NET Core views. This meant that your form could look something like this: @using (Html.BeginForm()) { <input /> } With the introduction of Tag Helpers, you can...
далее...
25 августа 2020 г.
Просмотров: 517
The Generic Host Builder in ASP .NET Core was introduced in v2.1, but only meant for non-HTTP workloads. However, it has now replaced the Web Host Builder as of v3.0 in 2019. Generic Host Builder in ASP .NET Core 3.x History Lesson: Generic Host Builder in 2.x So, if the...
далее...
25 августа 2020 г.
Просмотров: 518
Unless you’re perfect 100% of the time (who is?), you’ll most likely have errors in your code. If your code doesn’t build due to compilation errors, you can probably correct that by fixing the offending code. But if your application encounters runtime errors while it’s being used, you may not...
далее...