Skip to content

markwhitaker/MimeTypes.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icon

MimeTypes.NET Build and test Publish to NuGet NuGet Version and Downloads count

A structured collection of MIME type constants to use in your .NET projects.

Replace this sort of thing...

httpContext.Response.ContentType = "application/json";

with this...

httpContext.Response.ContentType = MimeTypes.Application.Json;

Pull requests welcome!

Also for .NET developers

icon RegexToolbox.NET: Regular expression tools for .NET developers

MimeTypes for other languages

icon MimeTypes for Java

icon MimeTypes for Kotlin

icon MimeTypes for JavaScript