menu

Build and Launch an ASP.NET Core App from Google Cloud Shell

Go to Lab

37 Reviews

Af31d1ca22145f3431adde19e5f49b9e

KARUPPASAMY G. · Reviewed 3 Monate ago

89f523c3e5a9871a9f6f3f699aa10b01

Yes

Senthil K. · Reviewed 3 Monate ago

9d06468e91598d8161a78b56ec2c80a2

A Perfect Way to Describe the Process... Thank You :)

Saif I. · Reviewed 3 Monate ago

E7fa4f93d58190ca6630d42ef96f7b9d

Amazing

Ali Mustafa S. · Reviewed 3 Monate ago

A75fe4e9cb674ccc6bcec7332ebd6d61

its easy and interesting

Nilesh P. · Reviewed 3 Monate ago

83c89a05c931d6ac62fdc566688607cd

Graeme W. · Reviewed 3 Monate ago

1d2a87f5e6a357f4cfbfe28673c56d2e

Yinlin C. · Reviewed 3 Monate ago

Ac47f464544e9349394f4759faa5f578

I have trouble launching the dotnet command, kept getting permission error.. google84229_student@qwiklabs-gcp-540eaf82ca6cb481:~/HelloPuppyAspNetCore$ dotnet restore 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. Restore completed in 27.65 ms for /home/google84229_student/HelloPuppyAspNetCore/HelloPuppyAspNetCore.csproj. google84229_student@qwiklabs-gcp-540eaf82ca6cb481:~/HelloPuppyAspNetCore$ google84229_student@qwiklabs-gcp-540eaf82ca6cb481:~/HelloPuppyAspNetCore$ dotnet run 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. crit: Microsoft.AspNetCore.Server.Kestrel[0] Unable to start Kestrel. System.InvalidOperationException: HTTPS endpoints can only be configured using KestrelServerOptions.Listen(). at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.<BindAddressAsync>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.<BindAsync>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.<BindAsync>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.<StartAsync>d__21`1.MoveNext() Unhandled Exception: System.InvalidOperationException: HTTPS endpoints can only be configured using KestrelServerOptions.Listen(). at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.<BindAddressAsync>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.<BindAsync>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.<BindAsync>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.<StartAsync>d__21`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Hosting.Internal.WebHost.<StartAsync>d__26.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Hosting.WebHostExtensions.<RunAsync>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Hosting.WebHostExtensions.<RunAsync>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Hosting.WebHostExtensions.Run(IWebHost host) at HelloPuppyAspNetCore.Program.Main(String[] args) in /home/google84229_student/HelloPuppyAspNetCore/Program.cs:line 17

Bo-Huei L. · Reviewed 3 Monate ago

Ac47f464544e9349394f4759faa5f578

Bo-Huei L. · Reviewed 3 Monate ago

899969ea79ed37e169660749ba399ade

Andres L. · Reviewed 3 Monate ago

025fefd3509a9407e269ebde50b55fd8

needs more depth - i.e. how to run the app in docker, app engine, or container engine

Charles R. · Reviewed 4 Monate ago

300e6b8eb9141c62bc788d93441419c5

Egon S. · Reviewed 4 Monate ago