MVC3 Web Project with Composite: missing Composite layout

Topics: General, MVC
Aug 4, 2011 at 10:54 AM

Hello,

A new MVC3 Web Project created with Composite implementated (file copy, include files in project and modify web.config+globals.asax). The Frontpage works but the \Composite site doesn't: it have no design (stylesheet).

When looking in source, it will download default.css.aspx. web.config in subfolder 'composite' is exists. It seems like that the httpHandler doesn't work?

Any tips to look for solve this?

Thanks.

Aug 4, 2011 at 12:34 PM

Hi Robert

 

Check in FireBug to see what kind of result you get while accessing default.css.aspx, if it is 404 - I could be that MVC handles the route to the css file.

Try installing route-debugger to check it http://haacked.com/archive/2008/03/13/url-routing-debugger.aspx

Also, which build of C1 are you using?

Aug 4, 2011 at 12:56 PM

Hi napernik,

Thanks for your reply.

I have it solved. When I exlcude the app_data folder, rebuild project, then the site display correctly with css. 

Thanks for the tip about route-debugger btw.

Kind regards.