{"id":17561,"date":"2024-01-08T15:00:24","date_gmt":"2024-01-08T23:00:24","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/?p=17561"},"modified":"2024-04-29T08:41:57","modified_gmt":"2024-04-29T15:41:57","slug":"announcing-fluid-framework-2-0-beta","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/announcing-fluid-framework-2-0-beta\/","title":{"rendered":"Announcing Fluid Framework 2.0 Beta"},"content":{"rendered":"<p>We\u2019ve seen dramatic growth in the demand for collaborative tools over the last decade. In modern work, people see real-time collaboration as an essential component of the tools they use. At Microsoft, we\u2019ve built highly scalable real-time collaboration into our applications for years. Fluid Framework brings these capabilities to the open-source developer community.<\/p>\n<p>Today <strong>Fluid Framework 2.0<\/strong> is available in Beta! Fluid Framework 2.0 is an open-source platform for rapidly building powerful collaborative experiences. It offers an intuitive programming model that makes it simple for developers to synchronize shared state between clients in real-time.<\/p>\n<p>Developers can use Fluid Framework 2.0 to add collaboration to new or existing apps. It offers a schematized data model, so developers can continue to use their existing data model and quickly make their apps collaborative.<\/p>\n<p>In addition to existing <a href=\"https:\/\/azure.microsoft.com\/en-us\/products\/fluid-relay\"><strong>Azure Fluid Relay<\/strong><\/a> support, we now support the newly announced <a href=\"https:\/\/learn.microsoft.com\/en-us\/sharepoint\/dev\/embedded\/overview\"><strong>SharedPoint Embedded<\/strong><\/a> service, which allows end users to collaborate on content stored inside their organization\u2019s Microsoft 365 tenant. This offers all the features of Fluid Framework combined with the scale, performance, security, and compliance of Microsoft 365. Now developers can offer more choices for the storage and handling of their end users\u2019 collaborative data.<\/p>\n<p style=\"text-align: center;\"><iframe src=\"\/\/www.youtube.com\/embed\/uL2nMYk6WTQ?si=sQWCs32OnUfzylv1\" width=\"560\" height=\"314\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2>How it works<\/h2>\n<p>Fluid Framework enables real-time collaboration by providing developers with easy-to-use data structures which Fluid Framework automatically keeps in sync between clients. Fluid Framework handles the complexity of synching and merging changes from multiple clients, so developers don\u2019t need to write any custom server code or complex merge semantics.<\/p>\n<p>Fluid Framework offers an approachable programming model that leverages mainstream web technology while delivering best-in-class performance, correctness, and low service costs. Learn more at <a href=\"https:\/\/aka.ms\/fluid\">https:\/\/aka.ms\/fluid<\/a>.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/01\/FF-Stack-1.jpeg\"><img decoding=\"async\" class=\"aligncenter wp-image-17570 size-large\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/01\/FF-Stack-1-1024x556.jpeg\" alt=\"\" width=\"640\" height=\"348\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/01\/FF-Stack-1-1024x556.jpeg 1024w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/01\/FF-Stack-1-300x163.jpeg 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/01\/FF-Stack-1-768x417.jpeg 768w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/01\/FF-Stack-1-1536x833.jpeg 1536w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/01\/FF-Stack-1.jpeg 1701w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<h2>Data Modeling with SharedTree<\/h2>\n<p>We\u2019ve listened to developer feedback and made it even easier to model collaborative data with Fluid Framework 2.0. The new SharedTree Distributed Data Structure (DDS) provides an intuitive programming interface for working with data and supports a broad range of data types including objects, arrays, and maps.<\/p>\n<p>Like other Fluid Framework distributed data structures, SharedTree is designed to use the same patterns developers would use when working with local data structures such as an object model. The difference is that the data can be changed remotely and is kept <a id=\"post-17561-_Int_QCbOtwV4\"><\/a>in sync by the Fluid Framework. SharedTree includes sophisticated merge semantics for working with arrays and supports features like atomic move operations that make working with collaborative data much simpler.<\/p>\n<h2>SharePoint Embedded<\/h2>\n<p>Fluid Framework 2.0 beta offers support for a new relay service called <strong>SharePoint Embedded<\/strong> that allows developers to keep collaborative data within a Microsoft 365 tenant. Enterprise developers can build collaborative line of business apps while benefiting from all features of Microsoft 365 storage including security and compliance. ISVs can also leverage this option in their collaborative apps, with the data being managed within the end customer\u2019s tenant.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/01\/spe.jpg\"><img decoding=\"async\" class=\"aligncenter wp-image-17571 size-large\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/01\/spe-1024x477.jpg\" alt=\"\" width=\"640\" height=\"298\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/01\/spe-1024x477.jpg 1024w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/01\/spe-300x140.jpg 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/01\/spe-768x358.jpg 768w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/01\/spe.jpg 1230w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>SharePoint Embedded support, in addition to the existing Azure Fluid Relay support, gives developers more choice and flexibility in picking the best service pairing for their Fluid Framework apps based on their customer\u2019s needs.<\/p>\n<p><a href=\"https:\/\/learn.microsoft.com\/en-us\/sharepoint\/dev\/embedded\/mslearn\/m02-01-intro\">Learn more about SharePoint Embedded<\/a> and how developers can build Fluid Framework-based collaborative apps with it.<\/p>\n<h2>Fluid Framework usage today<\/h2>\n<p>Fluid Framework has been powering various first-party Microsoft apps as well as third party apps from our partners.<\/p>\n<ul>\n<li><a href=\"https:\/\/techcommunity.microsoft.com\/t5\/microsoft-365-blog\/microsoft-loop-built-for-the-new-way-of-work-generally-available\/ba-p\/3982247\">Microsoft Loop<\/a>, our new app designed for supercharging collaborative work, is powered by Fluid Framework technology and includes Loop components that are kept in sync across various apps. It&#8217;s already powered by SharePoint Embedded in production!<\/li>\n<li><a href=\"https:\/\/www.microsoft.com\/en-us\/microsoft-365\/microsoft-whiteboard\/digital-whiteboard-app\">Microsoft Whiteboard<\/a> is our app for real-time visual collaboration on a shared canvas and harnesses the performance and efficiency of Fluid Framework<\/li>\n<li><a href=\"https:\/\/developer.microsoft.com\/en-us\/microsoft-teams\/liveshare\">Microsoft Teams Live Share<\/a> is an SDK that allows developers to build collaborative experiences in Microsoft Teams and offers a no-config service setup backed by <a href=\"https:\/\/azure.microsoft.com\/en-ca\/products\/fluid-relay\/\">Azure Fluid Relay<\/a><\/li>\n<li>Hexagon, an open-source contributor to Fluid Framework, has built a cloud-based platform, <a href=\"https:\/\/nexus.hexagon.com\/\">Hexagon Nexus<\/a>, that connects people, technologies, and data to drive innovation and collaboration for the manufacturing industry<\/li>\n<li>Autodesk is an open-source contributor to Fluid Framework and has built various apps and solutions leveraging the technology to provide real-time collaboration features to users of their applications<\/li>\n<\/ul>\n<h2>Start building today!<\/h2>\n<p>Fluid Framework 2.0 is now available in Beta, with general availability planned for this summer.<\/p>\n<p>Visit the following resources to learn more:<\/p>\n<ul>\n<li><a href=\"https:\/\/aka.ms\/fluid\/start\">Get Started<\/a> with Fluid Framework 2.0<\/li>\n<li><a href=\"https:\/\/aka.ms\/fluid\/samples\">Sample app code<\/a> using SharedTree and SharePoint Embedded<\/li>\n<li>For questions or feedback, <a href=\"https:\/\/aka.ms\/fluid\/discuss\">reach out via Github<\/a><\/li>\n<li><a href=\"https:\/\/aka.ms\/fluid\/connect\">Connect directly with the Fluid team<\/a>, we\u2019d love to hear what you\u2019re building!<\/li>\n<li>Follow <a href=\"http:\/\/twitter.com\/fluidframework\">@FluidFramework on X (Twitter)<\/a> to stay updated<\/li>\n<\/ul>\n<p>We\u2019re extremely excited about all the innovations in Fluid Framework 2.0 to enable rapid development of real-time collaborative experiences and empower developers to offer a highly scalable and performant experience to their users! We look forward to listening and learning more from the <a href=\"https:\/\/aka.ms\/fluid\/discuss\">community on Github<\/a>.<\/p>\n<p>For news and other announcements, follow <a href=\"http:\/\/twitter.com\/microsoft365dev\">@Microsoft365Dev on X (Twitter)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fluid Framework 2.0 is an open-source platform for rapidly building powerful collaborative experiences.<\/p>\n","protected":false},"author":121366,"featured_media":17575,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6],"tags":[118],"class_list":["post-17561","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fluid-framework","tag-fluid-framework"],"acf":[],"blog_post_summary":"<p>Fluid Framework 2.0 is an open-source platform for rapidly building powerful collaborative experiences.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/17561","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/121366"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=17561"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/17561\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/17575"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=17561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=17561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=17561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}