Please comment below...
- .NET Core Image Processing by Bertrand Le Roy.
- Creating .NET Bindings for C Libraries with ObjectiveSharpie by Miguel de Icaza.
Package of the week: Adafruit Class Library for Windows IoT Core
using ImageSharp; | |
const int size = 150; | |
const int quality = 75; | |
Configuration.Default.AddImageFormat(new JpegFormat()); | |
using (var input = File.OpenRead(inputPath)) | |
{ | |
using (var output = File.OpenWrite(outputPath)) |
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<packageSources> | |
<add key="ImageSharp Nightly" value="https://www.myget.org/F/imagesharp/api/v3/index.json" /> | |
</packageSources> | |
</configuration> |
using System.Drawing; | |
const int size = 150; | |
const int quality = 75; | |
using (var image = new Bitmap(System.Drawing.Image.FromFile(inputPath))) | |
{ | |
int width, height; | |
if (image.Width > image.Height) | |
{ |
{ | |
"PwdLess": { | |
"Totp": { | |
"Expiry": 15, | |
"Length": 10 | |
}, | |
"Jwt": { | |
"SecretKey": "9e38e3-REPLACE-WITH-YOUR-SECRET-5181742b", | |
"Issuer": "YOUR_ISS_NAME", | |
"Expiry": "", |
Please comment below...
Package of the week: Adafruit Class Library for Windows IoT Core
Window "MainWindow" { | |
Width: 200 | |
Height: 100 | |
TextBlock { | |
Text: "Hello, World!" | |
} | |
} |
Please comment below...
Packages: PwdLess
var person = new Person { | |
Id = 12345, Name = "Fred", | |
Address = new Address { | |
Line1 = "Flat 1", | |
Line2 = "The Meadows" | |
} | |
}; | |
using (var file = File.Create("person.bin")) { | |
Serializer.Serialize(file, person); |
[ProtoContract] | |
class Person { | |
[ProtoMember(1)] | |
public int Id {get;set;} | |
[ProtoMember(2)] | |
public string Name {get;set;} | |
[ProtoMember(3)] | |
public Address Address {get;set;} | |
} |
Please comment below...
Packages: PwdLess, Ammy – Modern UI language for XAML platforms
Understanding different GC modes with Concurrency Visualizer by Sergey Teplyakov.