Tuesday, March 15, 2022

linux vscode dotnet6

how to create webservice with dotnet

dotnet new webapi -o MyMicroservice --no-https -f net6.0

I was getting error below in linux mint 

"The SDK 'Microsoft.NET.SDK.WorkloadAutoImportPropsLocator  specified could not be found.  /snap/dotnet-sdk/current/sdk/6 Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.props"

and solution is https://stackoverflow.com/a/70871704/175554

how it looks 

vscode in linux mint

odd string diff

 https://leetcode.com/problems/odd-string-difference/ Beats 19.92% of users with Java   class Solution { public String oddString ( S...