%3CLINGO-SUB%20id%3D%22lingo-sub-791096%22%20slang%3D%22en-US%22%3EService%20Fabric%20SDK%20Preview%20%E2%80%93%201.0.328%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-791096%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3E%20First%20published%20on%20MSDN%20on%20Aug%2003%2C%202015%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%3CP%3E%3CEM%3E%20This%20post%20was%20authored%20by%20Sean%20McKenna%2C%20a%20Program%20Manager%20in%20the%20Azure%20Service%20Fabric%20Team.%20%3C%2FEM%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CEM%3E%20%3C%2FEM%3E%20We%20recently%20released%20a%20small%20update%20to%20the%20Service%20Fabric%20SDK%20Preview.%20The%20primary%20purpose%20of%20this%20release%20is%20to%20provide%20compatibility%20with%20the%20RTM%20release%20of%20Visual%20Studio%202015%2C%20which%20recently%20went%20live.%20In%20addition%2C%20you%E2%80%99ll%20notice%20a%20few%20small%20tooling%20changes%2C%20some%20based%20on%20your%20feedback%20and%20others%20which%20provide%20a%20hint%20about%20where%20we%E2%80%99re%20going.%3C%2FP%3E%3CBR%20%2F%3E%3CH2%20id%3D%22toc-hId-1796068673%22%20id%3D%22toc-hId-1796069410%22%3EWhat%E2%80%99s%20new%3C%2FH2%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20Two-phase%20project%20creation%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EIn%20our%20first%20SDK%20preview%2C%20the%20new%20project%20wizard%20combined%20the%20creation%20of%20the%20Service%20Fabric%20application%20with%20its%20first%20service%2C%20either%20a%20stateless%2Fstateful%20reliable%20service%20or%20a%20stateless%2Fstateful%20actor%20service.%20The%20problem%20was%20that%20the%20dialog%20only%20allowed%20you%20to%20provide%20one%20project%20name%2C%20so%20your%20application%20and%20its%20first%20service%20ended%20up%20with%20very%20similar%20names%20%E2%80%93%20say%2C%20HelloWorldApplication%20(application%20project)%20and%20HelloWorld%20(service%20project).%20On%20the%20surface%2C%20that%20doesn%E2%80%99t%20seem%20like%20a%20big%20deal%20but%20in%20practice%20it%20results%20in%20a%20lot%20of%20renaming.%20After%20all%2C%20as%20a%20microservices%20platform%2C%20Service%20Fabric%20encourages%20the%20creation%20of%20a%20series%20of%20scoped%2C%20independent%20services.%20A%20service%20whose%20name%20is%20very%20similar%20to%20the%20application%20name%20suggests%20an%20outsized%20importance%20for%20that%20service%20relative%20to%20its%20peers%2C%20which%20usually%20isn%E2%80%99t%20desirable.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ENow%2C%20when%20you%20create%20a%20new%20application%2C%20you%20have%20the%20opportunity%20to%20name%20the%20application%20first%2C%20then%20choose%20the%20first%20type%20of%20service%20and%20provide%20it%20with%20a%20distinct%20name.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CIMG%20alt%3D%22%22%20border%3D%220%22%20original-url%3D%22http%3A%2F%2Fblogs.msdn.com%2Fresized-image.ashx%2F__size%2F550x0%2F__key%2Fcommunityserver-blogs-components-weblogfiles%2F00-00-01-72-14%2F8080.img1.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F125799i8207F7B016F0048C%22%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CIMG%20alt%3D%22%22%20border%3D%220%22%20original-url%3D%22http%3A%2F%2Fblogs.msdn.com%2Fresized-image.ashx%2F__size%2F550x0%2F__key%2Fcommunityserver-blogs-components-weblogfiles%2F00-00-01-72-14%2F8270.img2.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F125800i8A240FF6F400E796%22%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20Remove%20application%20instance%20now%20available%20from%20Server%20Explorer%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThe%20Remove%20operation%20has%20been%20moved%20from%20the%20application%20project%E2%80%99s%20context%20menu%20to%20the%20Service%20Fabric%20cluster%20node%20in%20Server%20Explorer.%20This%20accounts%20for%20the%20fact%20that%20remove%20is%20really%20a%20cluster-specific%20operation%2C%20rather%20than%20one%20associated%20with%20the%20application%20package%20on%20your%20dev%20machine.%20You%20can%20choose%20to%20either%20remove%20an%20individual%20app%20instance%20or%20the%20entire%20application%20type.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CIMG%20alt%3D%22%22%20border%3D%220%22%20original-url%3D%22http%3A%2F%2Fblogs.msdn.com%2Fresized-image.ashx%2F__size%2F550x0%2F__key%2Fcommunityserver-blogs-components-weblogfiles%2F00-00-01-72-14%2F1616.img3.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F125801iBED57C36277D727F%22%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20First%20signs%20of%20remote%20publishing%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EIf%20you%20create%20a%20new%20project%2C%20you%20may%20notice%20that%20the%20template%20now%20includes%20a%20PublishProfiles%20folder.%20At%20the%20moment%2C%20it%20includes%20a%20single%2C%20mostly%20empty%20file%20named%20Local.xml.%20Eventually%2C%20there%20will%20be%20multiple%20profiles%20mapping%20to%20the%20different%20environments%20you%20may%20want%20to%20deploy%20to.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EAlong%20the%20same%20lines%2C%20the%20application%20project%20context%20menu%20now%20includes%20an%20entry%20for%20Publish%3A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CIMG%20alt%3D%22%22%20border%3D%220%22%20original-url%3D%22http%3A%2F%2Fblogs.msdn.com%2Fresized-image.ashx%2F__size%2F550x0%2F__key%2Fcommunityserver-blogs-components-weblogfiles%2F00-00-01-72-14%2F5758.img4.png%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F125802iABB543CEB2640C0A%22%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThis%20doesn%E2%80%99t%20do%20anything%20yet%20because%20we%20haven%E2%80%99t%20opened%20up%20the%20ability%20to%20create%20clusters%20in%20Azure.%20But%20these%20are%20the%20first%20signs%20of%20a%20world%20beyond%20your%20dev%20box%E2%80%A6%20%3CSTRONG%3E%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3CH2%20id%3D%22toc-hId--756088288%22%20id%3D%22toc-hId--756087551%22%3EUpdating%20your%20dev%20environment%3C%2FH2%3E%3CBR%20%2F%3E%3CP%3EFollow%20the%20instructions%20%3CA%20href%3D%22http%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fdocumentation%2Farticles%2Fservice-fabric-update-your-development-environment%2F%3Frnd%3D1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%20%3C%2FA%3Eto%20update%20your%20development%20environment.%20Your%20existing%20projects%20should%20continue%20to%20open%20and%20run%20without%20modification.%20However%2C%20if%20you%20run%20into%20issues%2C%20consider%20creating%20a%20new%20project%20and%20migrating%20your%20code%20over.%3C%2FP%3E%3CBR%20%2F%3E%3CH2%20id%3D%22toc-hId-986722047%22%20id%3D%22toc-hId-986722784%22%3EQuestions%2Fcomments%2Fissues%3F%3C%2FH2%3E%3CBR%20%2F%3E%3CP%3EIf%20you%20have%20any%20trouble%20upgrading%20to%20the%20new%20SDK%2C%20you%20can%20find%20us%20on%20the%20usual%20channels%3A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Twitter%3A%20%23AzureServiceFabric%20or%20%23ServiceFabric%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20MSDN%20Forums%3A%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fservicefabricforum%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Fservicefabricforum%3C%2FA%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20StackOverflow%3A%20%3CA%20href%3D%22http%3A%2F%2Fstackoverflow.com%2Fquestions%2Ftagged%2Fazure-service-fabric%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fstackoverflow.com%2Fquestions%2Ftagged%2Fazure-service-fabric%3C%2FA%3E%3C%2FP%3E%0A%20%0A%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-791096%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20MSDN%20on%20Aug%2003%2C%202015%20This%20post%20was%20authored%20by%20Sean%20McKenna%2C%20a%20Program%20Manager%20in%20the%20Azure%20Service%20Fabric%20Team.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-791096%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPreview%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESDK%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Evs%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Senior Member
First published on MSDN on Aug 03, 2015

This post was authored by Sean McKenna, a Program Manager in the Azure Service Fabric Team.


We recently released a small update to the Service Fabric SDK Preview. The primary purpose of this release is to provide compatibility with the RTM release of Visual Studio 2015, which recently went live. In addition, you’ll notice a few small tooling changes, some based on your feedback and others which provide a hint about where we’re going.


What’s new


Two-phase project creation


In our first SDK preview, the new project wizard combined the creation of the Service Fabric application with its first service, either a stateless/stateful reliable service or a stateless/stateful actor service. The problem was that the dialog only allowed you to provide one project name, so your application and its first service ended up with very similar names – say, HelloWorldApplication (application project) and HelloWorld (service project). On the surface, that doesn’t seem like a big deal but in practice it results in a lot of renaming. After all, as a microservices platform, Service Fabric encourages the creation of a series of scoped, independent services. A service whose name is very similar to the application name suggests an outsized importance for that service relative to its peers, which usually isn’t desirable.


Now, when you create a new application, you have the opportunity to name the application first, then choose the first type of service and provide it with a distinct name.







Remove application instance now available from Server Explorer


The Remove operation has been moved from the application project’s context menu to the Service Fabric cluster node in Server Explorer. This accounts for the fact that remove is really a cluster-specific operation, rather than one associated with the application package on your dev machine. You can choose to either remove an individual app instance or the entire application type.




First signs of remote publishing


If you create a new project, you may notice that the template now includes a PublishProfiles folder. At the moment, it includes a single, mostly empty file named Local.xml. Eventually, there will be multiple profiles mapping to the different environments you may want to deploy to.


Along the same lines, the application project context menu now includes an entry for Publish:



This doesn’t do anything yet because we haven’t opened up the ability to create clusters in Azure. But these are the first signs of a world beyond your dev box…


Updating your dev environment


Follow the instructions here to update your development environment. Your existing projects should continue to open and run without modification. However, if you run into issues, consider creating a new project and migrating your code over.


Questions/comments/issues?


If you have any trouble upgrading to the new SDK, you can find us on the usual channels:


-        Twitter: #AzureServiceFabric or #ServiceFabric


-        MSDN Forums: https://aka.ms/servicefabricforum


-        StackOverflow: http://stackoverflow.com/questions/tagged/azure-service-fabric