-
Notifications
You must be signed in to change notification settings - Fork 10.3k
When using MVC HTML Tag Helpers blank white page gets rendered #1446
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
Comments
Sounds like the server is returning a non- |
Are you trying to run a |
@nbaua RC2 was released today, so I recommend moving to it as soon as you can. If you can't, @MaximRouiller's right, just use RC1 version of the packages with your app, otherwise who knows what can go wrong. |
@MaximRouiller and @muratg The VS2015 suggests everything to the latest and I also ran in to it, Thanks for pointing out, I'll switch to the RC1. @dougbu , I already checked via developer tools in chrome, there is no error on console, and that's why I dared to post this as an issue, thanks anyways for pointing out that :). Thank you guys, I don't know yet if I'll be able to test it today, however I'll check it soon and try to close the issue if your kind suggestions works. Thanks again. |
I switched back to the RC1 and also updated my project.json file accordingly. And it worked like charm. N Baua |
I am using VS 2015 CE.
Created a new MVC project with blank template and started adding the components one after another.
Created a single controller with only 3 views 'Home', 'About' and 'Contact'
It worked fine with normal HTML links mapped to the above views, however as a best practice when I tried adding Tag Helpers ( "Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-beta8") and used them via _ViewImports.cshtml problem starts.
It does not render any of my views and simply shown a white blank page for all the actions.
I tried
<li><a controller="App" action="Index">Home</a></li>
as well as
<li><a asp-controller="App" asp-action="Index">Home</a></li>
but no luck. The following is my DNVM Listing
Please suggest a fix ASAP.
The text was updated successfully, but these errors were encountered: