-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why I can't run OrchardVNext.Demo.Home controller? #9
Comments
try this: http://local.orchardvnext.test1.com/Home/Index |
Yeah, so far we have only 1 route. and that is /Home/Index. So as @nicholaspei mentioned, try navigating to http://local.orchardvnext.test1.com/Home/Index |
When I have read your answer I have thought: "I checked this it didn't work" Thank you! |
Skrypt
pushed a commit
that referenced
this issue
Jan 25, 2024
^ This is the 1st commit message: Add GetCulture() extension method ^ This is the commit message #2: Cleanup ISmsService (#15142) ^ This is the commit message #3: Fix TheAdminTheme layout margin and padding (#15143) ^ This is the commit message #4: Fix SectionDisplayDriver prefix (#15123) ^ This is the commit message #5: Prefill template name when creating a template. (#15145) ^ This is the commit message #6: Set the User Localization feature priority ^ This is the commit message #7: Fix issue with default culture not selected When currentUserCulture is null or supportedCulture doesn't contain currentUserCulture. ^ This is the commit message #8: Update the height of the admin content (#15153) ^ This is the commit message #9: Eliminate the anti-discovery pattern in Elasticsearch (#15134) ^ This is the commit message #10: Renaming and cleaning up search services (#15156) ^ This is the commit message #11: mkdocs-material 9.5.5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello I'm just starting with ASP.NET vNext so maybe I'm having more questions than is usual.
I'm at the commit 732852e (last one at entityframework branch).
I have created a wwwRoot folder within OrchardVNext.Web in order to run the app because if it doesn't exists I get an error. To create manually this folder is what is expected?
If I debug the solution as it is I get an "Unable to locate project.json" message within an Error page.
However I'm able to debug the app replacing IIS Express per web in Debug Target properties of OrchardVNext.Web project.
Problem is the app only runs when my url request is http://local.orchardvnext.test1.com or http://local.orchardvnext.test2.com but nothing happens if I request http://localhost:61562
The only way I've managed to make the solution work in response to a http://localhost request has been adding localhost without port to web command in project.json
--server.urls http://localhost;http://local.orchardvnext.test1.com;http://local.orchardvnext.test2.com
And removing the port from RequestUrlPrefix within App_Data\Sites\Default\settings.txt.
The point is when I call http://localhost/OrchardVNext.Demo/Home/Index middleware is run but Controller is never called.
Is it the normal behavior? I haven't managed to find why the controller doesn't work because everything looks fine. Any help?
Regarding what I have had to do for making work the solution, is it normal? I imagine the change in the port is because when I use web command instead of IIS Express Visual Studio it is ignoring the port for debugging . But are you able to debug it with IIS Express?
The text was updated successfully, but these errors were encountered: