arthurvaverko-kaltura / dotnet-summit-2020

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/


Languages

Language:C# 97.3%Language:Dockerfile 1.4%Language:Shell 0.8%Language:ASP 0.6%