Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions all.sln
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Client", "Client", "{A7F410
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StateManagement", "examples\Client\StateManagement\StateManagement.csproj", "{F70AC78E-8925-4770-832A-2FC67A620EB2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServiceInvocation", "examples\Client\ServiceInvocation\ServiceInvocation.csproj", "{8B570E70-0E73-4042-A4B6-1CC3CC782A65}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dapr.E2E.Test", "test\Dapr.E2E.Test\Dapr.E2E.Test.csproj", "{4AA9E7B7-36BF-4AAE-BFA3-C9CE8740F4A0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dapr.E2E.Test.App", "test\Dapr.E2E.Test.App\Dapr.E2E.Test.App.csproj", "{345FC3FB-D1E9-4AE8-9052-17D20AB01FA2}"
Expand Down Expand Up @@ -327,10 +325,6 @@ Global
{F70AC78E-8925-4770-832A-2FC67A620EB2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F70AC78E-8925-4770-832A-2FC67A620EB2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F70AC78E-8925-4770-832A-2FC67A620EB2}.Release|Any CPU.Build.0 = Release|Any CPU
{8B570E70-0E73-4042-A4B6-1CC3CC782A65}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8B570E70-0E73-4042-A4B6-1CC3CC782A65}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8B570E70-0E73-4042-A4B6-1CC3CC782A65}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8B570E70-0E73-4042-A4B6-1CC3CC782A65}.Release|Any CPU.Build.0 = Release|Any CPU
{4AA9E7B7-36BF-4AAE-BFA3-C9CE8740F4A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4AA9E7B7-36BF-4AAE-BFA3-C9CE8740F4A0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4AA9E7B7-36BF-4AAE-BFA3-C9CE8740F4A0}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down Expand Up @@ -636,7 +630,6 @@ Global
{CC0A5C98-ACDE-4139-BA2F-2995A9B8E18C} = {02374BD0-BF0B-40F8-A04A-C4C4D61D4992}
{A7F41094-8648-446B-AECD-DCC2CC871F73} = {D687DDC4-66C5-4667-9E3A-FD8B78ECAA78}
{F70AC78E-8925-4770-832A-2FC67A620EB2} = {A7F41094-8648-446B-AECD-DCC2CC871F73}
{8B570E70-0E73-4042-A4B6-1CC3CC782A65} = {A7F41094-8648-446B-AECD-DCC2CC871F73}
{F80F837E-D2FC-4FFC-B68F-3CF0EC015F66} = {A7F41094-8648-446B-AECD-DCC2CC871F73}
{35031EDB-C0DE-453A-8335-D2EBEA2FC640} = {A7F41094-8648-446B-AECD-DCC2CC871F73}
{07578B6C-9B96-4B3D-BA2E-7800EFCA7F99} = {27C5D71D-0721-4221-9286-B94AB07B58CF}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using ControllerSample;
using Dapr;
Expand Down Expand Up @@ -54,6 +55,7 @@ public Task SubscribeAndWatchConfiguration()

#nullable enable
[HttpPost("withdraw")]
[Obsolete]
public async Task<ActionResult<Account>> CreateAccountHandler(Transaction transaction)
{
// Check if the V2 method is enabled.
Expand Down Expand Up @@ -83,4 +85,4 @@ public async Task<ActionResult<Account>> CreateAccountHandler(Transaction transa
return await this.client.InvokeMethodAsync<Transaction, Account>("controller", "withdraw", transaction);
}
#nullable disable
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public class BindingController(DaprClient client, ILogger<BindingController> log
private string appId = Environment.GetEnvironmentVariable("APP_ID");

[HttpPost("cronbinding")]
[Obsolete]
public async Task<IActionResult> HandleBindingEvent()
{
logger.LogInformation("Received binding event on {appId}, scanning for work.", appId);
Expand All @@ -40,7 +39,6 @@ public async Task<IActionResult> HandleBindingEvent()
return Ok();
}

[Obsolete]
private async Task AttemptToProcessFile(string fileName)
{
// Locks are Disposable and will automatically unlock at the end of a 'using' statement.
Expand Down Expand Up @@ -78,7 +76,6 @@ private async Task AttemptToProcessFile(string fileName)
}
}

[Obsolete]
private async Task<StateData> GetFile(string fileName)
{
try
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ public class GeneratorService
{
Timer generateDataTimer;

[Obsolete]
public GeneratorService()
{
// Generate some data every second.
Expand All @@ -19,15 +18,13 @@ public GeneratorService()
}
}

[Obsolete]
public async void GenerateData(Object stateInfo)
{
using (var client = new DaprClientBuilder().Build())
{
var rand = new Random();
var state = new StateData(rand.Next(100));

// NOTE: It is no longer best practice to use this method - this example will be modified in the 1.18 release
await client.InvokeBindingAsync("localstorage", "create", state);
}
}
Expand Down
1 change: 0 additions & 1 deletion examples/Client/DistributedLock/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public Startup(IConfiguration configuration)
public IConfiguration Configuration { get; }

// This method gets called by the runtime. Use this method to add services to the container.
[Obsolete]
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers().AddDapr();
Expand Down
24 changes: 0 additions & 24 deletions examples/Client/ServiceInvocation/Example.cs

This file was deleted.

This file was deleted.

47 changes: 0 additions & 47 deletions examples/Client/ServiceInvocation/InvokeServiceGrpcExample.cs

This file was deleted.

This file was deleted.

61 changes: 0 additions & 61 deletions examples/Client/ServiceInvocation/InvokeServiceHttpExample.cs

This file was deleted.

Loading
Loading