1
0
Форкнуть 0

Remove Activate link on subscriptions page

This commit is contained in:
Ercenk Keresteci 2021-04-07 11:20:03 -10:00
Родитель 89c489901d
Коммит 6619d84aa0
4 изменённых файлов: 80 добавлений и 2 удалений

36
.vscode/launch.json поставляемый Normal file
Просмотреть файл

@ -0,0 +1,36 @@
{
"version": "0.2.0",
"configurations": [
{
// 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
"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": "${workspaceFolder}/src/CommandCenter/bin/Debug/net5.0/CommandCenter.dll",
"args": [],
"cwd": "${workspaceFolder}/src/CommandCenter",
"stopAtEntry": false,
// Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
"serverReadyAction": {
"action": "openExternally",
"pattern": "\\\\bNow listening on:\\\\s+(https?://\\\\S+)"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
}
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}

42
.vscode/tasks.json поставляемый Normal file
Просмотреть файл

@ -0,0 +1,42 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/src/CommandCenter/CommandCenter.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/src/CommandCenter/CommandCenter.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"${workspaceFolder}/src/CommandCenter/CommandCenter.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
}
]
}

Просмотреть файл

@ -23,7 +23,7 @@
<ItemGroup>
<PackageReference Include="Azure.Storage.Queues" Version="12.6.0" />
<PackageReference Include="Ercenk.Microsoft.Marketplace" Version="1.0.0-preview4" />
<PackageReference Include="Ercenk.Microsoft.Marketplace" Version="1.0.0-preview5" />
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="5.0.4" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="5.0.4" />
<PackageReference Include="Microsoft.Azure.Cosmos.Table" Version="1.0.8" />

Просмотреть файл

@ -22,7 +22,7 @@ namespace CommandCenter.Models
{
if (this.State == SubscriptionStatusEnum.PendingFulfillmentStart)
{
return new List<ActionsEnum> { ActionsEnum.Activate };
return new List<ActionsEnum>();
}
if (this.State == SubscriptionStatusEnum.Subscribed)