This commit is contained in:
35
.vscode/launch.json
vendored
35
.vscode/launch.json
vendored
@@ -16,20 +16,27 @@
|
|||||||
"cwd": "${workspaceFolder}/server/AyaNova",
|
"cwd": "${workspaceFolder}/server/AyaNova",
|
||||||
"stopAtEntry": false,
|
"stopAtEntry": false,
|
||||||
"internalConsoleOptions": "openOnSessionStart",
|
"internalConsoleOptions": "openOnSessionStart",
|
||||||
"launchBrowser": {
|
// Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
|
||||||
"enabled": true,
|
//this needs to be tweaked probably
|
||||||
"args": "${auto-detect-url}/api/v8/",
|
//https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#starting-a-web-browser
|
||||||
"windows": {
|
"serverReadyAction": {
|
||||||
"command": "cmd.exe",
|
"action": "openExternally",
|
||||||
"args": "/C start http://localhost:7575/api/v8/"
|
"pattern": "^\\s*Now listening on:\\s+(https?://\\S+)"
|
||||||
},
|
},
|
||||||
"osx": {
|
// "launchBrowser": {
|
||||||
"command": "open"
|
// "enabled": true,
|
||||||
},
|
// "args": "${auto-detect-url}/api/v8/",
|
||||||
"linux": {
|
// "windows": {
|
||||||
"command": "xdg-open"
|
// "command": "cmd.exe",
|
||||||
}
|
// "args": "/C start http://localhost:7575/api/v8/"
|
||||||
},
|
// },
|
||||||
|
// "osx": {
|
||||||
|
// "command": "open"
|
||||||
|
// },
|
||||||
|
// "linux": {
|
||||||
|
// "command": "xdg-open"
|
||||||
|
// }
|
||||||
|
// },
|
||||||
"env": {
|
"env": {
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||||
"AYANOVA_JWT_SECRET": "UNLICENSED5G*QQJ8#bQ7$Xr_@sXfHq4",
|
"AYANOVA_JWT_SECRET": "UNLICENSED5G*QQJ8#bQ7$Xr_@sXfHq4",
|
||||||
|
|||||||
@@ -16,7 +16,11 @@ UPDATE all the things before commencing work
|
|||||||
- Find and read changes for 3.1 dotnet core and Note that that above is for v2.2 my controllers appear to date from the v1 .net core era and I will need to then move them to the .netcore 3.1 era changes
|
- Find and read changes for 3.1 dotnet core and Note that that above is for v2.2 my controllers appear to date from the v1 .net core era and I will need to then move them to the .netcore 3.1 era changes
|
||||||
- This is important and worth doing to make sure everything will work going forward (the swashbuckle [apicontroller] attribute debacle is proof of this)
|
- This is important and worth doing to make sure everything will work going forward (the swashbuckle [apicontroller] attribute debacle is proof of this)
|
||||||
|
|
||||||
- Should not process jobs during boot, maybe serverstate=booting would be useful here?
|
- Make the browser launch again, s
|
||||||
|
- 2019-10-22 15:43:22.6844|INFO|Seeder|SEEDER: Seed data level - SmallOneManShopTrialDataSet, timeZoneOffset - -7
|
||||||
|
- Add automated test to retrieve a manual page to ensure it's working
|
||||||
|
- Add automated test to retrieve metrics to know it's working
|
||||||
|
- Add automated test to retrieve apiroot page to know it's working
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------------------------------
|
||||||
Need a sprint to get to a fully testable client with entry form, list and as much as possible all features from COMMON-* specs list
|
Need a sprint to get to a fully testable client with entry form, list and as much as possible all features from COMMON-* specs list
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ namespace AyaNova
|
|||||||
#region Initialize Logging
|
#region Initialize Logging
|
||||||
//NOTE: there is a logging issue that breaks all this with .net 3.1 hostbuilder vs webhostbuilder but webhostbuilder will be deprecated so we need to work around it
|
//NOTE: there is a logging issue that breaks all this with .net 3.1 hostbuilder vs webhostbuilder but webhostbuilder will be deprecated so we need to work around it
|
||||||
//the discussion about that is here: https://github.com/aspnet/AspNetCore/issues/9337
|
//the discussion about that is here: https://github.com/aspnet/AspNetCore/issues/9337
|
||||||
|
//I think I worked around it
|
||||||
|
|
||||||
//NLOG OFFICIAL GUIDELINES FOR .net core 3.x https://github.com/NLog/NLog/wiki/Getting-started-with-ASP.NET-Core-3
|
//NLOG OFFICIAL GUIDELINES FOR .net core 3.x https://github.com/NLog/NLog/wiki/Getting-started-with-ASP.NET-Core-3
|
||||||
|
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ namespace AyaNova
|
|||||||
|
|
||||||
private readonly ILogger _newLog;
|
private readonly ILogger _newLog;
|
||||||
|
|
||||||
private readonly ILogger<Startup>x_log;
|
// private readonly ILogger<Startup>x_log;
|
||||||
private string _connectionString = "";
|
private string _connectionString = "";
|
||||||
private readonly Microsoft.AspNetCore.Hosting.IWebHostEnvironment _hostingEnvironment;
|
private readonly Microsoft.AspNetCore.Hosting.IWebHostEnvironment _hostingEnvironment;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user