Base solution for your next web application

Activities of "johnmalone"

I am following the instructions in the .NET Maui Development Guide.

At the debugging step, I am getting "Access Denied" when starting the Web.Host project in any of the 3 ways mentioned in the instructions.

Debugging Host To start debugging MAUI app you need to configure host settings. You can use Web.Host to feed the MAUI app. Open Windows Command Prompt. Go to the folder where your Web.Host csproj file is located. Then run the command below to start hosting your Web API:

dotnet run --launch-profile Mobile Bash This will start the Web.Host project from the address "https://0.0.0.0:44301" which enables to access it from external networks.

Alternatively, there's start-host-mobile.bat file in your Web.Host directory which does the same for Windows users.

Warning

If you want to start Web.Host from Visual Studio, set Web.Host as startup project and choose the Mobile profile.


Here is the error I am getting:

C:\Source\MAUI Portal\src\Allworth.Portal.Web.Host>start-host-mobile.bat Unhandled exception: System.ComponentModel.Win32Exception (5): An error occurred trying to start process 'C:\Source\MAUI Portal\src\Allworth.Portal.Web.Host\bin\Debug\net7.0\Allworth.Portal.Web.Host.exe' with working directory 'C:\Source\MAUI Portal\src\Allworth.Portal.Web.Host'. Access is denied. at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at Microsoft.DotNet.Cli.Utils.Command.Execute(Action`1 processStarted) at Microsoft.DotNet.Tools.Run.RunCommand.Execute() at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<

This does not appear to be a Windows file permissions error or a file blocked by Windows.

Can anyone help me get past this error?

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version?
  • What is your product type (Angular or MVC)? MVC
  • What is product framework type (.net framework or .net core)? CORE

I am using VUE JS with ASP.NET Zero. I am having an issue with making AJAX calls from VUE before the dynamic proxies are downloaded, therefore getting undefined object errors.

Can I create static javascript proxies? If so, how?

Showing 1 to 2 of 2 entries