YourMajesty
YourMajesty
CC#
Created by YourMajesty on 1/23/2025 in #help
Stylesheets
<link rel="stylesheet" href="~/ProjectName.style.css" asp-append-version="true" /> Hello, there, can someone please explain me what this link is refering to. I used search across my whole project and there is no file with such name. I even checked for hiden files. Also when I launch an app and inspect a page on Chrome it will show me that this file was loaded and will show its contents(some css obv). It comes by default with MVC template in _Layout.cshtml file
8 replies
CC#
Created by YourMajesty on 1/20/2025 in #help
MVC vs Razor Pages
Hello guys, I am currently learning .NET and web dev in general. And I've seen there are at least 2 ways to build and app. Using MVC or Razor pages. As far as I understand these 2 are just the way you organise your app, it's structure and they are pretty similar. Razor pages app actually looks like simplified MVC app. So my question is which is more commonly used nowadays and which is "better"( if you can say one is)?
10 replies