Today when I tried to deploy my new ASP.NET CORE 2 app to SmarterASP.NET, the deployment failed with a message
Web deployment task failed. (Connected to the remote computer ("xxxxxxxxx") using the specified process ("Web Management Service"), but could not verify the server’s certificate. If you trust the server, connect again and allow untrusted certificates.
I got the publish profile from the SmarterASP.NET control panel and when I opened the PublishSettings using VS Code, it had AllowUntrustedCertificate="True" which I imported to the project but when I checked the Publish Profile under my project ( Project > Properties > xxx.pubxml), there was no entry of AllowUntrustedCertificate.
So, in order to fix the issue, inside PropertyGroup just added
That solved the issue with web deploy.
About the author
Here I am listing the problems that I faced during mobile app development using Xamarin (Now focused on Xamarin Forms) and the solutions that worked for me.
If you are having trouble to see the newly created (remote) git branches in the Visual Studio Team Explorer, try the workaround provided in this article.
Things you can try to solve the random crashes of Visual Studio.
Need a font family with a great monospaced variant for programmers? Find the best here.
List of extensions which improves default experience of Visual Studio 2010