Skip to content

arthurvaverko-kaltura/dotnet-summit-2020

Repository files navigation

installing and using dotnet migrate tool

Installation dotnet tool install --global Project2015To2017.Migrate2019.Tool

Usage dotnet migrate-2019 migrate -t net461 -t netcoreapp3.1

make sure all referneced assemblies that are non netcore you will wrap inside

  <ItemGroup Condition="'$(TargetFramework)' == 'net461'">
    <PackageReference Include="log4net" Version="2.0.4" />
    <Reference Include="System.Web" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Net.Http" />
  </ItemGroup>
  
  <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
    <ProjectReference Include="..\StaticHttpContextForNetCore\StaticHttpContextForNetCore.csproj" />
  </ItemGroup>

Docker

docker build -t summit .
docker run -it --rm -p 5000:80 summit

Bombard

bombardier -c 500 -m GET -H Content-Type:application/json -l -n 1000 http://localhost:5000/api/data

About

An example repository following the talk at .Net sumit 2020 https://dotnetsummit.by/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages