Thanks to /u/zpoo32 for reporting several issues in this list!
- deemix: just the cli and the library
- deemix-pyweb: the app with a GUI
- deemix-server: just the server part of deemix-pyweb
| additionalArguments: | |
| - --serverstransport.insecureskipverify | |
| - --providers.file.filename=/data/traefik-config.yaml | |
| - --entrypoints.web.http.redirections.entrypoint.to=:443 | |
| - --entrypoints.web.http.redirections.entrypoint.permanent=true | |
| - --entrypoints.websecure.http.tls.certresolver=cloudflare | |
| - --entrypoints.websecure.http.middlewares=headers-default@file | |
| - --certificatesresolvers.cloudflare.acme.dnschallenge.provider=cloudflare | |
| - --certificatesresolvers.cloudflare.acme.email=YOUREMAIL | |
| - --certificatesresolvers.cloudflare.acme.dnschallenge.resolvers=1.1.1.1 |
| using BenchmarkDotNet.Running; | |
| using BenchmarkDotNet.Attributes; | |
| using System.Reflection; | |
| using System; | |
| using Sigil; | |
| BenchmarkRunner.Run<MyTests>(); | |
| [MemoryDiagnoser] | |
| public class MyTests |
| using Microsoft.AspNetCore.Hosting; | |
| using Microsoft.AspNetCore.Builder; | |
| using Microsoft.AspNetCore.Http; | |
| using Microsoft.Extensions.Hosting; | |
| public class Program | |
| { | |
| public static void Main(string[] args) => | |
| Host.CreateDefaultBuilder(args) | |
| .ConfigureWebHostDefaults(webBuilder => |
Thanks to /u/zpoo32 for reporting several issues in this list!
| REM Delete eval folder with licence key and options.xml which contains a reference to it | |
| for %%I in ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") do ( | |
| for /d %%a in ("%USERPROFILE%\.%%I*") do ( | |
| rd /s /q "%%a/config/eval" | |
| del /q "%%a\config\options\other.xml" | |
| ) | |
| ) | |
| REM Delete registry key and jetbrains folder (not sure if needet but however) | |
| rmdir /s /q "%APPDATA%\JetBrains" |
| /// <summary> | |
| /// Functional Programming with C# - Simon Painter - NDC Oslo 2020 | |
| /// https://www.youtube.com/watch?v=gvyTB4aMI4o | |
| /// </summary> | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text.Json.Serialization; | |
| using System.Text.RegularExpressions; |
| using BenchmarkDotNet.Attributes; | |
| using BenchmarkDotNet.Running; | |
| using Mapster; | |
| using System; | |
| /// <summary> | |
| /// Mapster, the best .NET mapper that you are (probably) not using | |
| /// https://www.youtube.com/watch?v=UIslFVEHkzA | |
| /// </summary> | |
| public class Program |
| using App1; | |
| using Xunit; | |
| /// <summary> | |
| /// How to collect the code coverage of your tests in .NET | |
| /// https://www.youtube.com/watch?v=xwMWGYD8rgk | |
| /// Calculate code coverage by cli command | |
| /// dotnet tool install -g coverlet.console | |
| /// coverlet .\bin\Debug\net5.0\App1.dll --target "dotnet" --targetargs "test --no-build" | |
| /// dotnet test --collect:"XPlat Code Coverage" |
| using DataLib; | |
| using NSubstitute; | |
| using NSubstitute.ReturnsExtensions; | |
| using WebApi2.Models; | |
| using WebApi2.Services; | |
| using Xunit; | |
| /// <summary> | |
| /// Clean mocking for unit tests using NSubstitute in .NET (Core, Framework, Standard) | |
| /// https://www.youtube.com/watch?v=LcQYv0cBWk0& |
| using DataLib; | |
| using FluentAssertions; | |
| using NSubstitute; | |
| using NSubstitute.ReturnsExtensions; | |
| using System; | |
| using WebApi2.Models; | |
| using WebApi2.Services; | |
| using Xunit; | |
| /// <summary> |