This document now exists on the official ASP.NET core docs page.
- Application
- Request Handling
This document now exists on the official ASP.NET core docs page.
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Jobs; | |
using BenchmarkDotNet.Running; | |
namespace MyBenchmarks | |
{ | |
[SimpleJob(RuntimeMoniker.NetCoreApp31)] |
The following are examples of various features.
A distributed trace is a set of events, triggered as a result of a single logical operation, consolidated across various components of an application. A distributed trace contains events that cross process, network and security boundaries. A distributed trace may be initiated when someone presses a button to start an action on a website - in this example, the trace will represent calls made between the downstream services that handled the chain of requests initiated by this button being pressed.
OpenTelemetry Tracing API is a very strict contract that enables tracing signal (not debugging or profiling). This contract is the same for all kinds of libraries and tracing backends and includes several related concepts:
{ | |
"globals" : | |
{ | |
"alwaysShowTabs" : true, | |
"defaultProfile" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", | |
"initialCols" : 120, | |
"initialRows" : 30, | |
"keybindings" : | |
[ | |
{ |
using System; | |
using System.Collections.Generic; | |
using System.Web; | |
using System.Web.Mvc; | |
using System.Web.Optimization; | |
using System.Web.Routing; | |
using Microsoft.Extensions.DependencyInjection; | |
using WebApplication16; | |
using WebApplication16.Controllers; |
I've taken a bunch of RAMDisk solutions from this 3year old article, and tried them on my own machine (Ivy Bridge i7/16GB RAM).
Using Crystal Disk Mark with 50MiB files on 1GB RAMDisk images, formatted with FAT32. Here are my results (yours may vary):
Note: 14 day trial
// http://www.nullskull.com/a/768/7zip-lzma-inmemory-compression-with-c.aspx | |
// http://www.7-zip.org/sdk.html | |
namespace SevenZip.Compression.LZMA | |
{ | |
public static class SevenZipHelper | |
{ |
# delete local tag '12345' | |
git tag -d 12345 | |
# delete remote tag '12345' (eg, GitHub version too) | |
git push origin :refs/tags/12345 | |
# alternative approach | |
git push --delete origin tagName | |
git tag -d tagName |
public class ObjectComparer | |
{ | |
public static bool Equals(object left, object right) | |
{ | |
//Compare the references | |
if (object.ReferenceEquals(right, null)) | |
return false; | |
if (object.ReferenceEquals(left, right)) | |
return true; |