C
C#10mo ago
0x05962

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