-
Notifications
You must be signed in to change notification settings - Fork 9
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
NitroNetsitecore not working as expected, need a dummy solution #19
Comments
Hi ssatpa So sorry for the inconvenience with the setup of NitroNet Sitecore. Internal Server Message Demo Solution |
Hello @daniiiol , Please find the steps which currently I'm trying for your reference -
ImageTextModel.cs MainLayout.html <title></title> {{component name="ImageText"}} {{placeholder name ="MainContent"}}ImageText.html -
|
scsupport_NitroNetPOC_201709041020.zip Hello @daniiiol |
Hello @daniiiol |
Hi ssatpa I'm currently working on a small demo solution for NitroNetSitecore and had the exact same error. The cause of this problem was the leading slash of the value which is saved in the "path" field of the layout item. For your solution this means you need to enter the value "frontend/views/MainLayout" there. Also make sure you respect case sensitivity. I hope this fixes the problem, please let me know. There is another learning I had during my work. If you are using Microsoft.DependencyInjection then the registration of the view engine in global.asax is too early. You need to do it at the end of the initialize-pipeline in Sitecore. This registration will be done automatically in a future release: #20 We are going to update the documentation and make sure these details get a better description. |
@NaibafCH .. thanks for your help, It is working fine now |
Hello,
I have followed the steps for NitroNet sitecore Setup.
The issue that I'm facing is that it is not working for Html file for the main layout and I'm getting an Internal Server Error message.
When for testing purpose I have added a cshtml file the error got removed but in case of cshtml file it is considering the handlebars as normal text.
It would be great If we can get a sample solution for NitroNetSitecore
The text was updated successfully, but these errors were encountered: