How to implement an efficient audit system with Entity Framework Core? In this post I explain what to do and the source code is on GitHub
Category: C#
Features for AdminLTE with ASP.NET Core
I want to add new cool features for AdminLTE with ASP.NET Core. The source code of this template is on GitHub #aspnetcore #adminlte #mvc #gravatar #breadcrumbs #navigation
Protect static files with ASP.NET Core
I explain how to Protect static files with ASP.NET Core Razor Pages and IdentityServer 4. Working with almost every extensions
Implement security workflow with Identity Server
The goal of this post is to implement security workflow with Identity Server 4 and C# among projects and services. With a bunch of examples, I’m going to show, practically,…
Connect web application to PowerBI
How to connect a web application to PowerBI to give users a unique experience across a website using the PowerBI APIs
Test our code with json
Test Driven Development (TDD) helps you to validate your code but something you need to check some result from a json file. Here my solution
Database Connection Resiliency in Entity Framework Core
How to implement database connection resiliency using an inbuilt or custom execution strategy using Entity Framework Core
Transactions with Entity Framework Core
In the last couple of weeks, I was talking about Entity Framework Core for creating a model or call stored procedures. But how to use transactions?
Run Azure Function on a different port
I want to run more than one Azure Function at the same time but each of them on a different port because by default all Azure Functions are starting on…
Map base class to derive class
I’m facing a problem when I want to cast a base class to a derive class. A derive class is a class that derives from a base class. In this…
C# 9: Partial Method Enhancements for Source Generators
Source Generators in C# 9 will allow compiler-extensions to inspect code and then inject additional source code at compile-time
Source Generators enables Compile-Time metaprogramming
Source generators is a new feature of C# 9 that enables compile-time metaprogramming and generating additional source file.
Getting organization list from Xero in C#
Connect your C# application with Xero OAuth 2.0 is not really simple. Here how getting the list of organization from Xero step by step
Getting invoice list from Xero in C#
In this new post I explain the procedure for getting an invoice list from Xero in your C# applications with few lines of code.
Save and retrieve Secret from Azure KeyVault
How to retrieve #key, #secret, certificate from #Azure #KeyVault in C#? A step by step guide to configure your Azure account and start a new C# project
Integrate Xero with C# applications
How integrate Xero in your C# application? This is my guide step by step after spending more than one week to sort it out
Uno Platform now lets you develop for macOS, Windows, and more using the same code
Uno Platform announced today that it now supports macOS as a target platform. This new support means that developers can use a single code base to create apps on Windows,…
Adding Swagger UI to Azure Function APIs
You can set up Swagger UI in your Azure Function API to allow for providing documentation for your serverless API pretty easily
Multiple output in Azure Functions with C#
In this post I like to analyse how to return multiple output in Azure Functions with C# and Service Bus. If you want more info, in the last week or…
Create Azure Function in C# Script and Service Bus
How to create an Azure Function in C# Script using as input and output a message from and to Service Bus Queue step by step
Working with CarouselView in Xamarin Forms
Xamarin.Forms code runs on multiple platforms – each of which has its own filesystem. This means that reading and writing files is most easily done using the native file APIs…
Using functions as values in F#
In my previous post, we discussed about immutable data structure. Now, imagine that we want to write a method similar to SumList but that multiplies the numbers rather than adding them. Making…
Using immutable data structures in F#
An immutable data structure (or object) is a structure whose value doesn’t change after it’s created. When you declare a data structure that contains some values, you store these values…
Lifetime Managers in Unity Container
The unity container manages the lifetime of objects of all the dependencies that it resolves using lifetime managers. Unity container includes different lifetime managers for different purposes. You can specify…
Adding an external Microsoft login to IdentityServer4
This article shows how to implement a Microsoft Account as an external provider in an IdentityServer4 project using ASP.NET Core Identity with a SQLite database. Setting up the App Platform…