Tommy Parnell 43bcbb3c30 add project url
2016-11-09 07:23:42 -05:00
2016-11-08 21:59:33 -05:00
2016-11-09 07:23:42 -05:00
2016-11-08 21:59:33 -05:00
2016-11-08 22:36:11 -05:00
2016-11-08 22:29:21 -05:00
2016-11-08 10:46:39 -05:00
2016-11-08 22:17:29 -05:00
2016-11-08 23:20:57 -05:00
2016-11-08 22:06:17 -05:00
2016-11-08 19:55:56 -05:00

UriBuilder.Fluent

Coverage Status Build status

This places extension methods over System.UriBuilder to help deal with query string parameters, and create more of a fluent interface. Unlike other projects this builds ontop of trusty UriBuilder, and does not use custom Uri generators, or have outside dependencies.

This lets you do things like


new UriBuilder()
         .WithParameter("awesome", "yodawg")
         .WithParameter("fun", ["cool", "yay"])
         .WithHost("awesome.com")
         .WithPathSegment("seg")
         .UseHttps()
         .ToString()



result: https://awesome.com/seg?awesome=yodawg&fun=cool,yay

or


new UriBuilder("https://awesome.com/yo)
    .WithParameter("id", "5")
    .ToString();

result: https://awesome.com/yo?id=5

Getting started

Just install the nuget package install-package UriBuilder.Fluent and thats it. The extension methods should be avalbile to you!

Description
A set of fluent extensions ontop of System.UriBuilder
Readme MIT 190 KiB
Languages
C# 96.5%
Makefile 3.5%