{"id":2385,"date":"2013-09-09T23:30:28","date_gmt":"2013-09-10T06:30:28","guid":{"rendered":"http:\/\/www.cloudidentity.com\/blog\/?p=2385"},"modified":"2013-09-09T23:32:17","modified_gmt":"2013-09-10T06:32:17","slug":"whats-new-for-organizational-accounts-in-visual-studio-2013-rc","status":"publish","type":"post","link":"https:\/\/www.cloudidentity.com\/blog\/2013\/09\/09\/whats-new-for-organizational-accounts-in-visual-studio-2013-rc\/","title":{"rendered":"What&rsquo;s New for Organizational Accounts in Visual Studio 2013 RC"},"content":{"rendered":"<p>As I am sure you guys already saw, today we released <a href=\"http:\/\/blogs.msdn.com\/b\/somasegar\/archive\/2013\/09\/09\/announcing-the-visual-studio-2013-release-candidate.aspx\">the RC of Visual Studio 2013<\/a>. Getting closer! <img decoding=\"async\" class=\"wlEmoticon wlEmoticon-smile\" alt=\"Smile\" src=\"https:\/\/www.cloudidentity.com\/blog\/wp-content\/uploads\/2013\/09\/wlEmoticon-smile.png\" \/><\/p>\n<p>This release contains some improvements to the organizational accounts support we (==Active Directory and ASP.NET teams) collaborated on. Here there\u2019s an unofficial (and likely incomplete) list of the main news in that area.<\/p>\n<h3>Yes, It Ships In the Box! \u266b<\/h3>\n<p>Remember? With the Preview you had to download an additional update to get the Organizational features. With the RC, you get all of it in <a href=\"http:\/\/www.microsoft.com\/visualstudio\/eng\/2013-downloads\">the main setup<\/a>.<\/p>\n<h3>More Control, Less Clutter<\/h3>\n<p>The Organizational Accounts portion of the new authentication section in the ASP.NET project creation dialog got a bit clearer, while at the same time offering more features.<\/p>\n<p>For example, here there\u2019s the dialog we had in the Preview for single org\/MVC apps:<\/p>\n<p><a href=\"https:\/\/www.cloudidentity.com\/blog\/wp-content\/uploads\/2013\/09\/oldlayout.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"oldlayout\" alt=\"oldlayout\" src=\"https:\/\/www.cloudidentity.com\/blog\/wp-content\/uploads\/2013\/09\/oldlayout_thumb.png\" width=\"578\" height=\"359\" border=\"0\" \/><\/a><\/p>\n<p>And here there\u2019s its counterpart in the RC. Please ignore the differences in the windows\u2019 chrome, the one above is from a Windows 8.1 box and the one below from a Windows 7 one.<\/p>\n<p><a href=\"https:\/\/www.cloudidentity.com\/blog\/wp-content\/uploads\/2013\/09\/image.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"image\" alt=\"image\" src=\"https:\/\/www.cloudidentity.com\/blog\/wp-content\/uploads\/2013\/09\/image_thumb.png\" width=\"580\" height=\"361\" border=\"0\" \/><\/a><\/p>\n<p>Pretty neat! You might notice that the Application ID URI (the Realm, for old timers) is gone, but in fact it is not <em>really<\/em> gone. Simply, it has been moved to the collapsible region handled by the More Options control. Given that in the majority of cases you are going to accept the default anyway, there\u2019s not much point to crowd the UI with it! This is an item I always cared disproportionally for, from the very UI mockup (good times with my friend Saurabh Pant <img decoding=\"async\" class=\"wlEmoticon wlEmoticon-smile\" alt=\"Smile\" src=\"https:\/\/www.cloudidentity.com\/blog\/wp-content\/uploads\/2013\/09\/wlEmoticon-smile.png\" \/>) and I am super glad to see it shipping.<\/p>\n<h3>Organizational Accounts Authentication Available for Web API<\/h3>\n<p>With the RC you can finally create a Web API project secured by Windows Azure AD right from the start! The experience is in line with what you get for Web UX app types (webforms, MVC) with the notable absence of the return URL (which would make no sense here).<\/p>\n<p>Just fill in the domain of your tenant\u2026<\/p>\n<p><a href=\"https:\/\/www.cloudidentity.com\/blog\/wp-content\/uploads\/2013\/09\/image1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"image\" alt=\"image\" src=\"https:\/\/www.cloudidentity.com\/blog\/wp-content\/uploads\/2013\/09\/image_thumb1.png\" width=\"591\" height=\"368\" border=\"0\" \/><\/a><\/p>\n<p>\u2026authenticate with the brand new ADAL authentication dialog\u2026<\/p>\n<p><a href=\"https:\/\/www.cloudidentity.com\/blog\/wp-content\/uploads\/2013\/09\/image2.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"image\" alt=\"image\" src=\"https:\/\/www.cloudidentity.com\/blog\/wp-content\/uploads\/2013\/09\/image_thumb2.png\" width=\"593\" height=\"416\" border=\"0\" \/><\/a><\/p>\n<p>and voila\u2019! You get a <strong>Web API project fully configured with the latest Katana middleware for validating Windows Azure AD tokens<\/strong> (see <a href=\"https:\/\/www.cloudidentity.com\/blog\/2013\/07\/23\/securing-a-web-api-with-windows-azure-ad-and-katana\/\">here for a deeeep dive<\/a>).<\/p>\n<p>What? You don\u2019t believe that the tool actually created the entry for the Web API? I guess you\u2019ll have to see for yourself, then. Here I am navigating to manage.windowsazure.com\/mytenant-&gt;Active Directory-&gt;Applications. As you can see, the entry is there!<\/p>\n<p><a href=\"https:\/\/www.cloudidentity.com\/blog\/wp-content\/uploads\/2013\/09\/image3.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"image\" alt=\"image\" src=\"https:\/\/www.cloudidentity.com\/blog\/wp-content\/uploads\/2013\/09\/image_thumb3.png\" width=\"202\" height=\"318\" border=\"0\" \/><\/a><\/p>\n<p>Note: the project template only takes care of the Web API side, you\u2019ll have to put together a client by hand as shown <a href=\"https:\/\/www.cloudidentity.com\/blog\/2013\/07\/23\/securing-a-web-api-with-windows-azure-ad-and-katana\/\">here<\/a>.<\/p>\n<h3>Structural Changes in the Templates<\/h3>\n<p>I don\u2019t want to go too much in the details here. The main news I\u2019d point out is about where apps cache validation coordinates. Project templates now rely on custom implementations of IssuerNameRegistry, which in turn save information about signing keys and issues in a proper database:<\/p>\n<p><a href=\"https:\/\/www.cloudidentity.com\/blog\/wp-content\/uploads\/2013\/09\/image4.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"image\" alt=\"image\" src=\"https:\/\/www.cloudidentity.com\/blog\/wp-content\/uploads\/2013\/09\/image_thumb4.png\" width=\"488\" height=\"189\" border=\"0\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>We\u2019re not done yet, but we\u2019re oh-so-close! <a href=\"http:\/\/blogs.msdn.com\/b\/somasegar\/archive\/2013\/09\/09\/announcing-the-visual-studio-2013-release-candidate.aspx\">Soma said it so well<\/a> that I\u2019ll quote him verbatim:<\/p>\n<blockquote><p>The Visual Studio 2013 RC is the next major step toward the Visual Studio 2013 release and the launch on November 13<sup>th<\/sup>. <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkId=306566\">Download<\/a> the bits, and <a href=\"http:\/\/events.visualstudio.com\/\">register <\/a>for the launch today!<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>As I am sure you guys already saw, today we released the RC of Visual Studio 2013. Getting closer! This release contains some improvements to the organizational accounts support we (==Active Directory and ASP.NET teams) collaborated on. Here there\u2019s an unofficial (and likely incomplete) list of the main news in that area. Yes,&#8230;<\/p>\n","protected":false},"author":1,"featured_media":2378,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2385","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/posts\/2385","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/comments?post=2385"}],"version-history":[{"count":2,"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/posts\/2385\/revisions"}],"predecessor-version":[{"id":2387,"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/posts\/2385\/revisions\/2387"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/media\/2378"}],"wp:attachment":[{"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/media?parent=2385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/categories?post=2385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/tags?post=2385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}