i finally managed to finish my first dynamic application with Webmatrix and razor , everything works well locally.
But there are issues online.
i got an index file and a layout file.
in the index file , i've got the following code :
LayoutPage = Href("~/layouts/_layout.cshtml");
when i call the index page with
but when i try
http://mysite.com/test (without the / at the end )
the server throws this :
Server Error in '/test' Application.
The specified layout page 'test/layouts/_layout.cshtml' could not be found.
The following paths have been used:
it seems it cant find the layout file.
any suggestions ?
View Complete Post