Skip to content

Commit 36eea78

Browse files
authored
Merge minor snippets for remaining Azure Functions snippets (#7817)
* Undo exception for Functions projects * Fix in-proc minors * Worker model * Test for partial version boundaries * Rename any "x.0" partials to just the major * Adjust other partials to their major * Fix overlapping (really barely intersecting) version ranges
1 parent 871a656 commit 36eea78

File tree

88 files changed

+28
-68
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+28
-68
lines changed

Snippets/ASBFunctions/ASBFunctions.sln

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ASBFunctions_3", "ASBFuncti
66
EndProject
77
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ASBFunctions_4", "ASBFunctions_4\ASBFunctions_4.csproj", "{1C0F66B6-2590-4C72-8467-3066779294D5}"
88
EndProject
9-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ASBFunctions_4.4", "ASBFunctions_4.4\ASBFunctions_4.4.csproj", "{568C02E9-9C3A-4EEF-94B0-EBB05D6D52D2}"
10-
EndProject
119
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASBFunctions_5", "ASBFunctions_5\ASBFunctions_5.csproj", "{E2420EE8-2E10-C335-781E-A2150BBA7768}"
1210
EndProject
1311
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASBFunctions_6", "ASBFunctions_6\ASBFunctions_6.csproj", "{33025F80-C260-49AA-A320-7E5E71EEE6C0}"
@@ -26,10 +24,6 @@ Global
2624
{1C0F66B6-2590-4C72-8467-3066779294D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
2725
{1C0F66B6-2590-4C72-8467-3066779294D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
2826
{1C0F66B6-2590-4C72-8467-3066779294D5}.Release|Any CPU.Build.0 = Release|Any CPU
29-
{568C02E9-9C3A-4EEF-94B0-EBB05D6D52D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30-
{568C02E9-9C3A-4EEF-94B0-EBB05D6D52D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
31-
{568C02E9-9C3A-4EEF-94B0-EBB05D6D52D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
32-
{568C02E9-9C3A-4EEF-94B0-EBB05D6D52D2}.Release|Any CPU.Build.0 = Release|Any CPU
3327
{E2420EE8-2E10-C335-781E-A2150BBA7768}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
3428
{E2420EE8-2E10-C335-781E-A2150BBA7768}.Debug|Any CPU.Build.0 = Debug|Any CPU
3529
{E2420EE8-2E10-C335-781E-A2150BBA7768}.Release|Any CPU.ActiveCfg = Release|Any CPU

Snippets/ASBFunctions/ASBFunctions_4.4/ASBFunctions_4.4.csproj

Lines changed: 0 additions & 19 deletions
This file was deleted.

Snippets/ASBFunctions/ASBFunctions_4.4/Identity.cs

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
startcode asb-function-isolated-identity-connection
2+
[assembly: NServiceBusTriggerFunction("WorkerDemoEndpoint", Connection = "MyConnectionName")]
3+
endcode

Snippets/ASBFunctionsWorker/ASBFunctionsWorker.sln

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ASBFunctionsWorker_4", "ASB
1212
EndProject
1313
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ASBFunctionsWorker_5", "ASBFunctionsWorker_5\ASBFunctionsWorker_5.csproj", "{76C9FD22-8939-4F76-A858-60873B7A29C0}"
1414
EndProject
15-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ASBFunctionsWorker_5.1", "ASBFunctionsWorker_5.1\ASBFunctionsWorker_5.1.csproj", "{5B925676-9C6A-472C-84D8-74946005F8F0}"
16-
EndProject
1715
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASBFunctionsWorker_6", "ASBFunctionsWorker_6\ASBFunctionsWorker_6.csproj", "{B447A2D5-2B62-4198-9519-12339CCCA403}"
1816
EndProject
1917
Global
@@ -42,10 +40,6 @@ Global
4240
{76C9FD22-8939-4F76-A858-60873B7A29C0}.Debug|Any CPU.Build.0 = Debug|Any CPU
4341
{76C9FD22-8939-4F76-A858-60873B7A29C0}.Release|Any CPU.ActiveCfg = Release|Any CPU
4442
{76C9FD22-8939-4F76-A858-60873B7A29C0}.Release|Any CPU.Build.0 = Release|Any CPU
45-
{5B925676-9C6A-472C-84D8-74946005F8F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
46-
{5B925676-9C6A-472C-84D8-74946005F8F0}.Debug|Any CPU.Build.0 = Debug|Any CPU
47-
{5B925676-9C6A-472C-84D8-74946005F8F0}.Release|Any CPU.ActiveCfg = Release|Any CPU
48-
{5B925676-9C6A-472C-84D8-74946005F8F0}.Release|Any CPU.Build.0 = Release|Any CPU
4943
{B447A2D5-2B62-4198-9519-12339CCCA403}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
5044
{B447A2D5-2B62-4198-9519-12339CCCA403}.Debug|Any CPU.Build.0 = Debug|Any CPU
5145
{B447A2D5-2B62-4198-9519-12339CCCA403}.Release|Any CPU.ActiveCfg = Release|Any CPU

Snippets/ASBFunctionsWorker/ASBFunctionsWorker_5.1/ASBFunctionsWorker_5.1.csproj

Lines changed: 0 additions & 17 deletions
This file was deleted.

Snippets/ASBFunctionsWorker/ASBFunctionsWorker_5.1/Identity.cs

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#startcode asb-function-isolated-identity-connection
2+
[assembly: NServiceBusTriggerFunction("WorkerDemoEndpoint", Connection = "MyConnectionName")]
3+
#endcode

Snippets/ASBFunctionsWorker/ASBFunctionsWorker_5.1/TriggerDefinition.cs renamed to Snippets/ASBFunctionsWorker/ASBFunctionsWorker_5/TriggerDefinition.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
using Microsoft.Extensions.Hosting;
66
using NServiceBus;
77

8+
namespace CustomTriggerDefinition;
9+
810
#region custom-trigger-definition
911

1012
class CustomTriggerDefinition

0 commit comments

Comments
 (0)