✅ ASP.NET open project

im trying to open ASP.net web project and it only show me asp.net web project with razor pages idk if i downloaded smth wrong or smth
No description
51 Replies
Angius
Angius4mo ago
This is a list of templates, to create a new project If you want to open an existing project, double-clicking the .sln or .csproj file will usually do it
Biton6The9Gever
Biton6The9Gever4mo ago
like im asking in genral if some0one had the same problem as me
Angius
Angius4mo ago
What is the problem though? The menu in the screenshot lets you create a new project
Biton6The9Gever
Biton6The9Gever4mo ago
u remmber we talk in web
Angius
Angius4mo ago
Yes
Biton6The9Gever
Biton6The9Gever4mo ago
and it only show me the razor pages and not the empty one
Brainiac V
Brainiac V4mo ago
There is literally the empty template in the list?
Angius
Angius4mo ago
Why do you want a completely empty ASP.NET project?
Biton6The9Gever
Biton6The9Gever4mo ago
not core empty
Brainiac V
Brainiac V4mo ago
I don't know what you want, sorry
Biton6The9Gever
Biton6The9Gever4mo ago
like core Web App w/o the razor stuff
Angius
Angius4mo ago
Like, an API?
Brainiac V
Brainiac V4mo ago
You talk about opening a project and show us a list from creating projects
Angius
Angius4mo ago
If so, then pick the Web API project That will contain just the bare minimum, no Razor
Biton6The9Gever
Biton6The9Gever4mo ago
like this pic donw there
No description
Brainiac V
Brainiac V4mo ago
There is no empty project on this list even what's the purpose?
Biton6The9Gever
Biton6The9Gever4mo ago
not empty empty like core web app without the razor stuff idk whats razor
Brainiac V
Brainiac V4mo ago
A templating engine.
Biton6The9Gever
Biton6The9Gever4mo ago
b ut idk how to use it tho
Angius
Angius4mo ago
Learn?
Biton6The9Gever
Biton6The9Gever4mo ago
ill just sit on utube i guess
Brainiac V
Brainiac V4mo ago
So what kind of app do you want to create at all?
Biton6The9Gever
Biton6The9Gever4mo ago
just a site
Angius
Angius4mo ago
Use Razor Pages then With Razor templates and all
Biton6The9Gever
Biton6The9Gever4mo ago
ok i guesss
Angius
Angius4mo ago
This is the easiest
Biton6The9Gever
Biton6The9Gever4mo ago
thanks im just a bit stupid in this things
Brainiac V
Brainiac V4mo ago
Then you have two choices, MVC which is more boilerplate or Razor pages which is newer and requires typically fewer files and boilerplate.
Biton6The9Gever
Biton6The9Gever4mo ago
understood thx for the help
Brainiac V
Brainiac V4mo ago
Third option would be Blazor Server but I wouldn't consider that here if you need more or less a static site.
Biton6The9Gever
Biton6The9Gever4mo ago
i can do like interaction on the site using razor yeh? like buttons and stuff
Angius
Angius4mo ago
What kind of interactions?
Biton6The9Gever
Biton6The9Gever4mo ago
button prob
Angius
Angius4mo ago
Chances are that will required Javascript Razor Pages and MVC are SSR
Biton6The9Gever
Biton6The9Gever4mo ago
ik java script its fine
Angius
Angius4mo ago
Meaning, everything is rendered on the server
Biton6The9Gever
Biton6The9Gever4mo ago
there is no server side in razor pages?
Angius
Angius4mo ago
So any interaction requires a page reload It is server-side SSR stands for ServerSide Rendering
Biton6The9Gever
Biton6The9Gever4mo ago
oh xd im more familiar with the USSR xd
Angius
Angius4mo ago
If you want to have interactions without reloading the page, you can create an API controller and call it with Javascript As I said, RPages and MVC are much closer to how the web actually is As opposed to Webforms and its runat stuff
Biton6The9Gever
Biton6The9Gever4mo ago
so should i open MVC or Razor?
Angius
Angius4mo ago
Razor Pages are easier to get started with In the end, you can mix and match
Biton6The9Gever
Biton6The9Gever4mo ago
mvc is model view controller?
Angius
Angius4mo ago
Nothing stops you from adding some Blazor components later, or an MVC controller, or a Minimal API endpoint Yes MVC is Model View Controller
Biton6The9Gever
Biton6The9Gever4mo ago
ok do u have like suggested tutrial or i just wonder around and fine my self thx alot for the help tho
Angius
Angius4mo ago
IME this tutorial is not bad: https://www.learnrazorpages.com/
An Introduction To ASP.NET Razor Pages | Learn Razor Pages
Razor Pages is a page-focused development framework for building dynamic, data-driven web sites with clean separation of concerns using the latest version of ASP.NET.
Angius
Angius4mo ago
I reference it myself every now and then
Biton6The9Gever
Biton6The9Gever4mo ago
ok thx imma close it here
Angius
Angius4mo ago
Sure
Unknown User
Unknown User4mo ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX4mo ago
If you have no further questions, please use /close to mark the forum thread as answered
Want results from more Discord servers?
Add your server