{"id":428,"date":"2011-09-15T02:53:54","date_gmt":"2011-09-15T02:53:54","guid":{"rendered":"http:\/\/www.themissingdocs.net\/wordpress\/?p=428"},"modified":"2011-09-15T02:53:54","modified_gmt":"2011-09-15T02:53:54","slug":"net-4-5-developer-preview","status":"publish","type":"post","link":"https:\/\/www.themissingdocs.net\/?p=428","title":{"rendered":".Net 4.5 Developer Preview"},"content":{"rendered":"<p>So I, like apparently many others, downloaded the windows 8 developer preview.<\/p>\n<p>Plenty of interesting stuff under the hood, but I decided to jump into .Net 4.5.\u00a0 In the dev preview there is a VS 11 Express edition, for Metro apps. I quickly discovered that .Net 4.5 &#8216;Core&#8217; Edition, which is what you can use in Metro, is quite a bit different. (How many hours did I spend trying to write the word hello to a file&#8230;)<\/p>\n<p>So I decided to do a version comparison. Enter <a href=\"http:\/\/www.themissingdocs.net\/downloads\/RuntimeVersionCompare.html\">RuntimeVersionCompare.html<\/a>.\u00a0 Note this is a 17MB html document, so it may take a little while to download &#8211; and I may have to find somewhere else to host it if it becomes popular&#8230;<\/p>\n<p>There are 4 colours used.\u00a0 Red means &#8216;Only in .Net 4&#8217;, Green means &#8216;Only in .Net 4.5&#8217;, Yellow means &#8216;Missing from .Net 4.5 Core&#8217; and white is whatever else is left over.\u00a0 With 5 flags (since I included the client profiles), there are potentially 31 scenarios for colouring, but I was lazy.\u00a0 Each entry does contain numbers mapping to which version contains the specific API, so if you don&#8217;t like the colours as they stand, a simple re-parse and output should fix that.\u00a0 (You could even risk it and try and do such a change using regular expressions&#8230;)<\/p>\n<p>You will see a lot of yellow &#8211; in part this is because of the absence of WinRT API in the output which Metro can use in addition to .Net 4.5 Core.\u00a0 WinRT API is missing mostly because it is described using winmd files, which I haven&#8217;t yet attempted to reverse-engineer. (Hopefully they are actually .Net metadata-only dll files in disguise and ildasm will process them just fine&#8230;)<\/p>\n<p>Also note that this analysis was all done using custom code which parses the output of IlDasm &#8211; as such it almost certainly contains errors, strange syntax in the output and many other flaws (not the least of which is that I didn&#8217;t use good CSS style in my output HTML).<\/p>\n<p>Feel free to do whatever you like with this document, although attribution would be nice, and please try to avoid downloading it more than once&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I, like apparently many others, downloaded the windows 8 developer preview. Plenty of interesting stuff under the hood, but I decided to jump into .Net 4.5.\u00a0 In the dev preview there is a VS 11 Express edition, for Metro apps. I quickly discovered that .Net 4.5 &#8216;Core&#8217; Edition, which is what you can use &hellip; <a href=\"https:\/\/www.themissingdocs.net\/?p=428\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">.Net 4.5 Developer Preview<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-428","post","type-post","status-publish","format-standard","hentry","category-net-stuff"],"_links":{"self":[{"href":"https:\/\/www.themissingdocs.net\/index.php?rest_route=\/wp\/v2\/posts\/428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.themissingdocs.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.themissingdocs.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.themissingdocs.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.themissingdocs.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=428"}],"version-history":[{"count":0,"href":"https:\/\/www.themissingdocs.net\/index.php?rest_route=\/wp\/v2\/posts\/428\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.themissingdocs.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.themissingdocs.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.themissingdocs.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}