Templates for Durable Functions Entity in isolated #1666
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces two new Durable Functions templates for Azure Functions:
DurableFunctionsEntityClass
andDurableFunctionsEntityFunction
. These additions enhance the support for Durable Entities in isolated C# projects by providing pre-configured templates for creating stateful entities and their associated functions. Below is a summary of the key changes:Template Additions
New
DurableFunctionsEntityClass
Template:template.json
) forDurableFunctionsEntityClass
, defining metadata, classifications, and post-actions like NuGet package references for DurableTask and Http extensions.vs-2017.3.host.json
) for integrating the template into Visual Studio.DurableFunctionsEntityClassCSharp.cs
, a sample implementation of a stateful counter using Durable Entities.New
DurableFunctionsEntityFunction
Template:template.json
) forDurableFunctionsEntityFunction
, defining metadata, classifications, and post-actions similar to the class template.vs-2017.3.host.json
) for integrating the function template into Visual Studio.DurableFunctionsEntityFunctionCSharp.cs
, a static implementation for managing stateful operations using Durable Entities.Package File Updates
ItemTemplates-Isolated_NetCore_v4.x.nuspec
,ItemTemplates-Isolated_NetFx_v4.x.nuspec
, andItemTemplates-Isolated_v4.x.nuspec
to include the new templates for bothDurableFunctionsEntityClass
andDurableFunctionsEntityFunction
. [1] [2] [3]