In this new post custom JavaScript function in Blazor, I present how to create functions in C# in a Blazor page and integrate them with JavaScript
Search Results for: .net core
NET8 is announced
Microsoft has recently announced the release of NET8, the latest version of its popular software development platform
Keep secrets out of source code
Keep secrets out of your source code in Visual Studio. It is never a good idea to store secrets or passwords in your source code.
Add Security Headers to Blazor WebAssembly
In this new post, I like to explain how to add security headers to Blazor WebAssembly to follow the recommendations from OWASP.
Add Security Header our website
In this new post, I’ll show you how to add security header to our website to be ready for a penetration test. Quick and easy to implement.
Dynamically add JavaScript from Blazor components
In this new post, I show you the code to dynamically add JavaScript from a Blazor components coming from the component itself or another URL
Minimal APIs in NET6
From now on, we can create minimal APIs in NET6 that allows us to write in few lines of code powerful APIs. I collect all my understanding
Markdown Editor component for Blazor
I have created a new Markdown Editor component flexible and rich of functionalities for Blazor WebAssembly and Blazor Server with .NET6.
Upload/Download Files using HttpClient
In this new post, I show you how to upload/download files using HttpClient in C# and .NET Core. Creating a new version of the Markdown Editor component for Blazor, I face some issues with the file upload. So, I was working to find a solution and now I can tell you how to do it. First, I will take a look at how to send multipart MIME data to a Web API using HttpClient. We will create two applications to demonstrate the data transfer between the client side and the server side. The server-side…
DataTable component for Blazor
I have just released a new DataTable component for Blazor WebAssembly and Blazor Server. The NuGet package is available here. The source code will be available soon on GitHub. This component supports client/server side paging, filtering and sorting. DataTable in action Installation So, first install the package from NuGet or execute this command or Then, open your index.html or _Host.cshtml and add the CSS in the head of the page and then the script at the bottom of the page Then, add in your _Imports.razor file the following using: Also, in the…
Ultimate pipeline for NuGet packages
Here I explain how to create the ultimate pipeline for NuGet packages with Azure DevOps as the end of my previous posts. Click to see it
Create an accordion component with Blazor
In this post, I’m going to explain how to create an accordion component with Blazor WebAssembly or Blazor Server in a very simple way
Configure IdentityServer for Xamarin Forms
In this new post, I explain how to configure IdentityServer for Xamarin Forms to integrate Web Authenticator using Xamarin Essentials
Create a Blazor component for Quill
Create a Blazor component for Quill allows us to easily consume Quill and place multiple instances of it on a single page in our applications
How to Export Data to Excel in Blazor
In this new post, I’m going to show how to export data to Excel in Blazor WebAssembly or Server. Creating and exporting data to Excel file is one of the frequently used feature in web apps. First, for creating an export in Excel, I will use a free library that is a NuGet package. ClosedXML is a .NET library for reading, manipulating and writing Excel 2007+ (.xlsx, .xlsm) files. It aims to provide an intuitive and user-friendly interface to dealing with the underlying OpenXML API. So, you can download the full source…
Write a reusable Blazor component
First part of a Blazor article series to tell how to create a reusable Blazor component that will be used in your Blazor applications
Use LocalStorage with Blazor WebAssembly
In this post I want to show how to use LocalStorage with Blazor WebAssembly to save data in the storage of the browser
InputSelect component for enumerations in Blazor
I can’t find the component I need, so, I have created one and now I’m going to give you the code for InputSelect for enumerations in Blazor
Setting up a Blazor WebAssembly application
Setting up a Blazor WebAssembly application creates a new solution for a simple project to explore components and interactions with Blazor
Getting started with C# and Blazor
Getting started with C# and Blazor explains how this new Microsoft technology is working and the basic information to understand Blazor
Improving on the application’s behaviour
In this post will be on improving on the application’s behaviour following clean architecture handling errors, adding logging, authenticating users
How adding an UI built in Blazor
I want to show you how adding an UI built in Blazor using the API we have created in the other posts in a real application
How testing the Application code
In testing the application code I’m going to be showing you how we can effectively test the different parts we’ve created in the so far
Adding validation using Fluent Validation
Adding validation using Fluent Validation is a method to decoupled rules and models and also write multiple rule-sets against the same models
Creating the Infrastructure project
We will be on creating the Infrastructure project following clean architecture. We are going to bring in another layer: the infrastructure