Dmitry Sikorsky

Blog

ASP.NET Core Culture Route Parameter

This time we will see how to setup the MVC routing system to get culture as the URL segment:

ASP.NET Core Culture Route Parameter

Tuesday, December 05, 2017 by Dmitry Sikorsky

ASP.NET Core Performance Tuning

Today we have a very interesting topic to discuss. We will discover and test how different decisions, solutions, and approaches affect the ASP.NET Core web applications performance. We will talk about small and simple things that sometimes are forgotten (and will measure their impact). A huge amount of computing resources is wasted again and again due to unnecessary operations and suboptimal algorithms, and our web applications work much slower than they could. Let’s see what we can do.

ASP.NET Core Performance Tuning

Thursday, November 30, 2017 by Dmitry Sikorsky

Simple Website Based on ASP.NET Core and Platformus CMS in 5 Minutes

Today we are going to create simple website you can use as your personal one using the Platformus CMS (it is based on ASP.NET Core and ExtCore framework). You even don’t have to be a developer, we will not write any code for now. The resulting website (that can run on the different platforms, even without standalone web server) will look like this:

Simple Website Based on ASP.NET Core and Platformus CMS in 5 Minutes

Monday, September 25, 2017 by Dmitry Sikorsky

Entity Framework Core: Count by SQL Query

Time after time, using Entity Framework Core, we might need to execute raw SQL query to count something in our database (or to use other aggregation function). And while using raw SQL queries to select entities is simple, executing aggregation function is a bit more complicated and needs some “low level” classes, like SqlConnection, SqlCommand, and DbDataReader (class names are a bit different for the different databases, these ones are for the SQL Server).

Friday, August 25, 2017 by Dmitry Sikorsky

ASP.NET Core Custom User Manager

In some reason, you might want to avoid using standard Identity package to work with users, roles, permissions etc. I had 2 reasons:

That’s why I decided to write my own. But I had to replace only user/role/permission management, while the standard ASP.NET Core sign in/sign out features had to be still in use.

We will write simple web application that will have its own user manager to validate, sign in (using the standard ASP.NET Core implementation), and sign out users. It will use SQLite database to store related information and Entity Framework as the ORM, but it is easy to replace it with any other storage and ORM you want:

ASP.NET Core custom user manager

Tuesday, August 01, 2017 by Dmitry Sikorsky

Modular and Extendable Web Application on ASP.NET Core From Scratch Using ExtCore Framework

Today we are going to create small accounting web application which will consist of 4 extensions: Barebone, Incomes, Expenses, and Balance. UI and data model will be also modular. The result will look like this:

Modular and extendable web application on ASP.NET Core from scratch using ExtCore framework

Sunday, June 25, 2017 by Dmitry Sikorsky

ASP.NET Core Custom Drop Down List

Today we will create relatively complicated ASP.NET Core tag helper. It will be a custom drop down list with both server side and client side logic. The result will look like this:

ASP.NET Core custom drop down list

Monday, May 15, 2017 by Dmitry Sikorsky

ASP.NET Core Sample Image Resizing Service

This time I want to show how easy it is to use CoreCompat.System.Drawing image processing package to crop the images in ASP.NET Core. We will create simple web application with the only one controller and action. This action will download the source image, crop it using the given parameters, and write resulting image to the response stream.

ASP.NET Core Sample Image Resizing Service

Tuesday, April 25, 2017 by Dmitry Sikorsky

ASP.NET Core Web Application with Modular UI Using the ExtCore Framework

We are going to show how simple it is to create a web application with modular (built from the parts from the different modules and extensions) user interface using the ExtCore framework:

ASP.NET Core Web Application with Modular UI Using the ExtCore Framework

Wednesday, March 01, 2017 by Dmitry Sikorsky

File Uploading with Progress Bar in ASP.NET Core

This is clear and simple example that demonstrates how to upload files in ASP.NET Core with a progress bar without using any third-party client side technology (like Flash):

File Uploading with Progress Bar in ASP.NET Core

Wednesday, February 01, 2017 by Dmitry Sikorsky