C
C#9mo ago
bert

❔ Asp.NET Core Controller and View Problem

When i click right i'm looking like that. But i don't want this. When i watch video, his right-click is not like that. How i fix that?
No description
27 Replies
bert
bert9mo ago
I'm using macos btw
SG97
SG979mo ago
well, how do you expect it to look "his right-click is not like that" doesn't really tell much
bert
bert9mo ago
No description
bert
bert9mo ago
his right click
SG97
SG979mo ago
to me, that looks like Visual Studio
bert
bert9mo ago
my visual studio too
SG97
SG979mo ago
so you're on Visual Studio fo Mac?
bert
bert9mo ago
yeah
SG97
SG979mo ago
VS for Mac is different to VS for Windows (I think)
bert
bert9mo ago
yeah sure but he add view for his controller but i can't i tried write but i can't do this
SG97
SG979mo ago
can't you just add a (Razor?) view by hand? instead of using that Add View.. context menu
bert
bert9mo ago
i'm new to Asp.NET and visual studio i was write JS, HTML, CSS etc. but i'm new here
SG97
SG979mo ago
assuming it's this
bert
bert9mo ago
i tried this doesn't work
SG97
SG979mo ago
what do you mean doesn't work
bert
bert9mo ago
i think the problem is me if you come vc i will show you
SG97
SG979mo ago
this part doesn't work?
No description
SG97
SG979mo ago
no need for vc, as I've never used a Mac
bert
bert9mo ago
document say "Creating like that (there are h1, c# block)" but when i click create i'm seeing empty file
SG97
SG979mo ago
can you add to the the title or tabs Visual Studio for Mac maybe someone with the same setup can help better
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Iron
Iron9mo ago
Does hes controller look like yours when he create it?
bert
bert9mo ago
no
Iron
Iron9mo ago
Are you creating a controller as template or just adding a new file ? You can add empty controllers , but you can also add controllers with read and write actions etc
bert
bert9mo ago
i fixed, thank you
Accord
Accord9mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.