diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index db6e891..03509ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,6 +12,6 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: - dotnet-version: 7.0.305 + dotnet-version: 7.0.306 - name: Build DNTIdentity run: dotnet build ./src/ASPNETCoreIdentitySample/ASPNETCoreIdentitySample.csproj --configuration Release \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index cf921df..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - // Use IntelliSense to find out which attributes exist for C# debugging - // Use hover for the description of the existing attributes - // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md - "version": "0.2.0", - "configurations": [ - { - "name": ".NET Core Launch (web)", - "type": "coreclr", - "request": "launch", - "preLaunchTask": "build", - // If you have changed target frameworks, make sure to update the program path. - "program": "${workspaceRoot}/src/ASPNETCoreIdentitySample/bin/Debug/net7.0/ASPNETCoreIdentitySample.dll", - "args": [], - "cwd": "${workspaceRoot}/src/ASPNETCoreIdentitySample", - "stopAtEntry": false, - "internalConsoleOptions": "openOnSessionStart", - "launchBrowser": { - "enabled": true, - "args": "${auto-detect-url}", - "windows": { - "command": "cmd.exe", - "args": "/C start ${auto-detect-url}" - }, - "osx": { - "command": "open" - }, - "linux": { - "command": "xdg-open" - } - }, - "env": { - "ASPNETCORE_ENVIRONMENT": "Development" - }, - "sourceFileMap": { - "/Views": "${workspaceRoot}/Views" - } - }, - { - "name": ".NET Core Attach", - "type": "coreclr", - "request": "attach", - "processId": "${command:pickProcess}" - } - ] -} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json deleted file mode 100644 index 371dae1..0000000 --- a/.vscode/tasks.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": "2.0.0", - "command": "dotnet", - "args": [], - "tasks": [ - { - "label": "build", - "type": "shell", - "command": "dotnet", - "args": [ - "build", - "${workspaceRoot}/src/ASPNETCoreIdentitySample/ASPNETCoreIdentitySample.csproj" - ], - "problemMatcher": "$msCompile", - "group": "build" - } - ] -} \ No newline at end of file diff --git a/Directory.Packages.props b/Directory.Packages.props index de6b34f..7dc7f67 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,21 +1,21 @@ - - + + - + - + - - - + + + - + @@ -30,12 +30,12 @@ - - - + + + - + \ No newline at end of file diff --git a/README.md b/README.md index 908e846..3e5e40e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ 
-# سفارشی سازی ASP.NET Core Identity SDK-7.0.305 +# سفارشی سازی ASP.NET Core Identity SDK-7.0.306

diff --git a/global.json b/global.json index d70f609..96bb7ac 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "7.0.305", + "version": "7.0.306", "rollForward": "latestMajor", "allowPrerelease": false } diff --git a/src/ASPNETCoreIdentitySample/Program.cs b/src/ASPNETCoreIdentitySample/Program.cs index 938f2dc..3c52138 100644 --- a/src/ASPNETCoreIdentitySample/Program.cs +++ b/src/ASPNETCoreIdentitySample/Program.cs @@ -73,6 +73,7 @@ void ConfigureMiddlewares(IApplicationBuilder app, IHostEnvironment env) app.UseStaticFiles(); app.UseRouting(); + app.UseRateLimiter(); app.UseAuthentication(); app.UseAuthorization();