dotnet / core

.NET news, announcements, release notes, and more!
https://dot.net
MIT License
20.97k stars 4.91k forks source link

localhost:5000 doesn't work #4759

Open trukker41 opened 4 years ago

trukker41 commented 4 years ago

Problem encountered on https://dotnet.microsoft.com/learn/aspnet/hello-world-tutorial/run Operating System: windows

Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

GrabYourPitchforks commented 4 years ago

Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

trukker41 commented 4 years ago

Hi Levi, Thanks for responding so quickly. My OS is : Windows 10 Home Version 1909 OS Build18363/386 VFP 9 SP2 VERSION 4273 One of the problems is that I get no Error messages. I first run this: CLEAR CLEAR ALL IF NOT "westwind" $ lower(SET("path")) SET PATH to "c:\westwind" additive ENDIF

LOCAL loBridge as wwDotnetBridge, loHttp DO wwclient.app ! loHttp = CREATEOBJECT("wwHttp") ! lcHtml = loHttp.HttpGet("https://microsoft.com")

loBridge = CREATEOBJECT("wwDotnetBridge") ? VARTYPE(loBridge&& RETURNS “O” ? loBridge.GetDotnetVersion()&& RETURNS 4.8

I SUBSEQUENTLY run this: clear

! *** Create a built-in .NET class and run a method loHttp = loBridge.CreateInstance("System.Net.WebClient") ? VARTYPE(loHttp)

! loHttp.DownloadFile("http://west-wind.com/ files/MarkdownMonsterSetup.exe", "MarkdownMonsterSetup.exe") ! DO wwUtils ! GoUrl(FULLPATH("MarkdownMonsterSetup.exe")) && run it

! loBridge.InvokeMethod ! ?This doesn't work cApp = "c:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\3.1.4\; System.Numerics.dll" PUBLIC oApp oApp = loBridge.loadAssembly(cApp) ! RETURNS .T. IF oApp ? "Success" else ? loBridge.CERRORMSG ENDIF

v1 = 2.0 v2 = 3.0

PUBLIC oNum oNum = loBridge.createInstance( "System.Numerics.Complex",v1,v2)

! oNum is .T. NOT A Complex structure * As I said, no errors are reported, but I do not get a complex object back. In .NET C#, issuing using System.Numerics; Works perfectly. Grateful for any advice.

Laurie Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10 From: Levi Broderickmailto:notifications@github.com Sent: 31 May 2020 00:17 To: dotnet/coremailto:core@noreply.github.com Cc: trukker41mailto:lalveyjarkin97@outlook.com; Authormailto:author@noreply.github.com Subject: Re: [dotnet/core] localhost:5000 doesn't work (#4759)

Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdotnet%2Fcore%2Fissues%2F4759%23issuecomment-636397046&data=02%7C01%7C%7C732f94965bd14a3cf41108d804efa110%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637264774528240681&sdata=XlGhd%2BBCf5223HKWNimSlRblsm05B1gDjwfxN9BCWBg%3D&reserved=0, or unsubscribehttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALP2QLUKE554LXGNFGERQALRUGHYVANCNFSM4NODA4IQ&data=02%7C01%7C%7C732f94965bd14a3cf41108d804efa110%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637264774528240681&sdata=%2FY9FMRuvR8I1RlEqwxwB0dagM8%2F2ItpEvcDvaAfeZak%3D&reserved=0.