Is there a set of constants in the framework for all the standard content types?
https://www.nuget.org/packages/MimeTypesMap/ is a great NuGet package for this. Use it like this:
MimeTypesMap.GetMimeType("filename.jpeg"); // => image/jpeg
or the other way:
MimeTypesMap.GetExtension("image/jpeg"); // => jpeg