Jaime Rodriguez On Windows Store apps, Windows Phone, HTML and XAML
I often know I need a mime-type ( e.g. .deploy or .xaml ).. Extensions are easy, but the types are hard to remember ( application/octet-stream is my favorite guess )..
Now, courtesy of Chris Knowlton, Windows Media Server PM, I don't have to guess...
.323
text/h323
.aaf
application/octet-stream
.aca
.accdb
application/msaccess
.accde
.accdt
.acx
application/internet-property-stream
.afm
.ai
application/postscript
.aif
audio/x-aiff
.aifc
audio/aiff
.aiff
.application
application/x-ms-application
.art
image/x-jg
.asd
.asf
video/x-ms-asf
.asi
.asm
text/plain
.asr
.asx
.atom
application/atom+xml
.au
audio/basic
.avi
video/x-msvideo
.axs
application/olescript
.bas
.bcpio
application/x-bcpio
.bin
.bmp
image/bmp
.c
.cab
.calx
application/vnd.ms-office.calx
.cat
application/vnd.ms-pki.seccat
.cdf
application/x-cdf
.chm
.class
application/x-java-applet
.clp
application/x-msclip
.cmx
image/x-cmx
.cnf
.cod
image/cis-cod
.cpio
application/x-cpio
.cpp
.crd
application/x-mscardfile
.crl
application/pkix-crl
.crt
application/x-x509-ca-cert
.csh
application/x-csh
.css
text/css
.csv
.cur
.dcr
application/x-director
.deploy
.der
.dib
.dir
.disco
text/xml
.dll
application/x-msdownload
.dll.config
.dlm
text/dlm
.doc
application/msword
.docm
application/vnd.ms-word.document.macroEnabled.12
.docx
application/vnd.openxmlformats-officedocument.wordprocessingml.document
.dot
.dotm
application/vnd.ms-word.template.macroEnabled.12
.dotx
application/vnd.openxmlformats-officedocument.wordprocessingml.template
.dsp
.dtd
.dvi
application/x-dvi
.dwf
drawing/x-dwf
.dwp
.dxr
.eml
message/rfc822
.emz
.eot
.eps
.etx
text/x-setext
.evy
application/envoy
.exe
.exe.config
.fdf
application/vnd.fdf
.fif
application/fractals
.fla
.flr
x-world/x-vrml
.flv
video/x-flv
.gif
image/gif
.gtar
application/x-gtar
.gz
application/x-gzip
.h
.hdf
application/x-hdf
.hdml
text/x-hdml
.hhc
application/x-oleobject
.hhk
.hhp
.hlp
application/winhlp
.hqx
application/mac-binhex40
.hta
application/hta
.htc
text/x-component
.htm
text/html
.html
.htt
text/webviewhtml
.hxt
.ico
image/x-icon
.ics
.ief
image/ief
.iii
application/x-iphone
.inf
.ins
application/x-internet-signup
.isp
.IVF
video/x-ivf
.jar
application/java-archive
.java
.jck
application/liquidmotion
.jcz
.jfif
image/pjpeg
.jpb
.jpe
image/jpeg
.jpeg
.jpg
.js
application/x-javascript
.jsx
text/jscript
.latex
application/x-latex
.lit
application/x-ms-reader
.lpk
.lsf
video/x-la-asf
.lsx
.lzh
.m13
application/x-msmediaview
.m14
.m1v
video/mpeg
.m3u
audio/x-mpegurl
.man
application/x-troff-man
.manifest
application/x-ms-manifest
.map
.mdb
application/x-msaccess
.mdp
.me
application/x-troff-me
.mht
.mhtml
.mid
audio/mid
.midi
.mix
.mmf
application/x-smaf
.mno
.mny
application/x-msmoney
.mov
video/quicktime
.movie
video/x-sgi-movie
.mp2
.mp3
audio/mpeg
.mpa
.mpe
.mpeg
.mpg
.mpp
application/vnd.ms-project
.mpv2
.ms
application/x-troff-ms
.msi
.mso
.mvb
.mvc
application/x-miva-compiled
.nc
application/x-netcdf
.nsc
.nws
.ocx
.oda
application/oda
.odc
text/x-ms-odc
.ods
application/oleobject
.one
application/onenote
.onea
.onetoc
.onetoc2
.onetmp
.onepkg
.p10
application/pkcs10
.p12
application/x-pkcs12
.p7b
application/x-pkcs7-certificates
.p7c
application/pkcs7-mime
.p7m
.p7r
application/x-pkcs7-certreqresp
.p7s
application/pkcs7-signature
.pbm
image/x-portable-bitmap
.pcx
.pcz
.pdf
application/pdf
.pfb
.pfm
.pfx
.pgm
image/x-portable-graymap
.pko
application/vnd.ms-pki.pko
.pma
application/x-perfmon
.pmc
.pml
.pmr
.pmw
.png
image/png
.pnm
image/x-portable-anymap
.pnz
.pot
application/vnd.ms-powerpoint
.potm
application/vnd.ms-powerpoint.template.macroEnabled.12
.potx
application/vnd.openxmlformats-officedocument.presentationml.template
.ppam
application/vnd.ms-powerpoint.addin.macroEnabled.12
.ppm
image/x-portable-pixmap
.pps
.ppsm
application/vnd.ms-powerpoint.slideshow.macroEnabled.12
.ppsx
application/vnd.openxmlformats-officedocument.presentationml.slideshow
.ppt
.pptm
application/vnd.ms-powerpoint.presentation.macroEnabled.12
.pptx
application/vnd.openxmlformats-officedocument.presentationml.presentation
.prf
application/pics-rules
.prm
.prx
.ps
.psd
.psm
.psp
.pub
application/x-mspublisher
.qt
.qtl
application/x-quicktimeplayer
.qxd
.ra
audio/x-pn-realaudio
.ram
.rar
.ras
image/x-cmu-raster
.rf
image/vnd.rn-realflash
.rgb
image/x-rgb
.rm
application/vnd.rn-realmedia
.rmi
.roff
application/x-troff
.rpm
audio/x-pn-realaudio-plugin
.rtf
application/rtf
.rtx
text/richtext
.scd
application/x-msschedule
.sct
text/scriptlet
.sea
.setpay
application/set-payment-initiation
.setreg
application/set-registration-initiation
.sgml
text/sgml
.sh
application/x-sh
.shar
application/x-shar
.sit
application/x-stuffit
.sldm
application/vnd.ms-powerpoint.slide.macroEnabled.12
.sldx
application/vnd.openxmlformats-officedocument.presentationml.slide
.smd
audio/x-smd
.smi
.smx
.smz
.snd
.snp
.spc
.spl
application/futuresplash
.src
application/x-wais-source
.ssm
application/streamingmedia
.sst
application/vnd.ms-pki.certstore
.stl
application/vnd.ms-pki.stl
.sv4cpio
application/x-sv4cpio
.sv4crc
application/x-sv4crc
.swf
application/x-shockwave-flash
.t
.tar
application/x-tar
.tcl
application/x-tcl
.tex
application/x-tex
.texi
application/x-texinfo
.texinfo
.tgz
application/x-compressed
.thmx
application/vnd.ms-officetheme
.thn
.tif
image/tiff
.tiff
.toc
.tr
.trm
application/x-msterminal
.tsv
text/tab-separated-values
.ttf
.txt
.u32
.uls
text/iuls
.ustar
application/x-ustar
.vbs
text/vbscript
.vcf
text/x-vcard
.vcs
.vdx
application/vnd.ms-visio.viewer
.vml
.vsd
application/vnd.visio
.vss
.vst
.vsto
application/x-ms-vsto
.vsw
.vsx
.vtx
.wav
audio/wav
.wax
audio/x-ms-wax
.wbmp
image/vnd.wap.wbmp
.wcm
application/vnd.ms-works
.wdb
.wks
.wm
video/x-ms-wm
.wma
audio/x-ms-wma
.wmd
application/x-ms-wmd
.wmf
application/x-msmetafile
.wml
text/vnd.wap.wml
.wmlc
application/vnd.wap.wmlc
.wmls
text/vnd.wap.wmlscript
.wmlsc
application/vnd.wap.wmlscriptc
.wmp
video/x-ms-wmp
.wmv
video/x-ms-wmv
.wmx
video/x-ms-wmx
.wmz
application/x-ms-wmz
.wps
.wri
application/x-mswrite
.wrl
.wrz
.wsdl
.wvx
video/x-ms-wvx
.x
application/directx
.xaf
.xaml
application/xaml+xml
.xap
application/x-silverlight-app
.xbap
application/x-ms-xbap
.xbm
image/x-xbitmap
.xdr
.xla
application/vnd.ms-excel
.xlam
application/vnd.ms-excel.addin.macroEnabled.12
.xlc
.xlm
.xls
.xlsb
application/vnd.ms-excel.sheet.binary.macroEnabled.12
.xlsm
application/vnd.ms-excel.sheet.macroEnabled.12
.xlsx
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xlt
.xltm
application/vnd.ms-excel.template.macroEnabled.12
.xltx
application/vnd.openxmlformats-officedocument.spreadsheetml.template
.xlw
.xml
.xof
.xpm
image/x-xpixmap
.xps
application/vnd.ms-xpsdocument
.xsd
.xsf
.xsl
.xslt
.xsn
.xtp
.xwd
image/x-xwindowdump
.z
application/x-compress
.zip
application/x-zip-compressed
bear w/ some early (and wishful) thinking ...
I have a great RIA, with navigation inside of it (i.e. its own menus and scene transitions in the RIA).
My challenge is that I took advantage of the RIA's stateful model to optimize the experience; in other words, I avoided request-response; I do load new scenes, but of course it is all inside the RIA ...
The problem is that I often find myself clicking "Back" button... and there fore losing the state in the RIA... AAARGHHHH!!
What are the best practices for this type of app? I would love to see an app that handles this gracefully... If you wrote one, please feel free to email me or leave a URL in the comments..
My best answer so far is save state often so I can come back to it.. but I have a lot of challenges (like trying to differentiate between new requests, desired reloads, etc. quite messy )
-- --------------- ----------------
In the mean time, here is a quick (not thoroughly fleshed) wish list for all browsers...
1) Can browsers expose a "Confirm back/forward" event for user to confirm this is what they wanted to do...
What I want is when my HTML page is loaded, and before it loads my plug-in, the browser gets told, please ask user to Confirm if they click (go back/ go forward)..
I am not saying 'ignore the users command, but allow the plug-in to let the browser know it is a RIA and ask user to Confirm when mixing navigation.. The browser can handle the confirmation, to prevent annoying session hi-jacking, which btw I see on plain standards-based sites, so I assume is doable regardless of a Confirm. Yes, I know some people will find it confirmation annoying, but I think it would be up to the application provider to decide.. The user or consumer is still in control - when I go to a website that annoys me, I just don't go back-. Confirm is an 'opt-in' behavior.
2) While I am dreaming, could the browser allow "Trusted sites" to manipulate the history? Maybe an extra journal and Back button for within the RIA? This way I can enter entries into the Journal and users follow their known paradigm ... but with in the context of the app they are running.. {which I believe is what customers would want a large % of the time}
[ I am not saying replace Back button, I am saying offer more options; user still in control, we have this w/ active documents merging menus with their hosts ]
Thoughts?? I am sure lots a people will laugh and think I am naive about browser session hijacking, etc.. I am cool with that.. I leave it to smarter people ( e.g. IE team or w3c ) to figure how to nail the details; I still think the functionality is a nice to have and I am thinking the problem is solvable elegantly if the browsers or w3 define a standard approach..
Does what I need exist already?? I know smart client gets around this.. but I am trying to stay web (plus a small plug-in like Silverlight ) so bear with me...
Thanks & sorry for rambling or rant... it was in my head today and I did not seem to crack it..
Mole is a very handy visualizer for Visual Studio (.NET) developers. I am late to try it, because it felt similar to snoop, but I installed Mole recently to see what the hype was about and now I find myself using it all the time.. It is incredibly convenient to have all this information available inside Visual Studio...
If you have not downloaded it yet, Karl Shifflett just released a sweeeettt v4. I highly recommend it..
--- A few extra Mole thoughts:
Happy mole'ng...
I posted before on the "firefox unresponsive script warning" but enough people have asked off-line to warrant this attempt to explain the issue (since it is not what people expect, and can be tricky to track).
The explanation: The warning is prompted by Mozilla's heuristics to check on long running scripts (details on these heuristics way below). The problem is that for silverlight or any plug-in that makes Javascript calls, Firefox some times does not reset the timer for the scripts called from plug-ins: If you fire multiple events from a plug-in the events are obviously handled sequentially, if a new event happens while an event handler is executing, then Firefox does not reset its counter for the script time out; it measures the time from these two events as a single script.
What does this mean (by example)? :
How to get around it? So far window.setTimeout () seems to work best (though I can't say it works 100% of the time). Your mileage may vary, but here is what I do:
Overall, setTimeout is not a perfect workaround, but best I come up with so far.
---
Does the explanation above make sense??? If not, here is a practical repro of the problem, it might make it easier for people to understand.. Requirements:
Steps to repro:
To reproduce the problem using a short MouseMove handler ,
A few more details or references on Firefox and their timeout heuristics .
Firefox controls its time out based on the dom.max_script_run_time setting, which you can tweak via the about://config moniker; the default timeout in most recent versions is 10 seconds.