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: .NET
.NET (dotnet) is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.
So, there are various implementations of .NET (dotnet). Each implementation allows .NET code to execute in different places—Linux, macOS, Windows, iOS, Android, and many more. This framework has two main versions:
- Framework is the original implementation of .NET. It supports running websites, services, desktop apps, and more on Windows.
- Core is a cross-platform implementation for running websites, services, and console apps on Windows, Linux, and macOS. .NET Core is open source on GitHub.
Then, Xamarin/Mono is a .NET (dotnet) implementation for running apps on all the major mobile operating systems, including iOS and Android.
The .NET Standard is a formal specification of the APIs that are common across .NET implementations. This allows the same code and libraries to run on different implementations.
Therefore, the two major components of .NET (dotnet) Framework are the Common Language Runtime and the .NET Framework Class Library.
- The Common Language Runtime (CLR) is the execution engine that handles running applications. It provides services like thread management, garbage collection, type-safety, exception handling, and more.
- The Class Library provides a set of APIs and types for common functionality. It provides types for strings, dates, numbers, etc. The Class Library includes APIs for reading and writing files, connecting to databases, drawing, and more.
Summarize, .NET (dotnet) applications are written in the C#, F#, or Visual Basic programming language. Code is compiled into a language-agnostic Common Intermediate Language (CIL). Compiled code is stored in assemblies—files with a .dll or .exe file extension.
At the end, when an app runs, the CLR takes the assembly and uses a just-in-time compiler (JIT) to turn it into machine code that can execute on the specific architecture of the computer it is running on.
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
Integrating AdminLTE with ASP.NET Core
I explain how integrating AdminLTE with ASP.NET Core 3.1 MVC or really any other Bootstrap based UI Frameworks completely from scratch
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
Azure DevOps releases AppServices
In this post, I’m going to explain how to create a pipeline and a release in Azure DevOps that releases into AppServices. This is quite important step to go forward…
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,…
Top 40 Agile Scrum Interview Questions
In this post, we want to answer the top 40 Agile Scrum Interview Questions and focus on the different areas for agile scrum interviews
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
Microsoft: we are finished with F# 5
Microsoft’s F# programming language alongside the latest .NET 5 preview: Microsoft announced : “we are finished with F# 5”
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: update
In this post I’m talking about Database Connection Resiliency in Entity Framework Core, an update to my previous post about transaction operations
Azure your platform in the cloud
I want to introduce you Azure as treasures in the cloud because it is. What is Azure? How to use it? How save money and speed up your service?
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…
Web Live Preview for Visual Studio 2019
Working on the user interface is frustrating but from today you have a new Microsoft tool called Web Live Preview for Visual Studio 2019 that helps you
How to create email buttons with just HTML and CSS
In this post I explain how to create email buttons with just HTML and CSS. A call to action button is an important element of an effective email. But how…
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.
Pack .NET program to a single .exe file
PostSharp.Community.Packer is a free and open-source tool that you can use to pack your .NET Framework application into a single .exe file for distribution.
Entity Framework Core and calling a stored procedure
With Entity Framework Core you are able creating a model from the database and also calling a stored procedure.
How to hide Google's reCaptcha v3
In this article we are going to describe how to hide Google’s reCaptcha v3 badge. To get started, let’s answer the question why we need a captcha in the first…
Creating a Model for an Existing Database
Creating entity & context model automatically in C# for an existing database is called Database-First approach with Entity Framework Core
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