
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Lime Fresh and Zesty Query String Management for .NET
Just like a squeeze of lime adds zest to a dish, Lime brings a fresh approach to managing query strings in .NET. Featuring modern .NET development practices like nullable reference types, async/await, and fluent interfaces for a smooth developer experience.
Install the package from NuGet:
dotnet add package ZY.Lime --version 1.0.0
Parsing a Query String
using Lime.Extensions;
string queryString = "?name=John&age=30&skills[]=CSharp&skills[]=JavaScript";
var parsedData = await queryString.ParseQueryStringAsync();
foreach (var item in parsedData)
{
Console.WriteLine($"{item.Key}: {item.Value}");
}
Stringify a Dictionary
using Lime.Extensions;
using System.Collections.Generic;
var data = new Dictionary<string, object?>
{
{ "name", "John Doe" },
{ "age", 30 },
{ "skills", new List<string> { "CSharp", "JavaScript" } }
};
string queryString = await data.ToQueryStringAsync();
Console.WriteLine(queryString);
Configuration
var options = new LimeOptions()
.SetFormatHandler(new Rfc1738FormatHandler()) // Use RFC1738 encoding
.UseParserOptions(new ParserOptions { AllowDots = true })
.UseStringifierOptions(new StringifierOptions { ArrayFormat = ArrayFormat.Brackets });
var manager = new QueryStringManager(options);
This project is licensed under the MIT License.
FAQs
A .NET library for query string parsing and stringifying.
We found that zy.lime demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.