Posts tagged "ASP.NET Core"

Published:

.NET 5.0 - Connect to MySQL Database with Entity Framework Core

In this post we'll go through the steps to connect a .NET API to MySQL using Entity Framework Core, and to create a MySQL database from code using EF Core migrations.
Published:

.NET 5.0 - Connect to SQL Server with Entity Framework Core

In this post we'll go through the steps to connect a .NET API to SQL Server using Entity Framework Core, and to create a SQL Server database from code using EF Core migrations.
Published:

.NET - Return Enum as String from API

This is a quick post to show how to serialize enum values as strings so enum values are returned in API responses instead of the enum indexes.
Published:

.NET - Startup Class in a Nutshell

The Startup class configures the services available to the .NET Dependency Injection (DI) container in the ConfigureServices() method, and configures the .NET request pipeline for the application in the Configure() method.
Published:

.NET - Program Class and Main Method in a Nutshell

The Main method is the entry point for a .NET application, when an app is started it searches for the Main method to begin execution. The method can be located anywhere in a project but is typically placed in the Program class.
Published:

.NET + MSBuild - C# Project File (.csproj) in a Nutshell

A .NET project file is an XML document containing MSBuild code that executes when you run the dotnet build command
Published:

.NET 5.0 - CRUD API Example and Tutorial

Tutorial on how to build a .NET 5.0 API that supports CRUD operations.
Published:

.NET 5.0 - Send an Email via SMTP with MailKit

This is a quick example of how to send an email in .NET 5.0 using the MailKit email client library.
Published:

.NET 5.0 - Boilerplate API with Email Sign Up, Verification, Authentication & Forgot Password

How to build a boilerplate .NET 5.0 API that supports email sign up, verification, authentication, role based access control, forgot password, reset password and account management (CRUD) functionality.
Published:

.NET 5.0 - Role Based Authorization Tutorial with Example API

How to build an API with role based authorization / access control in .NET 5.0 & C#. Includes example client apps built with Angular, React and Vue.
Published:

.NET 5.0 - Bare Bones API Tutorial

A step by step tutorial on how to build a simple bare bones .NET 5.0 API from scratch with a couple of example endpoints/routes, with details on every line of code and configuration to show how it all fits together.
Published:

.NET 5.0 - Simple API for Authentication, Registration and User Management

This tutorial shows how to build a .NET 5.0 API that supports user registration, login with JWT authentication and user CRUD operations. Includes example client apps built with Angular, Blazor, React & Vue.
Published:

.NET 5.0 - Basic Authentication Tutorial with Example API

How to implement Basic HTTP Authentication in .NET 5.0 with C#. Includes example client apps built with Angular, React, Vue & Blazor.
Published:
Last updated:

.NET Core 3.1 + AWS Lambda - Deploy a .NET Core API and SQL Server DB to Lambda and RDS

How to setup an AWS environment from scratch and deploy a .NET Core 3.1 API to AWS Lambda that connects to a SQL Server database running on AWS RDS (Relational Database Service) and sends email using AWS SES (Amazon Simple Email Service).
Published:

.NET 5.0 - JWT Authentication Tutorial with Example API

How to implement custom JWT authentication in .NET 5.0 with C#. Includes example client apps built with Angular, React, Vue & Blazor.
Published:

.NET Core C# + AWS SES - Send Email via SMTP with AWS Simple Email Service

In this tutorial we'll go through the steps to enable sending email via SMTP from a .NET Core API using the Amazon Simple Email Service.
Published:

Blazor WebAssembly - Fake Backend Example for Backendless Development

An example of backendless development with Blazor WebAssembly using an HTTP Client Handler, includes "pass through" to real backend for unmocked URLs.
Published:

Blazor WebAssembly - User Registration and Login Example & Tutorial

In this tutorial we'll go through an example of how to build a simple user registration, login and user management (CRUD) application with Blazor WebAssembly.
Published:

ASP.NET Core 3.1 - Global Error Handler Tutorial

This is a quick post to show how to implement a global exception handler in ASP.NET Core 3.1
Published:

Blazor WebAssembly - Authentication Without Identity

This is a quick post to show how to implement custom authentication in ASP.NET Core Blazor without the Identity membership system.
Published:

Blazor WebAssembly - HTTP GET Request Examples

A quick set of examples to show how to send HTTP GET requests from Blazor WebAssembly to a backend API using the HttpClient
Published:

Blazor WebAssembly - HTTP POST Request Examples

A quick set of examples to show how to send HTTP POST requests from Blazor WebAssembly to a backend API using the HttpClient
Published:

Blazor WebAssembly - Display a list of items

This is a quick example to show how to display a list of items in Blazor WebAssembly.
Published:

Blazor WebAssembly - Basic HTTP Authentication Tutorial & Example

A Custom Basic HTTP Authentication Example built with ASP.NET Core Blazor WebAssembly
Published:

Blazor WebAssembly - JWT Authentication Example & Tutorial

A Custom JWT Authentication Example built with ASP.NET Core Blazor WebAssembly.
Published:

Blazor WebAssembly - Get Query String Parameters with Navigation Manager

This is a quick post to show how you can add a couple of simple extension methods to the NavigationManager class in your Blazor WebAssembly app for accessing query string parameters in the URL.
Published:

Blazor WebAssembly - Form Validation Example

This is a quick example of how to setup form validation in ASP.NET Core Blazor WebAssembly. The example is a simple registration form with pretty standard fields for title, first name, last name, date of birth, email, password, confirm password and an accept terms and conditions checkbox.
Published:

ASP.NET Core Blazor WebAssembly - Communication Between Components

This is a quick tutorial to show how you can send messages between components in a Blazor WebAssembly (WASM) application.
Published:

ASP.NET Core 3.1 - Create and Validate JWT Tokens + Use Custom JWT Middleware

This is a quick example of how to create and validate JWT tokens in ASP.NET Core 3.1. We also cover how to implement custom JWT authentication with custom JWT middleware and a custom authorize attribute.
Published:

ASP.NET Core 3.1 - Hash and Verify Passwords with BCrypt

A quick example of how to hash and verify passwords ASP.NET Core 3.1 using the BCrypt.Net-Next password hashing library which is a C# implementation of the bcrypt password hashing function.
Published:
Last updated:

ASP.NET Core 3.1 - Send Emails via SMTP with MailKit

This is a quick example of how to send an email in ASP.NET Core 3.1 using the MailKit email client library.
Published:
Last updated:

ASP.NET Core 3.1 - Boilerplate API with Email Sign Up, Verification, Authentication & Forgot Password

How to build a boilerplate authentication API with ASP.NET Core 3.1 that includes email sign up & verification, authentication & role based authorization, forgot password & reset password functionality, account management (CRUD) routes with role based access control, and Swagger documentation.
Published:

ASP.NET Core - Setup Development Environment

A quick post to show how to setup an ASP.NET Core development machine.
Published:

ASP.NET Core 3.1 API - JWT Authentication with Refresh Tokens

How to implement JWT authentication with refresh tokens in an ASP.NET Core 3.1 API. Includes example client app built with Angular.
Published:

ASP.NET Core API - Allow CORS requests from any origin and with credentials

This is a quick post to show how to configure an ASP.NET Core API to allow CORS requests from any origin as well as with credentials.
Published:

Vue.js + ASP.NET Core on Azure with SQL Server - How to Deploy a Full Stack App to Microsoft Azure

In this deployment tutorial we're going to setup a new production ready Windows 2019 web server on Microsoft Azure with IIS (Internet Information Services), then deploy a full stack Vue.js + ASP.NET Core + SQL Server application to it that supports user registration and JWT authentication.
Published:

React + ASP.NET Core on Azure with SQL Server - How to Deploy a Full Stack App to Microsoft Azure

In this deployment tutorial we're going to setup a production ready Windows + IIS server from scratch on Microsoft Azure, then deploy a full stack React + ASP.NET Core + SQL Server application to it that supports user registration and JWT authentication.
Published:
Last updated:

Angular + .NET Core + SQL on Azure - How to Deploy a Full Stack App to Microsoft Azure

In this deployment tutorial we're going to setup a production ready web server from scratch on Microsoft Azure running Windows Server and IIS, then deploy a full stack Angular + ASP.NET Core + SQL Server application to it that supports user registration and authentication.
Published:
Last updated:

ASP.NET Core - EF Core Migrations for Multiple Databases (SQLite and SQL Server)

An example of how to setup an ASP.NET Core project with EF Core Migrations that support multiple different database providers.
Published:

ASP.NET Core - Automatic EF Core Migrations to SQL Database on Startup

This is a super quick example of how to automatically migrate database changes from code in ASP.NET Core using Entity Framework Core from the Startup.cs file.
Published:
Last updated:

ASP.NET Core 3.1 - Basic Authentication Tutorial with Example API

How to implement Basic HTTP Authentication in ASP.NET Core 3.1 with C#. Includes example client apps built with Angular, React and Vue.js.
Published:
Last updated:

ASP.NET Core 3.1 - Role Based Authorization Tutorial with Example API

How to build an API with role based authorization / access control in ASP.NET Core 3.1 & C#. Includes example client apps built with Angular, React and Vue.
Published:
Last updated:

ASP.NET Core 3.1 - Simple API for Authentication, Registration and User Management

Simple boilerplate ASP.NET Core 3.1 API that supports User Registration, Login and User Management. Uses SQLite in development & SQL Server in production and includes example client apps built with React, Angular & Vue.
Published:
Last updated:

ASP.NET Core 3.1 - JWT Authentication Tutorial with Example API

How to implement custom JWT authentication in ASP.NET Core 3.1 with C#. Includes example client apps built with React, Angular & Vue.
Published:

ASP.NET Core 2.2 - Role Based Authorization Tutorial with Example API

How to build an API with role based authorization / access control in ASP.NET Core 2.2 & C#. Includes example client apps built with Angular, React and Vue.
Published:

C# - Pure Pagination Logic in C# / ASP.NET

Pure pagination logic written in C# / ASP.NET and available on NuGet. Compatible with ASP.NET Core and ASP.NET Standard projects.
Published:

ASP.NET Core Razor Pages - Pagination Example

An example of how to add pagination to your ASP.NET Core 2.1 Razor Pages application.
Published:
Last updated:

ASP.NET Core 2.2 - Basic Authentication Tutorial with Example API

How to implement Basic HTTP Authentication in ASP.NET Core 2.2 with C#. Includes example client apps built with Angular, React and Vue.js.
Published:
Last updated:

ASP.NET Core 2.2 - JWT Authentication Tutorial with Example API

How to implement JWT authentication in ASP.NET Core 2.2 with C#. Includes example client apps built with React, Angular & Vue.
Published:
Last updated:

ASP.NET Core 2.2 - Simple API for Authentication, Registration and User Management

A clean and simple custom ASP.NET Core API for User Registration, Login with JWT Authentication and User Management.
Supported by