Does any of you know some .NET PDF-Library, which is able to print against a Windows Printer?
Most printers I want to support, do not support PDF directly... Only ZPL, PCL, ...
Hi all, I need a syntax highlighting for C# in LaTeX using the Listings package. What I find on the internet either does not work or is on a very old C# standard.
Can you help me
Hey I am in the process of releasing a .NET project as a Docker container.
How can I configure Nuget to use the proxy from the HTTP_PROXY & HTTPS_PROXY environment variables?
Currently it fails on restore as it can't resolve the feed.
Current Dockerfile:
FROM mcr.microsoft.com/dotnet/runtime:6.0-alpine AS base
WORKDIR /app
FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine AS build
It's probably very simple, I'm just on the fence today.
The Lambda version works as expected the Expression version does not. Do you see where the difference is?
Works:
var groupedOccurences = occurences
.SelectMany(static occurence => occurence.MailAddress.Split(',', StringSplitOptions.RemoveEmptyEntries).Select(addr => new
{
MailAddress = addr.Trim(),
occurence.DatabasePath,
occurence.MaskName
}))
.GroupBy(static occurence => occurence);
var groupedOccurences = occurences
.SelectMany(static occurence => occurence.MailAddress.Split(',', StringSplitOptions.RemoveEmptyEntries).Select(addr => new
{
MailAddress = addr.Trim(),
occurence.DatabasePath,
occurence.MaskName
}))
.GroupBy(static occurence => occurence);
Does not work (different results):
var groupedOccurences = from occurence in occurences
from address in occurence.MailAddress.Split(',', StringSplitOptions.RemoveEmptyEntries)
group new {
MailAddress = address.Trim(),
occurence.DatabasePath,
occurence.MaskName
} by occurence into grp
select grp;
var groupedOccurences = from occurence in occurences
from address in occurence.MailAddress.Split(',', StringSplitOptions.RemoveEmptyEntries)