Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dfd75b7

Browse filesBrowse files
authored
Update client and isolated API to .NET 7 🚀 and remove tests (#38)
* Update client and isolated API to .net 7 * Remove Playwright tests * Update readme
1 parent f35c0bd commit dfd75b7
Copy full SHA for dfd75b7

File tree

Expand file treeCollapse file tree

10 files changed

+13
-579
lines changed
Filter options
Expand file treeCollapse file tree

10 files changed

+13
-579
lines changed

‎.github/workflows/playwright-onDemand.yml

Copy file name to clipboardExpand all lines: .github/workflows/playwright-onDemand.yml
-96Lines changed: 0 additions & 96 deletions
This file was deleted.

‎.github/workflows/playwright-scheduled.yml

Copy file name to clipboardExpand all lines: .github/workflows/playwright-scheduled.yml
-86Lines changed: 0 additions & 86 deletions
This file was deleted.

‎ApiIsolated/ApiIsolated.csproj

Copy file name to clipboardExpand all lines: ApiIsolated/ApiIsolated.csproj
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net6.0</TargetFramework>
3+
<TargetFramework>net7.0</TargetFramework>
44
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
55
<OutputType>Exe</OutputType>
66
</PropertyGroup>
77
<ItemGroup>
88
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.0.13" />
9-
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.3.0" OutputItemType="Analyzer" />
10-
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.6.0" />
9+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.7.0" OutputItemType="Analyzer" />
10+
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.10.0" />
1111
</ItemGroup>
1212
<ItemGroup>
1313
<None Update="host.json">

‎Client/Client.csproj

Copy file name to clipboardExpand all lines: Client/Client.csproj
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net7.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<RootNamespace>BlazorApp.Client</RootNamespace>
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.0" />
12-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="6.0.0" PrivateAssets="all" />
11+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="7.0.0" />
12+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.0" PrivateAssets="all" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

‎README.md

Copy file name to clipboardExpand all lines: README.md
+7-5Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
11
# Blazor Starter Application
22

3-
This template contains an example .NET 6 [Blazor WebAssembly](https://docs.microsoft.com/aspnet/core/blazor/?view=aspnetcore-6.0#blazor-webassembly) client application, a .NET 6 C# [Azure Functions](https://docs.microsoft.com/azure/azure-functions/functions-overview), and a C# class library with shared code.
3+
This template contains an example .NET 7 [Blazor WebAssembly](https://docs.microsoft.com/aspnet/core/blazor/?view=aspnetcore-6.0#blazor-webassembly) client application, a .NET 7 C# [Azure Functions](https://docs.microsoft.com/azure/azure-functions/functions-overview), and a C# class library with shared code.
4+
5+
> Note: Azure Functions only supports .NET 7 in the isolated process execution model (`ApiIsolated` project). The in-process function app in the `Api` project is in .NET 6).
46
57
## Getting Started
68

79
1. Create a repository from the [GitHub template](https://docs.github.com/en/enterprise/2.22/user/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template) and then clone it locally to your machine.
810

9-
1. In the **Api** folder, copy `local.settings.example.json` to `local.settings.json`
11+
1. In the **ApiIsolated** folder, copy `local.settings.example.json` to `local.settings.json`
1012

1113
1. Continue using either Visual Studio or Visual Studio Code.
1214

1315
### Visual Studio 2022
1416

15-
Once you clone the project, open the solution in [Visual Studio 2022](https://visualstudio.microsoft.com/vs/) and follow these steps:
17+
Once you clone the project, open the solution in the latest release of [Visual Studio 2022](https://visualstudio.microsoft.com/vs/) with the Azure workload installed, and follow these steps:
1618

1719
1. Right-click on the solution and select **Set Startup Projects...**.
1820

1921
1. Select **Multiple startup projects** and set the following actions for each project:
20-
- *Api* - **Start**
21-
- *ApiIsolated* - None
22+
- *Api* - None
23+
- *ApiIsolated* - **Start**
2224
- *Client* - **Start**
2325
- *Shared* - None
2426

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.