C
C#17mo ago
Intrepid

displaying asp.net website with live server

So right now it works but it shows all my directories of the client but i want to show the page itself and I'm also using webext which I found from a github but still not showing my actual view
19 Replies
Kouhai
Kouhai17mo ago
You need to actual run your ASP.NET application
Intrepid
IntrepidOP17mo ago
and then do wut?
Pobiega
Pobiega17mo ago
Visit it with a browser. Asp.net doesn't work the same way html/CSS does, you can't just use a live server plugin for vscode Asp.net contains it's own webserver called Kestrel, so just run your program and look at the output, it should say what URL it's listening on
Intrepid
IntrepidOP17mo ago
There's 2
Pobiega
Pobiega17mo ago
one is http, the other is https
Intrepid
IntrepidOP17mo ago
doesn't update when i change something in my view
Pobiega
Pobiega17mo ago
correct. you'll need to start it with dotnet watch
Intrepid
IntrepidOP17mo ago
wait so uh i don't need live server? that's huge bruh ty bro i got one last question how can i make it added onto here
Intrepid
IntrepidOP17mo ago
Pobiega
Pobiega17mo ago
no clue, I do not use vs code for C#
Intrepid
IntrepidOP17mo ago
what you use
Pobiega
Pobiega17mo ago
Rider.
Intrepid
IntrepidOP17mo ago
wut
Pobiega
Pobiega17mo ago
JetBrains Rider their C# IDE very good. but Visual Studio (not VS code) is fine too
Intrepid
IntrepidOP17mo ago
looks like the pycharm oh
Pobiega
Pobiega17mo ago
yeah its by the same company
Intrepid
IntrepidOP17mo ago
lol ohhh
Pobiega
Pobiega17mo ago
and runs on the same "platform"
Intrepid
IntrepidOP17mo ago
thanks

Did you find this page helpful?