✅ 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
Angius2y 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
Biton6The9GeverOP2y ago
like im asking in genral if some0one had the same problem as me
Angius
Angius2y ago
What is the problem though? The menu in the screenshot lets you create a new project
Biton6The9Gever
Biton6The9GeverOP2y ago
u remmber we talk in web
Angius
Angius2y ago
Yes
Biton6The9Gever
Biton6The9GeverOP2y ago
and it only show me the razor pages and not the empty one
Brainiac V
Brainiac V2y ago
There is literally the empty template in the list?
Angius
Angius2y ago
Why do you want a completely empty ASP.NET project?
Biton6The9Gever
Biton6The9GeverOP2y ago
not core empty
Brainiac V
Brainiac V2y ago
I don't know what you want, sorry
Biton6The9Gever
Biton6The9GeverOP2y ago
like core Web App w/o the razor stuff
Angius
Angius2y ago
Like, an API?
Brainiac V
Brainiac V2y ago
You talk about opening a project and show us a list from creating projects
Angius
Angius2y ago
If so, then pick the Web API project That will contain just the bare minimum, no Razor
Biton6The9Gever
Biton6The9GeverOP2y ago
like this pic donw there
No description
Brainiac V
Brainiac V2y ago
There is no empty project on this list even what's the purpose?
Biton6The9Gever
Biton6The9GeverOP2y ago
not empty empty like core web app without the razor stuff idk whats razor
Brainiac V
Brainiac V2y ago
A templating engine.
Biton6The9Gever
Biton6The9GeverOP2y ago
b ut idk how to use it tho
Angius
Angius2y ago
Learn?
Biton6The9Gever
Biton6The9GeverOP2y ago
ill just sit on utube i guess
Brainiac V
Brainiac V2y ago
So what kind of app do you want to create at all?
Biton6The9Gever
Biton6The9GeverOP2y ago
just a site
Angius
Angius2y ago
Use Razor Pages then With Razor templates and all
Biton6The9Gever
Biton6The9GeverOP2y ago
ok i guesss
Angius
Angius2y ago
This is the easiest
Biton6The9Gever
Biton6The9GeverOP2y ago
thanks im just a bit stupid in this things
Brainiac V
Brainiac V2y 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
Biton6The9GeverOP2y ago
understood thx for the help
Brainiac V
Brainiac V2y ago
Third option would be Blazor Server but I wouldn't consider that here if you need more or less a static site.
Biton6The9Gever
Biton6The9GeverOP2y ago
i can do like interaction on the site using razor yeh? like buttons and stuff
Angius
Angius2y ago
What kind of interactions?
Biton6The9Gever
Biton6The9GeverOP2y ago
button prob
Angius
Angius2y ago
Chances are that will required Javascript Razor Pages and MVC are SSR
Biton6The9Gever
Biton6The9GeverOP2y ago
ik java script its fine
Angius
Angius2y ago
Meaning, everything is rendered on the server
Biton6The9Gever
Biton6The9GeverOP2y ago
there is no server side in razor pages?
Angius
Angius2y ago
So any interaction requires a page reload It is server-side SSR stands for ServerSide Rendering
Biton6The9Gever
Biton6The9GeverOP2y ago
oh xd im more familiar with the USSR xd
Angius
Angius2y 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
Biton6The9GeverOP2y ago
so should i open MVC or Razor?
Angius
Angius2y ago
Razor Pages are easier to get started with In the end, you can mix and match
Biton6The9Gever
Biton6The9GeverOP2y ago
mvc is model view controller?
Angius
Angius2y 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
Biton6The9GeverOP2y ago
ok do u have like suggested tutrial or i just wonder around and fine my self thx alot for the help tho
Angius
Angius2y 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
Angius2y ago
I reference it myself every now and then
Biton6The9Gever
Biton6The9GeverOP2y ago
ok thx imma close it here
Angius
Angius2y ago
Sure
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX2y ago
If you have no further questions, please use /close to mark the forum thread as answered

Did you find this page helpful?