asp.net mvc - SVG files in VS2012 -


When browsing my MVC 4 site, my SVG files are not displayed properly. They work fine in other projects and fix the images on the same project when ASP.NET is hosted in IIS rather than the development server. I tried to add MIME using the code given below, but this is nothing Revenge. It seems that it was literally all night long Really confused & lt; StaticContent & gt; & Lt; MimeMap file extension = ".svg" mimeType = "image / svg + xml" /> & Lt; / staticContent & gt;

The best way to call SVG files is by: < Pre> & lt; Object data = 'svg-test.svg' type = 'image / svg + xml' width = '500' height = '500' / & gt;

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -