In this post, I describe how to expose methods in a component that can be used by other components in an ASP.NET Core Blazor application.
In this post, I describe how to use CSS isolation in an ASP.NET Core Blazor application. When creating a Blazor application or library, you'll create many components. A component can be used by other components. By default, the CSS of the site applies to the HTML generated by your component. There are some cases where you want to isolate the style of a component. Blazor now provides CSS isolation. This post explains how to use it and how it works!
In the first post in this series I described some of the fundamental Kubernetes resources that you need to understand when deploying applications, like pods, deployments, and services. In my previous post I described the YAML manifests that are used to define and create these resources.
In this post, I describe how to lazy load assemblies in a ASP.NET Core Blazor WebAssembly application.
In this post, I describe how to copy text to the clipboard in an ASP.NET Blazor application. A browser provides an API to write to the clipboard or read from it. Modern browsers implements navigator.clipboard to access the clipboad.
In this post, I describe how to simulate the anchor navigation in an ASP.NET Core Blazor application. After loading a page, a browser automatically scrolls to the element identified by its id in the fragment part of the URL. It does the same when you click on an anchor with an href of the kind #element-id.
Let's get introduced to gRPC in ASP.NET Core! This article will get you started with gRPC, what it actually is, how does it compare to REST Protocol, and really when to use it. Further, we will also go through a demonstration of working with gRPC in ASP.NET Core to get a complete working picture of this trending technology.
In this article, take a look at implementing the repository pattern using C# and Entity Developer in ASP.NET Core. The basic objective of the Repository Pattern is to help you decouple the data access and business logic layers of an application. This article talks about how we can implement the repository pattern in C# and take advantage of Entity Developer to talk to the database.
This is the second post in the series: Deploying ASP.NET Core applications to Kubernetes. Part 1 - An Introduction to Kubernetes. Part 2 - Configuring resources with YAML manifests. In this post I'll describe the manifests for the resources I described in the previous post: pods, deployments, services, and ingresses.
In this post, I describe how to split markup and code into different files when writing an ASP.NET Core Blazor component.
This post shows how digital signatures can be implemented to check the integrity of cipher texts in ASP.NET Core Razor Pages. The cipher texts are encrypted with AES symmetric encryption and the key and the IV required to decrypt the texts are encrypted with asymmetric encryption using RSA certificates with a key size of 3072.
In this article, we will build a small Blazor WebAssembly app that can use your PC or laptop's web camera, and maybe apply some fun filters to real-time images.
In this post I describe some of the basic concepts that you'll need to be familiar with to deploy ASP.NET Core applications to Kubernetes.
In this article, let's learn about Deploying / Hosting ASP.NET Core with SmarterASP.NET, a Superior Hosting Service for ASP.NET Core 3.x. We will also go
The size of a Blazor WebAssembly application is important to reduce the loading time. Indeed, like any website, the page including all resources must be loaded before the user can use your application. If there are less things to download, it should load faster.In this post, I explain a few tricks to reduce the size of a Blazor WebAssembly application.
In Part 1, Part 2, Part 3, and Part 4 we touched upon various aspects of configuring IdentityServer, OAuth, and OIDC configuration in ASP.NET Core Web API and MVC applications. Although our sample application is working as expected, it stores all the IdentityServer related configuration in-memory. In a more realistic app you would like to store the configuration in some persistent data store such as SQL Server database. In this part we will do just that.
In this article, let’s talk about the trending GraphQL, a super cool tech built by Facebook which is now open-sourced. We will compare with REST API and understand the use case of GraphQL. We will also build a small prototype that demonstrates the integration of GraphQL in ASP.NET Core. You can find the source code at the end of the article. Let’s get started! Getting Started with GraphQL in ASP.NET Core - Complete Guide
In this post I discuss unit testing of API/MVC controllers in ASP.NET Core and some of the difficulties you face.
This post looks at symmetric and asymmetric encryption and how this could be implemented in .NET Core. Symmetric encryption is fast and can encrypt or decrypt large amounts of text, streams or file