Deploy an ASP.NET Core App to App EngineGo to Lab
The first time I attempted this I got errors when running "gcloud beta app deploy", saying "Cloud Container build is not complete". Tried and failed to find the cause or work through it before the timer ran out. I was initially unable to complete the lab due to that but retook it. things went better the second time
Dear QwikLabs Team, Many Thanks for the ASP.NET Core App deployment Gcloud Lab. Kind Regards Binayaka Mishra
Not able to complete lab timeouts
As Sept 17 2017, the ASP version is 2.0, which i am unable to launch the webserver. I have getting some permission access denied error: google84252_student@qwiklabs-gcp-cdebca8515d6638d:~/HelloWorldAspNetCore$ dotnet new web Welcome to .NET Core! --------------------- Learn more about .NET Core @ https://aka.ms/dotnet-docs. Use dotnet --help to see available commands or go to https://aka.ms/dotnet-cli-docs. Telemetry -------------- The .NET Core tools collect usage data in order to improve your experience. The data is anonymous and does not include command-line arguments. The data is collected by Microsoft and shared with the community. You can opt out of telemetry by setting a DOTNET_CLI_TELEMETRY_OPTOUT environment variable to 1 using your favorite shell. You can read more about .NET Core tools telemetry @ https://aka.ms/dotnet-cli-telemetry. Permission denied to modify the '/opt/dotnet/sdk/NuGetFallbackFolder' folder. Here are some options to fix this error: --------------------- 1. Re-run this command with elevated access. 2. Disabled the first run experience by setting the environment variable DOTNET_SKIP_FIRST_TIME_EXPERIENCE to true. 3. Copy the .NET Core SDK to a non-protected location and use it from there. Getting ready... The template "ASP.NET Core Empty" was created successfully. This template contains technologies from parties other than Microsoft, see https://aka.ms/template-3pn for details. Processing post-creation actions... Running 'dotnet restore' on /home/google84252_student/HelloWorldAspNetCore/HelloWorldAspNetCore.csproj... Permission denied to modify the '/opt/dotnet/sdk/NuGetFallbackFolder' folder. Here are some options to fix this error: --------------------- 1. Re-run this command with elevated access. 2. Disabled the first run experience by setting the environment variable DOTNET_SKIP_FIRST_TIME_EXPERIENCE to true. 3. Copy the .NET Core SDK to a non-protected location and use it from there. Restoring packages for /home/google84252_student/HelloWorldAspNetCore/HelloWorldAspNetCore.csproj... Installing Microsoft.IdentityModel.Logging 1.1.4. Installing System.Collections.Immutable 1.3.0. Installing System.Xml.XmlSerializer 4.0.11. Installing System.Xml.XmlDocument 4.0.1. Installing System.Diagnostics.DiagnosticSource 4.0.0. Installing System.Globalization.Extensions 4.0.1. Installing System.Security.Cryptography.Cng 4.2.0. Installing System.Security.Cryptography.Csp 4.0.0. Installing System.Security.Cryptography.OpenSsl 4.0.0. Installing runtime.native.System.Net.Http 4.0.1. Installing System.Threading.Tasks.Extensions 4.0.0. Installing runtime.native.System.IO.Compression 4.1.0. Installing runtime.native.System 4.0.0. Installing runtime.native.System.Security.Cryptography 4.0.0. Installing System.Buffers 4.0.0. Installing Microsoft.IdentityModel.Tokens 5.1.4. Installing Microsoft.NETCore.App 2.0.0. Installing Microsoft.AspNetCore.All 2.0.0. Installing runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple 4.3.0. ... Generating MSBuild file /home/google84252_student/HelloWorldAspNetCore/obj/HelloWorldAspNetCore.csproj.nuget.g.targets. Restore completed in 45.24 sec for /home/google84252_student/HelloWorldAspNetCore/HelloWorldAspNetCore.csproj. Restore succeeded.