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