This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dotnet --list-runtimes | |
dotnet --list-sdks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Update-Database -Script -SourceMigration: <pointFromWichYouWantToStartWithGeneration> -TargetMigration: <pointWhereToEndWithGeneration> | |
Update-Database -Script -SourceMigration: $InitialDatabase | |
Script-Migration -From <PreviousMigration> -To <LastMigration> //trying this and work | |
Script-Migration -From <PreviousMigration> | |
Script-Migration -From add-parent-id-to-contract |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace GetPropertyFromObject | |
{ | |
public class Class1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in abp 7 Error | |
A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.) | |
open in run MMC | |
SQL Server 2022 C:\Windows\SysWOW64\SQLServerManager16.msc | |
SQL Server 2019 C:\Windows\SysWOW64\SQLServerManager15.msc | |
SQL Server 2017 C:\Windows\SysWOW64\SQLServerManager14.msc | |
SQL Server 2016 C:\Windows\SysWOW64\SQLServerManager13.msc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<PackageReference Include="Hashids.net" Version="1.4.1" /> | |
using HashidsNet; | |
var hashids = new Hashids("this is my salt"); | |
Console.WriteLine(hashids.Encode(1)); | |
Console.WriteLine(hashids.Encode(11)); | |
Console.WriteLine(hashids.Encode(111)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
sys.columns.name AS ColumnName, | |
tables.name AS TableName | |
FROM | |
sys.columns | |
JOIN sys.tables ON | |
sys.columns.object_id = tables.object_id | |
WHERE | |
sys.tables.name LIKE 'App%' | |
and sys.columns.name not in (N'CreationTime', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aria-autocomplete="both" aria-haspopup="false" autocapitalize="off" autocomplete="off" autocorrect="off" autofocus="" role="combobox" spellcheck="false" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Quartz; | |
using Quartz.Impl; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
namespace HFZMVC.Jobs | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ng g c /register/Register -is --skip-tests --flat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const routes: Routes = [{ path: '', component: AbpBooksComponent,canActivate: [AuthGuard, PermissionGuard] }]; |