| CARVIEW |
Select Language
HTTP/2 301
server: GitHub.com
content-type: text/html
location: https://abrudtkuhl.github.io/WordPressSharp/
x-github-request-id: C1F4:318CF6:5A25EC:648F1C:694EE76B
accept-ranges: bytes
age: 0
date: Fri, 26 Dec 2025 19:52:15 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210064-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1766778735.174191,VS0,VE199
vary: Accept-Encoding
x-fastly-request-id: ae8e47ce062b0dc90380bbac4032cfb62ee4fe63
content-length: 162
HTTP/2 200
server: GitHub.com
content-type: text/html; charset=utf-8
last-modified: Mon, 26 Jan 2015 22:20:58 GMT
access-control-allow-origin: *
etag: W/"54c6bdca-ea1"
expires: Fri, 26 Dec 2025 20:02:15 GMT
cache-control: max-age=600
content-encoding: gzip
x-proxy-cache: MISS
x-github-request-id: 81D6:328FD3:5B456E:65AE5F:694EE76F
accept-ranges: bytes
age: 0
date: Fri, 26 Dec 2025 19:52:15 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210064-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1766778735.386488,VS0,VE213
vary: Accept-Encoding
x-fastly-request-id: ba3cddc067d7e9782b65d0bbcf66aba033183139
content-length: 1345
WordPressSharp - C# utility for WordPress XML-RPC API - by abrudtkuhl
WordPressSharp
A C# client to interact with the WordPress XML-RPC API
Examples
Create Post
var post = new Post {
PostType = "post",
Title = "My Awesome Post",
Content = "<p>This is the content</p>",
PublishDateTime = DateTime.Now
}
using (var client = new WordPresClient(new WordPressSiteConfig {
BaseUrl = "https://mywordpress.com",
Username = "admin",
Password = "password",
BlogId = 1
}))
{
var id = Convert.ToInt32(client.NewPost(post));
}
Tutorials
Dependencies
Resources
Notes
Inspired by the POSSIBLE.WordPress.XmlRpcClient by markeverard