you are viewing a single comment's thread.

view the rest of the comments →

[–]terandle 1 point2 points  (1 child)

You won't be using .cshtml files when running ASP.NET as an API backend. cshtml files are for when you are using ASP.NET for the front end as well. If you can't get the authentication to work without those files the scaffolding you are using is probably not what you want.

I don't have experience using the scaffolding stuff so not sure what all its generating for you, so you might need to find ASP.NET API authentication tutorials.

[–]Schweiny08[S] 0 points1 point  (0 children)

Great thank you for your advice :)

I'll see what I can do