345 references to AddMapping
System.Web (345)
MimeMapping.cs (345)
47AddMapping(".*", "application/octet-stream");
101AddMapping(".323", "text/h323");
102AddMapping(".aaf", "application/octet-stream");
103AddMapping(".aca", "application/octet-stream");
104AddMapping(".accdb", "application/msaccess");
105AddMapping(".accde", "application/msaccess");
106AddMapping(".accdt", "application/msaccess");
107AddMapping(".acx", "application/internet-property-stream");
108AddMapping(".afm", "application/octet-stream");
109AddMapping(".ai", "application/postscript");
110AddMapping(".aif", "audio/x-aiff");
111AddMapping(".aifc", "audio/aiff");
112AddMapping(".aiff", "audio/aiff");
113AddMapping(".application", "application/x-ms-application");
114AddMapping(".art", "image/x-jg");
115AddMapping(".asd", "application/octet-stream");
116AddMapping(".asf", "video/x-ms-asf");
117AddMapping(".asi", "application/octet-stream");
118AddMapping(".asm", "text/plain");
119AddMapping(".asr", "video/x-ms-asf");
120AddMapping(".asx", "video/x-ms-asf");
121AddMapping(".atom", "application/atom+xml");
122AddMapping(".au", "audio/basic");
123AddMapping(".avi", "video/x-msvideo");
124AddMapping(".axs", "application/olescript");
125AddMapping(".bas", "text/plain");
126AddMapping(".bcpio", "application/x-bcpio");
127AddMapping(".bin", "application/octet-stream");
128AddMapping(".bmp", "image/bmp");
129AddMapping(".c", "text/plain");
130AddMapping(".cab", "application/octet-stream");
131AddMapping(".calx", "application/vnd.ms-office.calx");
132AddMapping(".cat", "application/vnd.ms-pki.seccat");
133AddMapping(".cdf", "application/x-cdf");
134AddMapping(".chm", "application/octet-stream");
135AddMapping(".class", "application/x-java-applet");
136AddMapping(".clp", "application/x-msclip");
137AddMapping(".cmx", "image/x-cmx");
138AddMapping(".cnf", "text/plain");
139AddMapping(".cod", "image/cis-cod");
140AddMapping(".cpio", "application/x-cpio");
141AddMapping(".cpp", "text/plain");
142AddMapping(".crd", "application/x-mscardfile");
143AddMapping(".crl", "application/pkix-crl");
144AddMapping(".crt", "application/x-x509-ca-cert");
145AddMapping(".csh", "application/x-csh");
146AddMapping(".css", "text/css");
147AddMapping(".csv", "application/octet-stream");
148AddMapping(".cur", "application/octet-stream");
149AddMapping(".dcr", "application/x-director");
150AddMapping(".deploy", "application/octet-stream");
151AddMapping(".der", "application/x-x509-ca-cert");
152AddMapping(".dib", "image/bmp");
153AddMapping(".dir", "application/x-director");
154AddMapping(".disco", "text/xml");
155AddMapping(".dll", "application/x-msdownload");
156AddMapping(".dll.config", "text/xml");
157AddMapping(".dlm", "text/dlm");
158AddMapping(".doc", "application/msword");
159AddMapping(".docm", "application/vnd.ms-word.document.macroEnabled.12");
160AddMapping(".docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document");
161AddMapping(".dot", "application/msword");
162AddMapping(".dotm", "application/vnd.ms-word.template.macroEnabled.12");
163AddMapping(".dotx", "application/vnd.openxmlformats-officedocument.wordprocessingml.template");
164AddMapping(".dsp", "application/octet-stream");
165AddMapping(".dtd", "text/xml");
166AddMapping(".dvi", "application/x-dvi");
167AddMapping(".dwf", "drawing/x-dwf");
168AddMapping(".dwp", "application/octet-stream");
169AddMapping(".dxr", "application/x-director");
170AddMapping(".eml", "message/rfc822");
171AddMapping(".emz", "application/octet-stream");
172AddMapping(".eot", "application/octet-stream");
173AddMapping(".eps", "application/postscript");
174AddMapping(".etx", "text/x-setext");
175AddMapping(".evy", "application/envoy");
176AddMapping(".exe", "application/octet-stream");
177AddMapping(".exe.config", "text/xml");
178AddMapping(".fdf", "application/vnd.fdf");
179AddMapping(".fif", "application/fractals");
180AddMapping(".fla", "application/octet-stream");
181AddMapping(".flr", "x-world/x-vrml");
182AddMapping(".flv", "video/x-flv");
183AddMapping(".gif", "image/gif");
184AddMapping(".gtar", "application/x-gtar");
185AddMapping(".gz", "application/x-gzip");
186AddMapping(".h", "text/plain");
187AddMapping(".hdf", "application/x-hdf");
188AddMapping(".hdml", "text/x-hdml");
189AddMapping(".hhc", "application/x-oleobject");
190AddMapping(".hhk", "application/octet-stream");
191AddMapping(".hhp", "application/octet-stream");
192AddMapping(".hlp", "application/winhlp");
193AddMapping(".hqx", "application/mac-binhex40");
194AddMapping(".hta", "application/hta");
195AddMapping(".htc", "text/x-component");
196AddMapping(".htm", "text/html");
197AddMapping(".html", "text/html");
198AddMapping(".htt", "text/webviewhtml");
199AddMapping(".hxt", "text/html");
200AddMapping(".ico", "image/x-icon");
201AddMapping(".ics", "application/octet-stream");
202AddMapping(".ief", "image/ief");
203AddMapping(".iii", "application/x-iphone");
204AddMapping(".inf", "application/octet-stream");
205AddMapping(".ins", "application/x-internet-signup");
206AddMapping(".isp", "application/x-internet-signup");
207AddMapping(".IVF", "video/x-ivf");
208AddMapping(".jar", "application/java-archive");
209AddMapping(".java", "application/octet-stream");
210AddMapping(".jck", "application/liquidmotion");
211AddMapping(".jcz", "application/liquidmotion");
212AddMapping(".jfif", "image/pjpeg");
213AddMapping(".jpb", "application/octet-stream");
214AddMapping(".jpe", "image/jpeg");
215AddMapping(".jpeg", "image/jpeg");
216AddMapping(".jpg", "image/jpeg");
217AddMapping(".js", "application/x-javascript");
218AddMapping(".jsx", "text/jscript");
219AddMapping(".latex", "application/x-latex");
220AddMapping(".lit", "application/x-ms-reader");
221AddMapping(".lpk", "application/octet-stream");
222AddMapping(".lsf", "video/x-la-asf");
223AddMapping(".lsx", "video/x-la-asf");
224AddMapping(".lzh", "application/octet-stream");
225AddMapping(".m13", "application/x-msmediaview");
226AddMapping(".m14", "application/x-msmediaview");
227AddMapping(".m1v", "video/mpeg");
228AddMapping(".m3u", "audio/x-mpegurl");
229AddMapping(".man", "application/x-troff-man");
230AddMapping(".manifest", "application/x-ms-manifest");
231AddMapping(".map", "text/plain");
232AddMapping(".mdb", "application/x-msaccess");
233AddMapping(".mdp", "application/octet-stream");
234AddMapping(".me", "application/x-troff-me");
235AddMapping(".mht", "message/rfc822");
236AddMapping(".mhtml", "message/rfc822");
237AddMapping(".mid", "audio/mid");
238AddMapping(".midi", "audio/mid");
239AddMapping(".mix", "application/octet-stream");
240AddMapping(".mmf", "application/x-smaf");
241AddMapping(".mno", "text/xml");
242AddMapping(".mny", "application/x-msmoney");
243AddMapping(".mov", "video/quicktime");
244AddMapping(".movie", "video/x-sgi-movie");
245AddMapping(".mp2", "video/mpeg");
246AddMapping(".mp3", "audio/mpeg");
247AddMapping(".mpa", "video/mpeg");
248AddMapping(".mpe", "video/mpeg");
249AddMapping(".mpeg", "video/mpeg");
250AddMapping(".mpg", "video/mpeg");
251AddMapping(".mpp", "application/vnd.ms-project");
252AddMapping(".mpv2", "video/mpeg");
253AddMapping(".ms", "application/x-troff-ms");
254AddMapping(".msi", "application/octet-stream");
255AddMapping(".mso", "application/octet-stream");
256AddMapping(".mvb", "application/x-msmediaview");
257AddMapping(".mvc", "application/x-miva-compiled");
258AddMapping(".nc", "application/x-netcdf");
259AddMapping(".nsc", "video/x-ms-asf");
260AddMapping(".nws", "message/rfc822");
261AddMapping(".ocx", "application/octet-stream");
262AddMapping(".oda", "application/oda");
263AddMapping(".odc", "text/x-ms-odc");
264AddMapping(".ods", "application/oleobject");
265AddMapping(".one", "application/onenote");
266AddMapping(".onea", "application/onenote");
267AddMapping(".onetoc", "application/onenote");
268AddMapping(".onetoc2", "application/onenote");
269AddMapping(".onetmp", "application/onenote");
270AddMapping(".onepkg", "application/onenote");
271AddMapping(".osdx", "application/opensearchdescription+xml");
272AddMapping(".p10", "application/pkcs10");
273AddMapping(".p12", "application/x-pkcs12");
274AddMapping(".p7b", "application/x-pkcs7-certificates");
275AddMapping(".p7c", "application/pkcs7-mime");
276AddMapping(".p7m", "application/pkcs7-mime");
277AddMapping(".p7r", "application/x-pkcs7-certreqresp");
278AddMapping(".p7s", "application/pkcs7-signature");
279AddMapping(".pbm", "image/x-portable-bitmap");
280AddMapping(".pcx", "application/octet-stream");
281AddMapping(".pcz", "application/octet-stream");
282AddMapping(".pdf", "application/pdf");
283AddMapping(".pfb", "application/octet-stream");
284AddMapping(".pfm", "application/octet-stream");
285AddMapping(".pfx", "application/x-pkcs12");
286AddMapping(".pgm", "image/x-portable-graymap");
287AddMapping(".pko", "application/vnd.ms-pki.pko");
288AddMapping(".pma", "application/x-perfmon");
289AddMapping(".pmc", "application/x-perfmon");
290AddMapping(".pml", "application/x-perfmon");
291AddMapping(".pmr", "application/x-perfmon");
292AddMapping(".pmw", "application/x-perfmon");
293AddMapping(".png", "image/png");
294AddMapping(".pnm", "image/x-portable-anymap");
295AddMapping(".pnz", "image/png");
296AddMapping(".pot", "application/vnd.ms-powerpoint");
297AddMapping(".potm", "application/vnd.ms-powerpoint.template.macroEnabled.12");
298AddMapping(".potx", "application/vnd.openxmlformats-officedocument.presentationml.template");
299AddMapping(".ppam", "application/vnd.ms-powerpoint.addin.macroEnabled.12");
300AddMapping(".ppm", "image/x-portable-pixmap");
301AddMapping(".pps", "application/vnd.ms-powerpoint");
302AddMapping(".ppsm", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12");
303AddMapping(".ppsx", "application/vnd.openxmlformats-officedocument.presentationml.slideshow");
304AddMapping(".ppt", "application/vnd.ms-powerpoint");
305AddMapping(".pptm", "application/vnd.ms-powerpoint.presentation.macroEnabled.12");
306AddMapping(".pptx", "application/vnd.openxmlformats-officedocument.presentationml.presentation");
307AddMapping(".prf", "application/pics-rules");
308AddMapping(".prm", "application/octet-stream");
309AddMapping(".prx", "application/octet-stream");
310AddMapping(".ps", "application/postscript");
311AddMapping(".psd", "application/octet-stream");
312AddMapping(".psm", "application/octet-stream");
313AddMapping(".psp", "application/octet-stream");
314AddMapping(".pub", "application/x-mspublisher");
315AddMapping(".qt", "video/quicktime");
316AddMapping(".qtl", "application/x-quicktimeplayer");
317AddMapping(".qxd", "application/octet-stream");
318AddMapping(".ra", "audio/x-pn-realaudio");
319AddMapping(".ram", "audio/x-pn-realaudio");
320AddMapping(".rar", "application/octet-stream");
321AddMapping(".ras", "image/x-cmu-raster");
322AddMapping(".rf", "image/vnd.rn-realflash");
323AddMapping(".rgb", "image/x-rgb");
324AddMapping(".rm", "application/vnd.rn-realmedia");
325AddMapping(".rmi", "audio/mid");
326AddMapping(".roff", "application/x-troff");
327AddMapping(".rpm", "audio/x-pn-realaudio-plugin");
328AddMapping(".rtf", "application/rtf");
329AddMapping(".rtx", "text/richtext");
330AddMapping(".scd", "application/x-msschedule");
331AddMapping(".sct", "text/scriptlet");
332AddMapping(".sea", "application/octet-stream");
333AddMapping(".setpay", "application/set-payment-initiation");
334AddMapping(".setreg", "application/set-registration-initiation");
335AddMapping(".sgml", "text/sgml");
336AddMapping(".sh", "application/x-sh");
337AddMapping(".shar", "application/x-shar");
338AddMapping(".sit", "application/x-stuffit");
339AddMapping(".sldm", "application/vnd.ms-powerpoint.slide.macroEnabled.12");
340AddMapping(".sldx", "application/vnd.openxmlformats-officedocument.presentationml.slide");
341AddMapping(".smd", "audio/x-smd");
342AddMapping(".smi", "application/octet-stream");
343AddMapping(".smx", "audio/x-smd");
344AddMapping(".smz", "audio/x-smd");
345AddMapping(".snd", "audio/basic");
346AddMapping(".snp", "application/octet-stream");
347AddMapping(".spc", "application/x-pkcs7-certificates");
348AddMapping(".spl", "application/futuresplash");
349AddMapping(".src", "application/x-wais-source");
350AddMapping(".ssm", "application/streamingmedia");
351AddMapping(".sst", "application/vnd.ms-pki.certstore");
352AddMapping(".stl", "application/vnd.ms-pki.stl");
353AddMapping(".sv4cpio", "application/x-sv4cpio");
354AddMapping(".sv4crc", "application/x-sv4crc");
355AddMapping(".swf", "application/x-shockwave-flash");
356AddMapping(".t", "application/x-troff");
357AddMapping(".tar", "application/x-tar");
358AddMapping(".tcl", "application/x-tcl");
359AddMapping(".tex", "application/x-tex");
360AddMapping(".texi", "application/x-texinfo");
361AddMapping(".texinfo", "application/x-texinfo");
362AddMapping(".tgz", "application/x-compressed");
363AddMapping(".thmx", "application/vnd.ms-officetheme");
364AddMapping(".thn", "application/octet-stream");
365AddMapping(".tif", "image/tiff");
366AddMapping(".tiff", "image/tiff");
367AddMapping(".toc", "application/octet-stream");
368AddMapping(".tr", "application/x-troff");
369AddMapping(".trm", "application/x-msterminal");
370AddMapping(".tsv", "text/tab-separated-values");
371AddMapping(".ttf", "application/octet-stream");
372AddMapping(".txt", "text/plain");
373AddMapping(".u32", "application/octet-stream");
374AddMapping(".uls", "text/iuls");
375AddMapping(".ustar", "application/x-ustar");
376AddMapping(".vbs", "text/vbscript");
377AddMapping(".vcf", "text/x-vcard");
378AddMapping(".vcs", "text/plain");
379AddMapping(".vdx", "application/vnd.ms-visio.viewer");
380AddMapping(".vml", "text/xml");
381AddMapping(".vsd", "application/vnd.visio");
382AddMapping(".vss", "application/vnd.visio");
383AddMapping(".vst", "application/vnd.visio");
384AddMapping(".vsto", "application/x-ms-vsto");
385AddMapping(".vsw", "application/vnd.visio");
386AddMapping(".vsx", "application/vnd.visio");
387AddMapping(".vtx", "application/vnd.visio");
388AddMapping(".wav", "audio/wav");
389AddMapping(".wax", "audio/x-ms-wax");
390AddMapping(".wbmp", "image/vnd.wap.wbmp");
391AddMapping(".wcm", "application/vnd.ms-works");
392AddMapping(".wdb", "application/vnd.ms-works");
393AddMapping(".wks", "application/vnd.ms-works");
394AddMapping(".wm", "video/x-ms-wm");
395AddMapping(".wma", "audio/x-ms-wma");
396AddMapping(".wmd", "application/x-ms-wmd");
397AddMapping(".wmf", "application/x-msmetafile");
398AddMapping(".wml", "text/vnd.wap.wml");
399AddMapping(".wmlc", "application/vnd.wap.wmlc");
400AddMapping(".wmls", "text/vnd.wap.wmlscript");
401AddMapping(".wmlsc", "application/vnd.wap.wmlscriptc");
402AddMapping(".wmp", "video/x-ms-wmp");
403AddMapping(".wmv", "video/x-ms-wmv");
404AddMapping(".wmx", "video/x-ms-wmx");
405AddMapping(".wmz", "application/x-ms-wmz");
406AddMapping(".wps", "application/vnd.ms-works");
407AddMapping(".wri", "application/x-mswrite");
408AddMapping(".wrl", "x-world/x-vrml");
409AddMapping(".wrz", "x-world/x-vrml");
410AddMapping(".wsdl", "text/xml");
411AddMapping(".wvx", "video/x-ms-wvx");
412AddMapping(".x", "application/directx");
413AddMapping(".xaf", "x-world/x-vrml");
414AddMapping(".xaml", "application/xaml+xml");
415AddMapping(".xap", "application/x-silverlight-app");
416AddMapping(".xbap", "application/x-ms-xbap");
417AddMapping(".xbm", "image/x-xbitmap");
418AddMapping(".xdr", "text/plain");
419AddMapping(".xla", "application/vnd.ms-excel");
420AddMapping(".xlam", "application/vnd.ms-excel.addin.macroEnabled.12");
421AddMapping(".xlc", "application/vnd.ms-excel");
422AddMapping(".xlm", "application/vnd.ms-excel");
423AddMapping(".xls", "application/vnd.ms-excel");
424AddMapping(".xlsb", "application/vnd.ms-excel.sheet.binary.macroEnabled.12");
425AddMapping(".xlsm", "application/vnd.ms-excel.sheet.macroEnabled.12");
426AddMapping(".xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
427AddMapping(".xlt", "application/vnd.ms-excel");
428AddMapping(".xltm", "application/vnd.ms-excel.template.macroEnabled.12");
429AddMapping(".xltx", "application/vnd.openxmlformats-officedocument.spreadsheetml.template");
430AddMapping(".xlw", "application/vnd.ms-excel");
431AddMapping(".xml", "text/xml");
432AddMapping(".xof", "x-world/x-vrml");
433AddMapping(".xpm", "image/x-xpixmap");
434AddMapping(".xps", "application/vnd.ms-xpsdocument");
435AddMapping(".xsd", "text/xml");
436AddMapping(".xsf", "text/xml");
437AddMapping(".xsl", "text/xml");
438AddMapping(".xslt", "text/xml");
439AddMapping(".xsn", "application/octet-stream");
440AddMapping(".xtp", "application/octet-stream");
441AddMapping(".xwd", "image/x-xwindowdump");
442AddMapping(".z", "application/x-compress");
443AddMapping(".zip", "application/x-zip-compressed");
479AddMapping(fileExtension, mimeType);