Do you want to test your script to delete files in a production environment? Here an explanation for testing PowerShell with Pester for real
Search Results for: powershell
Testing PowerShell scripts with Pester
I want to share with you an awesome way for testing PowerShell scripts with Pester, a framework for PowerShell script testing and mocking
Copy folders excluding files in PowerShell
Here I will give you a script to copy folders excluding files in PowerShell. This is quite useful when you want to copy your deployment folder
Cloning all repositories from Azure DevOps
I will provide a script for cloning all repositories from Azure DevOps in an organisation with projects and repositories using PowerShell
Deploying Windows Services using Azure DevOps
Here how deploying Windows Services using pipelines in Azure DevOps. This helps you achieve a proper CD/CI for your Windows Service projects
Switch to dark mode automatically on Windows
In this post, I talk about to switch to dark mode automatically on Windows. Why? Although Windows 11 comes with an option to switch between the light and dark modes, it’s a manual process that requires several steps. Auto Dark Mode X is an open-source application that allows you to configure a schedule to switch between the light and dark modes (and vice versa) automatically. Furthermore, the application also includes exceptions to prevent the switch while you are gaming or running on battery. You can even specify whether apps, including…
Create Stripe webhooks receiver
I create a Stripe webhooks receiver for ASP.NET Core and Blazor. This is the first post of 4 where I show the full implementation.
Manipulating CSV Files
How manipulating CSV files in the internet era? Comma Separated Files (CSV) are text files that contain multiple records with more elements
Android debugging with Windows Subsystem
How to install Windows Subsystem for Android and debugging a new MAUI app with Android debugging with Windows Subsystem (outside US version) No emulator required!
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…
Markdown editor with Blazor
In this new post, I will show you have to create a simple Markdown editor component for Blazor Assembly and Blazor Server. Source code inside.
Managing a .NET Service with Blazor
In this post I will show you how creating a cross-platform and managing a .NET Service with Blazor that can be installed on Windows and Linux
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
Install MAUI with Visual Studio 2022
Microsoft is talking a lot about this new technology and here I will explain how to install MAUI with Visual Studio 2022 and run a first app
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
Blazor using HttpClient with authentication
Today, we are going to learn how to create a secure connection in Blazor using HttpClient with authentication to gain access to the protected resources on the Web API’s side. Everything is based on IdentityServer. Until now, we secure Blazor WebAssembly With IdentityServer4 and enabled login and logout actions. After successful login, IdentityServer sends us the id_token and the access_token. But we are not using that access_token yet. So, in this article, we are going to change that. But, using the access token with Blazor WebAssembly is not going to be our…
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 an API using ASP.NET Core
Adding an API using ASP.NET Core is the subject of this new post related to explain how to implement a project in a clean architecture
Setting up the application ASP.NET Core
I’m going to explain how setting up the application for ASP.NET Core with clean architecture from a blank project to complete solution
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
Datatables in ASP.NET Core Server-Side
We will learn how to use Datatables in ASP.NET Core with Server-Side Processing with a simple real-world implementation to understand better
Create Database From Model Using EFCore
Wouldn’t it be nice if the database gets created automatically on the EF Core model your created? To that end this article discusses just that
Deploy ShinyApps with Azure and Docker
I explain how to deploy in a Azure WebApp a ShinyApps created with RStudio, using Azure DevOps as repository and Docker as container