Skip to content

Instantly share code, notes, and snippets.

View webprofusion-chrisc's full-sized avatar

Christopher Cook webprofusion-chrisc

View GitHub Profile
@webprofusion-chrisc
webprofusion-chrisc / NuGet-performance.md
Last active September 1, 2021 05:06
Example NuGet performance in Visual Studio 2022 for medium sized solution.

Environment: Windows 11, 16GB Ram, Processor Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz, 3201 Mhz, 6 Core(s), 12 Logical Processor(s) Internet: 66Mbps down, 20Mbps up. 23ms latency (fast.com). HTTP requests measured using Fiddler.

Solution: 43 projects (including projects for tests, plugins etc). NuGet configured for one package source (nuget.org). This is a private solution but you can test roughly half of the same solution by cloning https://github.com/webprofusion/certify and opening Certify.Core.Service.sln

Variously targetting .net 4.6.2, .net standard, .net5

Opening "manage nuget for solution" performs 802 api.nuget.org requests:

@webprofusion-chrisc
webprofusion-chrisc / launch.json
Last active May 13, 2018 21:40
Debugging an Ionic 2 app using Visual Studio Code
{
"version": "0.2.0",
"configurations": [
{
"name": "Attach Ionic 2 App with sourcemaps",
"type": "chrome",
"request": "attach",
"port": 9222,
"sourceMaps": true,
"url": "http://localhost:8100/"
@webprofusion-chrisc
webprofusion-chrisc / project.json
Created July 25, 2016 04:05
Using MYOB Account Right SDK on .Net Core 1.0 - Add via nuget then add the following import
"frameworks": {
"netcoreapp1.0": {
"imports": [
"portable-net40+sl4+win8+wp7"
]
}
}
/// <summary>
/// See https://developers.google.com/maps/documentation/utilities/polylinealgorithm
/// </summary>
public static class GooglePoints
{
/// <summary>
/// Decode google style polyline coordinates.
/// </summary>
/// <param name="encodedPoints"></param>
/// <returns></returns>