Why can't I find the controllers folder for visual studio 2017 for Mac? I'm trying to follow this tutorial: https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app-mac/start-mvc?view=aspnetcore-2.1 And on the part of the controllers folder, I don't have it on my solutions explorer. I have see a post similar to this about not finding the controllers folder but that the solution didn't work for me. I'm not sure if I could make the controllers folder show up. Here's how my solution explorer looks like.my solution explorer I need to just find the controllers folder to show like this: screenshot with a controllers folder. Thank you in advance.
Why can't I find a controllers folder in visual studio
6.9k views Asked by Austin C. At
1
There are 1 answers
Related Questions in ASP.NET-MVC
- I have a problem outputing the roles on the page ListRoles.cshtml
- Dropdown list showing SQLServer2005SQLBrowserUser$DONSERVER instead of Active Directory group name in ASP.NET MVC C#
- Hosting ASP.NET MVC application on IIS web server using Windows 2019 server
- How to display only department fields associated with a selected department in student automation system?
- How to send select input data for form submission?
- Multi level project reference using dll
- How to upload file to Onedrive using ASP.NET MVC?
- ASP.NET MVC web app looping between fields only on some devices
- Is there any automatic job to load AD-groups?
- How to restrict admin js files to download
- Download PDF in ASP.NET MVC application
- How to add bootstrap theme/example into ASP.NET MVC 5?
- Web API works with Windows authentication enabled when consumed via Swagger but throws an unauthorized issue when accessed through web app
- ASP.Net Core 7.0 Web App (Model-View-Controller) ErrorViewModel OnGet OnPost do not get called or executed
- OAuth 2.0 keep getting Authorization has been denied for this request
Related Questions in VISUAL-STUDIO
- The current .NET SDK does not support targeting .NET Core 6.0. Brand new WPF Project VS Community 2022 17.9.5
- Dotnet Run is not working but the application is running in Visual Studio
- Is there a way to support Tailwind @apply in Visual Studio?
- How can I eliminate compile warnings using ZLib in Visual Studio
- C++(or Visual Studio) saving the file will not preserve the original file contents
- VS Community 2022 cannot install dotnet-ef when i try to publish
- Visual Studio 2022 convert spaces to tabs on checkout and back to spaces on checkin
- What should I do if Visual Studio has a restriction on creating files with a long name or a long path to these files?
- Command line error D8036 - not allowed with multiple source files with node-gyp and VS2022
- Migrate Old VS 2015 .suo file to the New VS 2022 DocumentLayout.json
- How to make one executable visual studio, that users can run?
- Use tabs instead of spaces in .csproj file in Visual Studio 2022
- Unity - scrollview/dragging breaks after specific scene inactivity
- How to make Visual Studio 2022 project launch Windows Terminal instead of PowerShell?
- Why is 'EDITBIN /STACK:2097152 w3wp.exe' cmd is giving me an LNK1342 error?
Related Questions in CONTROLLERS
- Trying to render categories in my product view in rails
- Nested Resource - Controller - Best Approach?
- Laravel 5.5 : How to define global variable that can be used in all controllers ?
- Correct url for controller
- Rails: Trying to add search function - keep getting "no route matches"
- Laravel can't find my Service
- Laravel Relationships / attributes to common linked table
- Updating data from view model mvc5 (EF6)
- Ruby on Rails Separate admin folder, controllers and layouts
- Passing data between view controllers in Swift does not work
- Prestashop 1.6.1.15 - Overriding controller issue
- Controllers in general with laravel
- Laravel - Back button close the session
- Only default controller's index function is being loaded on nginx server
- Why can't I find a controllers folder in visual studio
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
It seems that you created a Razor Page Project instead of an MVC project. That's why you don't see the controller folder.
I don't know about Visual Studio for Mac, but in visual studio for Windows when I create a new .NET Core Web App, I am then promted to chose between Web application (ie Razor Page), Web Application MVC, empty and more
The easiest solution is to start over and create and create a new MVC project.
But can keep your existing project if you want and can add a Controllers, a Views folder, a Models folder. Add the _Layout and ViewStart views and add the controllers and views that you need.
I you do that you have to configure the routing of MVC by replacing in Startup.cs
by