Alexis Gilbert

Alexis Gilbert


.Net core vs .Net framework performance: A comparative analysis.

#programmiing #webdev #dotnet #aspdotnet #dot 

This rivalry between .Net vs .Net core framework is nothing new in the web application development industry.

Anyone who is working in this industry can vouch for that pressure, the dilemma they have to make a choice between the old vs new.

Believe me, and I know the struggle when it comes to opting from old vs new, where you can't trust the newer version as it doesn't have that old trustworthiness, and the old option is, well, getting old!

The selection from both can be done based on various factors and attributes; However, in this blog, we are mainly doing this comparative analysis based on the .Net vs .Net core framework performance and checking out the factors affecting their performances at the time of building web applications.

If we talk about .Net, it is one of the best server-side open-source platforms. With .Net, you can utilize multiple languages, editors, and libraries to build desktop or IoT-based applications.

Whereas the .Net core is widely adopted as an answer to the limitations of the .Net

.Net Core is a cross-platform application that works with Windows, Linux, or macOS-based operating systems. 

The fascinating thing about this framework is that it has a solid open source community, so one can expect an extending hand if he is stuck at some point, somewhere.

If we carefully observe the ongoing trend between both versions, both walk on the same tracks, but lately, the .Net core has started growing in terms of popularity in the .Net community in recent times.

.Net core vs .Net framework performance

When numerous resources are on the stack, you are always stuck with the problem of which option would benefit your web applications? Since .Net 3.1 took over with its latest updated features, the performance has significantly increased throughout the years.

If we look at the entire situation here, the overall .Net core has reported excellent performance compared to its .Net. However, there have been minor performance regression errors have been reported in the community with the .Net core 3.1 version compared to .Net 4.8

When the GitHub performance test has been conducted, the test results came something like this, When the .Net core has been triggered, it is using more than 2x CPU speed time.

In another test.Net 4.8 has found rendering speed more than 10-20% than the .Net core application. The regression performance was noted merely a bit slower than the .Net 4.8 version.If we dig deeper into the details, observe this benchmark report of .Net core vs .Net framework performance based on experimental observations.

The compatible test:

.Net Core is quite famous for its compatibility with macOS, Windows and Linux models, and it can work with anything

On the other hand, .Net web development is quite comfortable with Windows operating system, and to cover such flexes, the architecture has been restructured to create the .Net core more convenient and extensive.

.Net framework is ideal to use for any organization when the deployment requirement is for long-term projects.

Microsoft has already shown they have no interest in forbidding such a robust framework .Net to put things together. However, they do intend to limit the new releases in order to limit their complexity.

For those who have already working on .Net, there is no such kind of urgency to migrate to .Net core.

But yes, if someone is entering into this industry and it is their beginning, they definitely have a prominent choice to make here.

Fortunately, there are few good options out there with an expert and skilled .Net and .Net core developer team who knows the Developing industry well especially working in mobile application developing or building progressive web applications.

If you feel like these things are a bit tricky and complex, you can always get the free consultation of a .Net Core Development Company that can optimize your resources while promising the best of class output for your project.

If you have liked this blog and are interested in reading more about it, this blog can be a treat for you!


What is GEEK

Buddha Community

Einar  Hintz

Einar Hintz


jQuery Ajax CRUD in ASP.NET Core MVC with Modal Popup

In this article, we’ll discuss how to use jQuery Ajax for ASP.NET Core MVC CRUD Operations using Bootstrap Modal. With jQuery Ajax, we can make HTTP request to controller action methods without reloading the entire page, like a single page application.

To demonstrate CRUD operations – insert, update, delete and retrieve, the project will be dealing with details of a normal bank transaction. GitHub repository for this demo project :

Sub-topics discussed :

  • Form design for insert and update operation.
  • Display forms in modal popup dialog.
  • Form post using jQuery Ajax.
  • Implement MVC CRUD operations with jQuery Ajax.
  • Loading spinner in .NET Core MVC.
  • Prevent direct access to MVC action method.

Create ASP.NET Core MVC Project

In Visual Studio 2019, Go to File > New > Project (Ctrl + Shift + N).

From new project window, Select Asp.Net Core Web Application_._

Image showing how to create ASP.NET Core Web API project in Visual Studio.

Once you provide the project name and location. Select Web Application(Model-View-Controller) and uncheck HTTPS Configuration. Above steps will create a brand new ASP.NET Core MVC project.

Showing project template selection for .NET Core MVC.

Setup a Database

Let’s create a database for this application using Entity Framework Core. For that we’ve to install corresponding NuGet Packages. Right click on project from solution explorer, select Manage NuGet Packages_,_ From browse tab, install following 3 packages.

Showing list of NuGet Packages for Entity Framework Core

Now let’s define DB model class file – /Models/TransactionModel.cs.

public class TransactionModel
    public int TransactionId { get; set; }

    [Column(TypeName ="nvarchar(12)")]
    [DisplayName("Account Number")]
    [Required(ErrorMessage ="This Field is required.")]
    [MaxLength(12,ErrorMessage ="Maximum 12 characters only")]
    public string AccountNumber { get; set; }

    [Column(TypeName ="nvarchar(100)")]
    [DisplayName("Beneficiary Name")]
    [Required(ErrorMessage = "This Field is required.")]
    public string BeneficiaryName { get; set; }

    [Column(TypeName ="nvarchar(100)")]
    [DisplayName("Bank Name")]
    [Required(ErrorMessage = "This Field is required.")]
    public string BankName { get; set; }

    [Column(TypeName ="nvarchar(11)")]
    [DisplayName("SWIFT Code")]
    [Required(ErrorMessage = "This Field is required.")]
    public string SWIFTCode { get; set; }

    [Required(ErrorMessage = "This Field is required.")]
    public int Amount { get; set; }

    [DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
    public DateTime Date { get; set; }


Here we’ve defined model properties for the transaction with proper validation. Now let’s define  DbContextclass for EF Core. core article core #add loading spinner in core core crud without reloading core jquery ajax form core modal dialog core mvc crud using jquery ajax core mvc with jquery and ajax core popup window #bootstrap modal popup in core mvc. bootstrap modal popup in core #delete and viewall in core #jquery ajax - insert #jquery ajax form post #modal popup dialog in core #no direct access action method #update #validation in modal popup

Hertha  Mayer

Hertha Mayer


Announcing Entity Framework Core (EF Core) 5 RC2

Today, the Entity Framework Core team announces the second release candidate (RC2) of EF Core 5.0. This is a feature complete release candidate of EF Core 5.0 and ships with a “go live” license. You are supported using it in production. This is a great opportunity to start using EF Core 5.0 early while there is still time to fix remaining issues. We’re looking for reports of any remaining critical bugs that should be fixed before the final release.


EF Core 5.0 will not run on .NET Standard 2.0 platforms, including .NET Framework.

How to get EF Core 5.0 Release Candidate 2

EF Core is distributed exclusively as a set of NuGet packages. For example, to add the SQL Server provider to your project, you can use the following command using the dotnet tool:

dotnet add package Microsoft.EntityFrameworkCore.SqlServer --version 5.0.0-rc.2.20475.6 core framework #c# #entity framework #announcement core #entity framework core

Einar  Hintz

Einar Hintz


MVC User Registration & Login with ASP.NET Core Identity

User registration and authentication are mandatory in any application when you have little concern about privacy. Hence all most all application development starts with an authentication module. In this article, we will discuss the quickest way to use **ASP.NET Core Identity for User Login and Registration **in a new or existing MVC application.

Sub-topics discussed :

  • How to add ASP.NET Core Identity to MVC application.
  • Customize ASP.NET Core Identity.
  • Identity.UI Design Customization.
  • Next step.


ASP.NET Core Identity is an API, which provides both user interface(UI) and functions for user authentication, registration, authorization, etc. Modules/ APIs like this will really be helpful and fasten the development process. It comes with ASP.NET Core Framework and used in many applications before. Which makes the API more dependable and trustworthy.

ASP.NET Core MVC with user authentication can easily be accomplished using Identity.UI. While creating the MVC project, you just need to select Authentication as Individual User Accounts.

Showing how to create an MVC application with ASP.NET Core Identity API

The rest will be handled by ASP.NET Core Identity UI. It already contains razor view pages and backend codes for an authentication system. But that’s not what we want in most of the cases. we want to customize ASP.NET Core Identity as per our requirement. That’s what we do here.

Create an ASP.NET Core MVC Project

First of all, I will create a brand new ASP.NET Core MVC application without any authentication selected. We could add ASP.NET Core Identity later into the project.

In Visual Studio 2019, Go to File > New > Project (Ctrl + Shift + N). From new project window, select ASP.NET Core Web Application.

Create an ASP.NET Core Web application

Once you provide the project name and location. A new window will be opened as follows, Select _Web Application(Model-View-Controller), _uncheck _HTTPS Configuration _and DO NOT select any authentication method. Above steps will create a brand new ASP.NET Core MVC project.

Select Model View Controller templet under .NET Core core article core #add core identity to existing project core identity in mvc core mvc login and registration #login and logout in core

Delete role in asp net core identity framework core core mvc #Core core tutorials core with entity framework

AllowAnonymous in core core core mvc #Core core tutorials core with entity framework