Skip to content

Instantly share code, notes, and snippets.

View ebicoglu's full-sized avatar
:octocat:
Full stack developer

Alper Ebiçoğlu ebicoglu

:octocat:
Full stack developer
View GitHub Profile
@ebicoglu
ebicoglu / abp-performance-test.md
Last active August 17, 2022 08:41
Performance test result for the ABP Framework

ABP Framework Performance Test Results

In this post, you will find the comparison table of the ABP Framework and the raw ASP.NET Framework throughput performance. For this test, we have created 2 Visual Studio test projects:

@ebicoglu
ebicoglu / github-personal-access-token-validate.md
Created April 18, 2022 21:08
How to check if a GitHub Personal Access Token is valid
@ebicoglu
ebicoglu / Upgrade-To-NET6.md
Last active September 17, 2021 10:12
Upgrade from .NET5 to .NET6

Upgrade to .NET6-rc.1

1- Install the new .NET SDK to your development computer. 2- Install the new .NET Runtime to your production server. 3- Update Dockerfile in each website.

Remove:

FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base
@ebicoglu
ebicoglu / Add a new microservice project.md
Last active June 17, 2021 09:15
How to add a new microservice to your ABP microservice solution?

This is a GitHub changeset that shows how to add a new microservice to your ABP Commercial microservice solution. I'll add a new microservice called OrderService to a new microservice solution.

First of all, there's an official document guiding these steps:

https://docs.abp.io/en/commercial/latest/startup-templates/microservice/add-microservice

Create a new microservice project in your solution:

Run the following command in the root directory of your solution where your main .sln file exists.

@ebicoglu
ebicoglu / Default.cshtml
Last active July 20, 2021 01:59
Customizing ABP Commercial register page (MVC)
@using Microsoft.Extensions.Localization
@using Microsoft.Extensions.Options
@using Volo.Abp.AspNetCore.MultiTenancy
@using Volo.Abp.AspNetCore.Mvc.AntiForgery
@using Volo.Abp.AspNetCore.Mvc.UI.Components.LayoutHook
@using Volo.Abp.AspNetCore.Mvc.UI.Layout
@using Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.Localization
@using Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Bundling
@using Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Themes.Lepton.Components.Content.Alerts
@using Volo.Abp.Ui.Branding
@ebicoglu
ebicoglu / BookStoreTenantDatabaseMigrationHandler.cs
Last active February 2, 2023 19:17
New migration handler that came in v4.3.0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Volo.Abp.Data;
using Volo.Abp.DependencyInjection;
using Volo.Abp.EventBus.Distributed;
using Volo.Abp.Identity;
using Volo.Abp.MultiTenancy;
@ebicoglu
ebicoglu / update-abp-cli-tools-preview.ps1
Last active April 2, 2021 07:37
Updates ABP CLI and ABP Suite to the latest version (including previews)
Set-PSDebug -Trace 0
$packageName = "volo.abp.cli"
$output = dotnet tool search $packageName --prerelease --take 1
$outputString = ("" + $output)
$indexOfVersionLine = $outputString.IndexOf($packageName)
$latestVersion = $outputString.substring($indexOfVersionLine + $packageName.length).trim().split(" ")[0].trim()
Write-Host "Updating "$packageName" to" $latestVersion
@ebicoglu
ebicoglu / Module Structure.md
Created March 16, 2021 12:22
Project descriptions

image

@ebicoglu
ebicoglu / INotificationClient.cs
Last active March 29, 2021 14:55
SignalR Notification
using System.Threading.Tasks;
public interface INotificationClient
{
Task ReceiveNotificationMessage(string message);
}