How to Send an SMS with ASP.NET Core
In this article, we are going to cover how to send an SMS with ASP.NET Core. To accomplish this, we are going to use Twilio as our SMS service to send an SMS message and automate a response when an SMS message is received. To download the source...
Localization in Blazor WebAssembly Applications
In this article, we are going to learn how to implement localization in Blazor WebAssembly applications. We are going to start with a simple introduction to Globalization and Localization. Then, we are going to show you how to implement localization in Blazor...
Blazor WebAssembly Component Virtualization with ASP.NET Core API
In this article, we are going to talk about Blazor WebAssembly component virtualization and explain how to use the Virtualize component to achieve that. Also, we are going to show you how to achieve the Blazor WebAssembly component virtualization while fetching the...
Code Maze Weekly #51
This has been a big week for .NET developers around the world and we've been blown away by the sheer amount of new things that were announced at .NET Conf. If you've missed it, we suggest watching it because some of the demos were out of this world. For those that...
Using Azure WebJobs in .NET Applications
It is a very common requirement for web applications to be able to run background tasks. Scheduling tasks to run at specific times or intervals, triggering jobs to run based on certain events, etc are common scenarios that we encounter while developing applications....
Global HTTP Error Handling in Blazor WebAssembly
In this article, we are going to learn about handling HTTP errors in the Blazor WebAssembly application. We are going to start with a simple example, and then improve the solution until we implement global HTTP error handling with the Blazor WebAssembly interceptor....
Lazy Loading in Blazor WebAssembly
In this article, we are going to learn how to implement Lazy Loading in Blazor WebAssembly. Lazy Loading enables us to improve the startup speed of our Blazor WebAssembly application by delaying the download of the resources we do not require yet. For example, if we...
Code Maze Weekly #50
In this special issue #50, we've got important news about .NET 5, which is going to be revealed and released next week on .NET Conf! We look forward to new features and optimizations and we're going to focus a lot on them in the following months. Other than that,...
Wrapping JavaScript Libraries with C# in Blazor WebAssembly
Up until now, in this series of articles, we have learned how to call JavaScript code from C#, how to call C# code from JavaScript, and also how to extract a JS code and use it from the Razor class library. But all the time, we had to write some JavaScript code to...
How to Use Browser Functionalities with Blazor WebAssembly
There are a lot of browser functionalities that we can use in our Blazor WebAssembly application like local storage, session storage, offline/online status, etc. These can be quite useful, so in this article, we are going to learn how to use browser functionalities...
How to Call C# Methods from JavaScript in Blazor WebAssembly
In the previous two articles of this series, we have learned how to call JavaScript functions from C#. Now, as a logical continuation, we are going to learn how to call C# methods from JavaScript in our Blazor WebAssembly application. To download...
Code Maze Weekly #49
🎃👻🕷️ "When witches go riding, And black cats are seen, The Moon laughs and whispers, 'Tis near Halloween" 🎃👻🕷️ Hope you're having fun. If not, check this week's articles and you'll be having it very soon 😁 .NET and C# C# in Simple Terms - Interfaces and Abstract...
Elasticsearch in ASP.NET Core
In this article, we are going to use the popular open-source search and analytics engine - Elasticsearch to power a simple search system in ASP.NET Core. To download the source code for this article, visit Elasticsearch in ASP.NET Core...
Using JSInterop to Pass HTML Elements and Handle JS Errors
In the previous article, we've started a topic about calling JavaScript functions from C# and reached a certain point. Now, it is time to continue that story and explain more about using JSInterop to pass HTML elements to JavaScript functions in Blazor WebAssembly....
How to Call JavaScript Functions with C# in Blazor WebAssembly
In this article, we are going to learn how to call JavaScript functions with C# methods in our Blazor WebAssembly application. We are going to cover different situations and different ways to interact with the JS code from our C# classes. To...
Code Maze Weekly #48
Hey everyone, W.... eekend is coming, and that's our favorite time to relax and recharge. We've prepared a fresh batch of interesting articles for you to enjoy this time. So prepare your favorite brew, sit down, and pick your favorite topic from the list. .NET and C#...
Deploying ASP.NET Core Web API to Azure API Apps
We have learned how to create an Azure Web App and deploy an ASP.NET Core app into it using Visual Studio in our Publishing an ASP.NET Core App to Azure App Service Using Visual Studio article. Then we looked at how to create an App Service from the Azure Portal and...
Attribute-Based Access Control with Blazor WebAssembly and IdentityServer4
In this article, we are going to learn how to use Attribute-based access control (ABAC) to secure our Blazor WebAssembly application. We have already learned about Role-based access control (RBAC) and how to use roles to secure our app. Here, we are going to do a...
Blazor WebAssembly Role-Based Security with IdentityServer4
In this article, we are going to learn more about the Blazor WebAssembly Role-Based Security and how IdentityServer4 fits into the whole story. Also, we are going to include our API application in this process and protect our endpoints with the required role. [sc...
Code Maze Weekly #47
The elephant in the room this time is the release of RC2 for .NET 5. This is the last step before the full release of .NET 5. We hope you're as excited as we are because it's going to be awesome. There are many features we look forward to, especially in Blazor...
Continuous Deployment from GitHub to Azure App Service
We learned about Azure App Service and how to deploy our ASP.NET Core application into it from Visual Studio in the Publishing an ASP.NET Core App to Azure App Service Using Visual Studio article. In this article, we are going to learn how to configure Continuous...