Hi!
I managed to debug the blog project and found out what was causing the error. It was obviously myself who was responsible for the error.
However I don´t really see the link between my change and the error very clear. I will try to explain.
In BlogFacade.cs, line 151, the code is trying to parse pathInfoParts[3] into a day integer.
In the MasterLayout.cshtml I have added a image into the navbar isstead of the site name
Why is this a problem?
How should I have done it?
Thank you!
/Niclas
I managed to debug the blog project and found out what was causing the error. It was obviously myself who was responsible for the error.
However I don´t really see the link between my change and the error very clear. I will try to explain.
In BlogFacade.cs, line 151, the code is trying to parse pathInfoParts[3] into a day integer.
int day = Int32.Parse(pathInfoParts[3]);
This is were the error accurs due to the pathInfoParts[3] containing the text "MicGusRacingLogo.png".In the MasterLayout.cshtml I have added a image into the navbar isstead of the site name
<a class="brand" href="/"><img src="../MicGusRacingLogo.png" alt="MicGus Racing"/></a>
and this is clearly causing the problem.Why is this a problem?
How should I have done it?
Thank you!
/Niclas