Nx 2.2.1.5
See the version list below for details.
dotnet add package Nx --version 2.2.1.5
NuGet\Install-Package Nx -Version 2.2.1.5
<PackageReference Include="Nx" Version="2.2.1.5" />
paket add Nx --version 2.2.1.5
#r "nuget: Nx, 2.2.1.5"
// Install Nx as a Cake Addin #addin nuget:?package=Nx&version=2.2.1.5 // Install Nx as a Cake Tool #tool nuget:?package=Nx&version=2.2.1.5
A .Net Library For Rapid Development.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.8.0 | 48 | 3/10/2015 |
2.4.1.6 | 80 | 12/19/2014 |
2.4.1.5 | 49 | 12/19/2014 |
2.4.1.3 | 63 | 12/16/2014 |
2.4.1.2 | 49 | 12/15/2014 |
2.4.1.1 | 53 | 12/12/2014 |
2.4.1 | 32 | 12/12/2014 |
2.3.1.1 | 226 | 11/17/2014 |
2.3.1 | 397 | 11/16/2014 |
2.2.1.8 | 61 | 10/28/2014 |
2.2.1.5 | 89 | 10/21/2014 |
2.2.1.4 | 88 | 10/21/2014 |
2.2.1.3 | 58 | 10/14/2014 |
2.2.1.2 | 57 | 10/14/2014 |
2.2.1.1 | 56 | 10/14/2014 |
2.2.1 | 34 | 10/14/2014 |
2.1.0.2 | 77 | 9/29/2014 |
Usage Scene 0x01:Simulation of the HTTP request
var reqCtx = RequestBuilder.Create("default")
.SetUrl("http://sample.com/api/sendmsg")
.SetUserAgent("Nx Framework.")
.SetReferer("http://sample.com/api/login")
.SetProxy(new WebProxy("127.0.0.1:8888"))
.AllowAutoRedirect(true)
.SetHttpMethod("POST")
.WithFormData("user=tiny")
.SetTimeout(3000)
.Build();
var respCtx = RequestManager.GetResponse(reqCtx);
//check error
if(respCtx.Exception==null)
{
//if html, we have a nice intergration from Ivony's code(https://www.nuget.org/packages/Jumony.Core/)
var document = respCtx.ResponseDocument;//return IHtmlDocument object.
//filter elements like JQuery using the extensions ,need using Ivony.Html first.
var theElements = document.AllElements()... //may extention methods
//we can also get text directly
var text = respCtx.Text;
//or the stream, and other usable properties of IResponseContext
var ms = respCtx.Stream;
}
Usage Scene 0x02:Read Text Based File EASY And FAST.
var file = new Nx.IO.TextFileInfo("d:\\d.txt");
//random row
while(true)
{
Console.WriteLine(file.RandomRow);
}
//row items
foreach(var item in file.RowItems)
{
//usable properties
//item.RowIndex
//item.Text
//item.IsEmptyLine
//item.DataLength
}
Usage Scene 0x03:ThreadSafeRandom
see class Nx.ThreadSafeRandom
UPDATE LOGS
2.2.1.5
fixed bug in Nx.TimeUtil.GetTimestamp()
2.2.1.4
small bug fix.
2.2.1.3
Add "HttpMethod PUT" support for the core request utils.
2.2.1.2
fix the bug that the post data does not submitted after use Nx.Net.RequestBuilder.SetHttpMethod("POST")