C
C#2y 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
Kouhai2y ago
You need to actual run your ASP.NET application
Intrepid
IntrepidOP2y ago
and then do wut?
Pobiega
Pobiega2y 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
IntrepidOP2y ago
There's 2
Pobiega
Pobiega2y ago
one is http, the other is https
Intrepid
IntrepidOP2y ago
doesn't update when i change something in my view
Pobiega
Pobiega2y ago
correct. you'll need to start it with dotnet watch
Intrepid
IntrepidOP2y 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
IntrepidOP2y ago
Pobiega
Pobiega2y ago
no clue, I do not use vs code for C#
Intrepid
IntrepidOP2y ago
what you use
Pobiega
Pobiega2y ago
Rider.
Intrepid
IntrepidOP2y ago
wut
Pobiega
Pobiega2y ago
JetBrains Rider their C# IDE very good. but Visual Studio (not VS code) is fine too
Intrepid
IntrepidOP2y ago
looks like the pycharm oh
Pobiega
Pobiega2y ago
yeah its by the same company
Intrepid
IntrepidOP2y ago
lol ohhh
Pobiega
Pobiega2y ago
and runs on the same "platform"
Intrepid
IntrepidOP2y ago
thanks

Did you find this page helpful?