Skip to content

Commit d9142d6

Browse files
committed
Upgrade to .NET 8
1 parent 45ca203 commit d9142d6

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Sample SolrNet app
22

3-
This is a basic ASP.NET MVC 5 application demoing full-text search and faceting in SolrNet. <br/>
3+
This is a basic ASP.NET MVC application demoing full-text search and faceting in SolrNet. <br/>
44
You can use it as a starting point for your own application or just to interactively learn the basics of Solr and SolrNet.
55

66
This requires `docker` to run Solr. Use `./run.sh` to run Solr and this .NET app, then visit http://localhost:5000 . <br/>

SampleSolrApp/SampleSolrApp.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
66
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
77
<LangVersion>latest</LangVersion>

SampleSolrApp/packages.lock.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": 1,
33
"dependencies": {
4-
"net6.0": {
4+
"net8.0": {
55
"SolrNet": {
66
"type": "Direct",
77
"requested": "[1.1.0, )",

flake.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
outputs = { self, nixpkgs, devenv, systems, ... } @ inputs:
1414
let
1515
forEachSystem = nixpkgs.lib.genAttrs (import systems);
16-
dotnet = pkgs: pkgs.dotnet-sdk_6;
16+
dotnet = pkgs: pkgs.dotnet-sdk_8;
1717
in
1818
{
1919
packages = forEachSystem (system:

run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ docker run --rm -it \
77
-e DOCKER_HOST \
88
-v /var/run/docker.sock:/var/run/docker.sock \
99
-w /work -v $PWD/SampleSolrApp:/work \
10-
mcr.microsoft.com/dotnet/sdk:6.0-alpine \
10+
mcr.microsoft.com/dotnet/sdk:8.0-alpine \
1111
dotnet run -v minimal
1212

0 commit comments

Comments
 (0)