2.3.1.0
Metadata
Authors | tiny(tiny@sandsea.info) |
---|---|
Copyrights | Mr. Tiny (tiny@sandsea.info) 2014 |
Description | A .Net Library For Rapid Development. |
IconUrl | https://icon_url_here_or_delete_this_line/ |
LicenseUrl | http://www.apache.org/licenses/LICENSE-2.0.html |
Owners | Tiny |
ProjectUrl | https://www.sandsea.info/svn/nxframework |
ReleaseNotes | 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(http://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.3.0.0 add support http post file using RequestBuilder.WithFileInput. the RequestBuilder.WithFormData changes to RequestBuilder.WithTextInput 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") |
RequireLicenseAcceptance | False |
Tags | Nx Tiny |
Title | Nx Framework |
PackageSize | 934157 |
PackageHashAlgorithm | SHA512 |
PackageHash | YX7fdrG1IV97Xh80JN+TieuLyUvapYWc6uEQey2XKWgdn7qrM+NeTB134Rx3dcljpleUkTakRx5CCXYZ1ru2HA== |
DownloadCount | 000000 |
CreatedDate | 2014-11-16T06:12:09 |
Access
You can access data for this version using the tools and addresses described below.
NuGet (nuget.exe)
- Installing the package (HTTP Basic authentication):
-
nuget install Nx -Version 2.3.1.0 -Source http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc
- Installing the package (pre-authenticated):
-
nuget install Nx -Version 2.3.1.0 -Source http://nuget.gw.symbolsource.org/Public/%login%/%key%/NuGet/FeedService.mvc
- Deleting the package from the server (for each registered key):
-
nuget delete Nx 2.3.1.0 %key% -Source http://nuget.gw.symbolsource.org/Public/NuGet
NuGet (Package Manager Console)
- Installing the package (HTTP Basic authentication):
-
Install-Package Nx -Version 2.3.1.0 -Source http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc
- Installing the package (pre-authenticated):
-
Install-Package Nx -Version 2.3.1.0 -Source http://nuget.gw.symbolsource.org/Public/%login%/%key%/NuGet/FeedService.mvc
OpenWrap
- Installing the package:
-
o add-wrap Nx -Version 2.3.1.0
- Uninstalling the package:
-
o remove-wrap Nx
Compilations
A compilation is created for every set of binaries produced from a single unchanged set of sources in different compilation modes (Debug, Release), for different platforms (x86, x64) or targetting different frameworks.
Profile | Mode | Platform | Related |
---|---|---|---|
AnyCPU | Release | .NETFramework,Version=v4.0 | Binaries |