update sample dotnet to version6

master
Xuanye Wong 1 year ago
parent 29965eb4f2
commit 727232a743
  1. 13
      samples/ASPNetCoreExecutor/.config/dotnet-tools.json
  2. 2
      samples/ASPNetCoreExecutor/ASPNetCoreExecutor.csproj
  3. 23
      samples/ASPNetCoreExecutor/Properties/PublishProfiles/FolderProfile.pubxml
  4. 17
      samples/ASPNetCoreExecutor/Properties/launchSettings.json
  5. 5
      samples/ASPNetCoreExecutor/appsettings.json

@ -0,0 +1,13 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-ef": {
"version": "8.0.7",
"commands": [
"dotnet-ef"
],
"rollForward": false
}
}
}

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<DeleteExistingFiles>true</DeleteExistingFiles>
<ExcludeApp_Data>false</ExcludeApp_Data>
<LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<PublishProvider>FileSystem</PublishProvider>
<PublishUrl>bin\Release\net6.0\publish\</PublishUrl>
<WebPublishMethod>FileSystem</WebPublishMethod>
<_TargetId>Folder</_TargetId>
<SiteUrlToLaunchAfterPublish />
<TargetFramework>net6.0</TargetFramework>
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
<PublishSingleFile>true</PublishSingleFile>
<ProjectGuid>dc9e5af3-18ff-4713-bdb4-672e47ada4e5</ProjectGuid>
<SelfContained>false</SelfContained>
</PropertyGroup>
</Project>

@ -1,27 +1,12 @@
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:60087/",
"sslPort": 0
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"ASPNetCoreExecutor": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "http://localhost:5000/"
"applicationUrl": "http://localhost:6662/"
}
}
}

@ -5,13 +5,12 @@
}
},
"xxlJob": {
"adminAddresses": "http://127.0.0.1:8080/xxl-job-admin",
"adminAddresses": "https://jobs.xuanye.wang/xxl-job-admin",
"appName": "xxl-job-executor-dotnet",
"specialBindAddress": "127.0.0.1",
"port": 5000,
"port": 6662,
"autoRegistry": true,
"accessToken": "",
"logRetentionDays": 30
}
}
Loading…
Cancel
Save