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

python - Writing Greek in matplotlib labels, titles -

cmake set_source_files_properties not working properly -

Pygame memory leak with transform.flip -