문제

I have the current bundle reference working locally:

Bundles.Reference("/Content/global.css");

On the development site, this resolves (somehow) via:

href="/_cassette/asset/Content/global.css?d8036040d7bdf16f597402da22aebe89fb415a42"

The problem is this is returning a 404 in production but unsure why. I though this may have been a configuration issue with the handler but I have not set one up in the configuration (web.config) so something must be happening internally to cause problems.

Both applications seem to be running .net 4+, can anyone help?

도움이 되었습니까?

해결책

I was wrong (but close) in my previous answer. The fix was actually to add my own UrlModifier - this doesn't append the virtual directory to the path and all is well.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top