I am using visual studio 2022.
not show cshtml file in add new item in visual studio.
i am add mvc and razor and not show cshtml file or javascript file in add new item.

Make sure you choose to install the ".NET Framework project and item templates":

Select the ‘Web’ section in the menu sidebar. It (All installed razor controls) should be there if razor is installed.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With