Skip to content

Commit e616db6

Browse files
authored
Revert "Transcoding example cleanup (#1734)" (#1751)
This reverts commit 9e073cd.
1 parent 9e073cd commit e616db6

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

build/get-dotnet.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $install_script_path -v 3.1.300 -i $dotnet_install_path
3434
$install_script_path -v 5.0.302 -i $dotnet_install_path
3535

3636
# Install .NET 7 SDK for transcoder sample
37-
$install_script_path -v 7.0.100-preview.4.22252.9 -i $dotnet_install_path
37+
$install_script_path -v 7.0.100-preview.5.22229.2 -i $dotnet_install_path
3838

3939
# Install .NET version specified by global.json
4040
$install_script_path -v $sdk_version -i $dotnet_install_path

examples/README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -214,14 +214,6 @@ The gRPC-Web JavaScript client was generated from *greet.proto* using [`protoc`]
214214
* Configure ASP.NET Core server to enable gRPC-Web cross-origin requests (CORS)
215215
* Call gRPC services with JavaScript from a SPA
216216

217-
## [Transcoder](./Transcoder)
218-
219-
The transcoder shows how to use gRPC JSON transcoding to generate RESTful APIs from gRPC services.
220-
221-
##### Scenarios:
222-
223-
* gRPC JSON transcoding
224-
225217
## [Microservicer](./Microservicer)
226218

227219
The microservicer example shows how to use gRPC in a solution that contains multiple web apps. The backend app hosts a gRPC service that is called by the frontend app. The frontend app uses gRPC client factory to create a client an inject it into the MVC controller with dependency injection.

examples/Transcoder/Server/Server.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22

33
<PropertyGroup>
44
<TargetFramework>net7.0</TargetFramework>
5+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
6+
<NoWarn>1591</NoWarn>
57
</PropertyGroup>
68

79
<ItemGroup>
810
<Protobuf Include="..\Proto\greet.proto" GrpcServices="Server" Link="Protos\greet.proto" />
911

1012
<PackageReference Include="Grpc.AspNetCore" Version="$(GrpcDotNetPackageVersion)" />
11-
<PackageReference Include="Microsoft.AspNetCore.Grpc.JsonTranscoding" Version="7.0.0-preview.4.22251.1" />
13+
<PackageReference Include="Microsoft.AspNetCore.Grpc.JsonTranscoding" Version="7.0.0-preview.4.22219.9" />
1214
</ItemGroup>
1315

1416
</Project>

0 commit comments

Comments
 (0)