0

I have installed Jetbrains Rider and created an ASP.NET Project, but I can't find the behind code of web page.aspx any help?

Rider screenshot: Rider

Visual Studio screenshot: Visual Studio

Seemon
  • 11
  • 1
  • 3

1 Answers1

1

The way I've found to add the code behind is go into the top level form file, place your cursor in the first line, and then click the hammer icon. One of the options will be to create a code behind file. Unsure if there's a less hinky way.

https://i.stack.imgur.com/bYsGJ.jpg

enter image description here

jslowik
  • 151
  • 2
  • 12
  • Thank you for your reply, I have updated my post and added two different screenshots from rider and visual studio. You are right, in rider the file by default is Razor view, but I can add my own page form (aspx) there's a way to access the behind code? If it doesn't work, how can I do it in Razor view? – Seemon Sep 16 '19 at 20:40
  • Updated the answer to reflect a workaround I discovered to at least get the code behind file created (and update the form). Is that useful at all? I personally stopped working with that before I switched to Rider, so apologies for not being more helpful. – jslowik Sep 17 '19 at 21:21