{"id":2835,"date":"2017-06-19T13:50:00","date_gmt":"2017-06-19T12:50:00","guid":{"rendered":"http:\/\/www.diogonunes.com\/blog\/?p=2835"},"modified":"2020-05-15T14:23:11","modified_gmt":"2020-05-15T13:23:11","slug":"csharp-send-image-xml","status":"publish","type":"post","link":"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/","title":{"rendered":"Sending image in XML using C#"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/hands-opening-envelope-on-crowded-desk.jpg?resize=580%2C322\" alt=\"hands-opening-envelope-on-crowded-desk\" width=\"580\" height=\"322\" class=\"aligncenter size-full wp-image-2851\" srcset=\"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/hands-opening-envelope-on-crowded-desk.jpg?w=1760&amp;ssl=1 1760w, https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/hands-opening-envelope-on-crowded-desk.jpg?resize=400%2C222&amp;ssl=1 400w, https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/hands-opening-envelope-on-crowded-desk.jpg?resize=768%2C427&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/hands-opening-envelope-on-crowded-desk.jpg?resize=1024%2C569&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/hands-opening-envelope-on-crowded-desk.jpg?resize=1200%2C667&amp;ssl=1 1200w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/p>\n<p><!--more--><\/p>\n<ul>\n<li>On the sender side, start with your image as a <code>byte[]<\/code>.<\/li>\n<li>Convert the array to a text representation (a base64 string) using <code>Convert.ToBase64String(array)<\/code>.<\/li>\n<li>Put that base64 string into the XML.<\/li>\n<li>On the receiver side, simply decode the base64 back to <code>byte[]<\/code> using <code>Convert.FromBase64String(string)<\/code>.<\/li>\n<\/ul>\n<p>For <a href=\"http:\/\/diogonunes.com\/blog\/csharp-write-read-images-sql-server\">details<\/a> on each of those operations <a href=\"http:\/\/diogonunes.com\/blog\/csharp-write-read-images-sql-server\">check this other post<\/a>.<\/p>\n<p><a href=\"http:\/\/stackoverflow.com\/questions\/2965345\/how-to-send-image-through-xml-using-c-sharp\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":2851,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2],"tags":[47,29],"class_list":["post-2835","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech","tag-c-sharp","tag-coding"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Sending image in XML using C# - The Geeky Gecko<\/title>\n<meta name=\"description\" content=\"A code example in C# to exchange images through the internet using an XML payload. Convert your byte[] image to a text representation like base64.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sending image in XML using C# - The Geeky Gecko\" \/>\n<meta property=\"og:description\" content=\"A code example in C# to exchange images through the internet using an XML payload. Convert your byte[] image to a text representation like base64.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/\" \/>\n<meta property=\"og:site_name\" content=\"The Geeky Gecko\" \/>\n<meta property=\"article:published_time\" content=\"2017-06-19T12:50:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-15T13:23:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/hands-opening-envelope-on-crowded-desk.jpg?fit=1760%2C978&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1760\" \/>\n\t<meta property=\"og:image:height\" content=\"978\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Diogo Nunes\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dialexnunes\" \/>\n<meta name=\"twitter:site\" content=\"@dialexnunes\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Diogo Nunes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/\"},\"author\":{\"name\":\"Diogo Nunes\",\"@id\":\"https:\/\/www.diogonunes.com\/blog\/#\/schema\/person\/a6fa79b293f22912664654fcfbd2da0c\"},\"headline\":\"Sending image in XML using C#\",\"datePublished\":\"2017-06-19T12:50:00+00:00\",\"dateModified\":\"2020-05-15T13:23:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/\"},\"wordCount\":57,\"publisher\":{\"@id\":\"https:\/\/www.diogonunes.com\/blog\/#\/schema\/person\/a6fa79b293f22912664654fcfbd2da0c\"},\"image\":{\"@id\":\"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/hands-opening-envelope-on-crowded-desk.jpg?fit=1760%2C978&ssl=1\",\"keywords\":[\"c#\",\"coding\"],\"articleSection\":[\"Technology\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/\",\"url\":\"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/\",\"name\":\"Sending image in XML using C# - The Geeky Gecko\",\"isPartOf\":{\"@id\":\"https:\/\/www.diogonunes.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/hands-opening-envelope-on-crowded-desk.jpg?fit=1760%2C978&ssl=1\",\"datePublished\":\"2017-06-19T12:50:00+00:00\",\"dateModified\":\"2020-05-15T13:23:11+00:00\",\"description\":\"A code example in C# to exchange images through the internet using an XML payload. Convert your byte[] image to a text representation like base64.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/hands-opening-envelope-on-crowded-desk.jpg?fit=1760%2C978&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/hands-opening-envelope-on-crowded-desk.jpg?fit=1760%2C978&ssl=1\",\"width\":1760,\"height\":978},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.diogonunes.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sending image in XML using C#\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.diogonunes.com\/blog\/#website\",\"url\":\"https:\/\/www.diogonunes.com\/blog\/\",\"name\":\"The Geeky Gecko\",\"description\":\"The Geeky Gecko\",\"publisher\":{\"@id\":\"https:\/\/www.diogonunes.com\/blog\/#\/schema\/person\/a6fa79b293f22912664654fcfbd2da0c\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.diogonunes.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.diogonunes.com\/blog\/#\/schema\/person\/a6fa79b293f22912664654fcfbd2da0c\",\"name\":\"Diogo Nunes\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.diogonunes.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2026\/04\/Geeky-Gecko-2026-v2.png?fit=799%2C799&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2026\/04\/Geeky-Gecko-2026-v2.png?fit=799%2C799&ssl=1\",\"width\":799,\"height\":799,\"caption\":\"Diogo Nunes\"},\"logo\":{\"@id\":\"https:\/\/www.diogonunes.com\/blog\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/www.diogonunes.com\",\"https:\/\/x.com\/dialexnunes\"],\"url\":\"https:\/\/www.diogonunes.com\/blog\/author\/diogo-nunes\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Sending image in XML using C# - The Geeky Gecko","description":"A code example in C# to exchange images through the internet using an XML payload. Convert your byte[] image to a text representation like base64.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/","og_locale":"en_US","og_type":"article","og_title":"Sending image in XML using C# - The Geeky Gecko","og_description":"A code example in C# to exchange images through the internet using an XML payload. Convert your byte[] image to a text representation like base64.","og_url":"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/","og_site_name":"The Geeky Gecko","article_published_time":"2017-06-19T12:50:00+00:00","article_modified_time":"2020-05-15T13:23:11+00:00","og_image":[{"width":1760,"height":978,"url":"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/hands-opening-envelope-on-crowded-desk.jpg?fit=1760%2C978&ssl=1","type":"image\/jpeg"}],"author":"Diogo Nunes","twitter_card":"summary_large_image","twitter_creator":"@dialexnunes","twitter_site":"@dialexnunes","twitter_misc":{"Written by":"Diogo Nunes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/#article","isPartOf":{"@id":"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/"},"author":{"name":"Diogo Nunes","@id":"https:\/\/www.diogonunes.com\/blog\/#\/schema\/person\/a6fa79b293f22912664654fcfbd2da0c"},"headline":"Sending image in XML using C#","datePublished":"2017-06-19T12:50:00+00:00","dateModified":"2020-05-15T13:23:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/"},"wordCount":57,"publisher":{"@id":"https:\/\/www.diogonunes.com\/blog\/#\/schema\/person\/a6fa79b293f22912664654fcfbd2da0c"},"image":{"@id":"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/hands-opening-envelope-on-crowded-desk.jpg?fit=1760%2C978&ssl=1","keywords":["c#","coding"],"articleSection":["Technology"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/","url":"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/","name":"Sending image in XML using C# - The Geeky Gecko","isPartOf":{"@id":"https:\/\/www.diogonunes.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/#primaryimage"},"image":{"@id":"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/hands-opening-envelope-on-crowded-desk.jpg?fit=1760%2C978&ssl=1","datePublished":"2017-06-19T12:50:00+00:00","dateModified":"2020-05-15T13:23:11+00:00","description":"A code example in C# to exchange images through the internet using an XML payload. Convert your byte[] image to a text representation like base64.","breadcrumb":{"@id":"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/#primaryimage","url":"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/hands-opening-envelope-on-crowded-desk.jpg?fit=1760%2C978&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/hands-opening-envelope-on-crowded-desk.jpg?fit=1760%2C978&ssl=1","width":1760,"height":978},{"@type":"BreadcrumbList","@id":"https:\/\/www.diogonunes.com\/blog\/csharp-send-image-xml\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.diogonunes.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Sending image in XML using C#"}]},{"@type":"WebSite","@id":"https:\/\/www.diogonunes.com\/blog\/#website","url":"https:\/\/www.diogonunes.com\/blog\/","name":"The Geeky Gecko","description":"The Geeky Gecko","publisher":{"@id":"https:\/\/www.diogonunes.com\/blog\/#\/schema\/person\/a6fa79b293f22912664654fcfbd2da0c"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.diogonunes.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.diogonunes.com\/blog\/#\/schema\/person\/a6fa79b293f22912664654fcfbd2da0c","name":"Diogo Nunes","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.diogonunes.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2026\/04\/Geeky-Gecko-2026-v2.png?fit=799%2C799&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2026\/04\/Geeky-Gecko-2026-v2.png?fit=799%2C799&ssl=1","width":799,"height":799,"caption":"Diogo Nunes"},"logo":{"@id":"https:\/\/www.diogonunes.com\/blog\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/www.diogonunes.com","https:\/\/x.com\/dialexnunes"],"url":"https:\/\/www.diogonunes.com\/blog\/author\/diogo-nunes\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/hands-opening-envelope-on-crowded-desk.jpg?fit=1760%2C978&ssl=1","jetpack-related-posts":[{"id":2834,"url":"https:\/\/www.diogonunes.com\/blog\/csharp-write-read-images-sql-server\/","url_meta":{"origin":2835,"position":0},"title":"Insert and read images on SQL Server using C#","author":"Diogo Nunes","date":"22 May, 2017","format":false,"excerpt":"Writing to SQL Server database base64 to byte[] \/\/ Restore the byte array. byte[] newBytes = Convert.FromBase64String(strBase64); Source byte[] to SQL varbinary byte[] buffer = File.ReadAllBytes(\"Path\/to\/your\/image\/\"); SqlCommand command = new SqlCommand(); command.Text=\"INSERT INTO YOUR_TABLE_NAME (image) values (@image)\"; command.Parameters.AddWithValue(\"@image\",buffer); command.ExecuteNonQuery(); Source Reading from SQL Server database Scalar to byte[] const string\u2026","rel":"","context":"In &quot;Technology&quot;","block_context":{"text":"Technology","link":"https:\/\/www.diogonunes.com\/blog\/category\/tech\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/archive-005.jpg?fit=1200%2C914&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/archive-005.jpg?fit=1200%2C914&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/archive-005.jpg?fit=1200%2C914&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/archive-005.jpg?fit=1200%2C914&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/09\/archive-005.jpg?fit=1200%2C914&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1451,"url":"https:\/\/www.diogonunes.com\/blog\/calling-webservice-without-wsdl-or-web-reference\/","url_meta":{"origin":2835,"position":1},"title":"Calling Web Service without WSDL or Web Reference","author":"Diogo Nunes","date":"17 November, 2014","format":false,"excerpt":"Once I had to test in C# a dozen of web services developed by a third-party. However they provided no WSDL and no ASMX - therefore it would be impossible to use Web References. They only provided the name of the web methods, their urls, calling credentials and an XML\u2026","rel":"","context":"In &quot;Technology&quot;","block_context":{"text":"Technology","link":"https:\/\/www.diogonunes.com\/blog\/category\/tech\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2014\/11\/77043.jpg?fit=675%2C450&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2014\/11\/77043.jpg?fit=675%2C450&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2014\/11\/77043.jpg?fit=675%2C450&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":1486,"url":"https:\/\/www.diogonunes.com\/blog\/calling-a-web-method-in-c-without-a-service-reference\/","url_meta":{"origin":2835,"position":2},"title":"Calling a Web Method in C# without Service Reference","author":"Diogo Nunes","date":"24 November, 2014","format":false,"excerpt":"Last week I gave you a method that, using SOAP and HttpWebRequest, allowed you to invoke a Web Method without a WSDL or a Web Reference. Well today, I'll give you an improved version of that method. In fact I'll give you a whole ready-to-use class with additional functionality. Recapping,\u2026","rel":"","context":"In &quot;Technology&quot;","block_context":{"text":"Technology","link":"https:\/\/www.diogonunes.com\/blog\/category\/tech\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2014\/11\/This-is-a-SOAP-request.png?fit=506%2C350&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2574,"url":"https:\/\/www.diogonunes.com\/blog\/how-to-use-browserstack-cross-browser-testing\/","url_meta":{"origin":2835,"position":3},"title":"Testing for cross-browser compatibility using BrowserStack","author":"Diogo Nunes","date":"12 September, 2016","format":false,"excerpt":"Learn how to do it with this example Recalling my BrowserStack review, their main tools are: Automate: Where you run your automated Selenium tests and check the results. Screenshots: Paste an URL, select the browsers and version you want, and in a few minutes you get a batch of screenshots.\u2026","rel":"","context":"In &quot;Technology&quot;","block_context":{"text":"Technology","link":"https:\/\/www.diogonunes.com\/blog\/category\/tech\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/08\/6-Useful-Cross-Browser-Testing-Tools.png?fit=956%2C343&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/08\/6-Useful-Cross-Browser-Testing-Tools.png?fit=956%2C343&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/08\/6-Useful-Cross-Browser-Testing-Tools.png?fit=956%2C343&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2016\/08\/6-Useful-Cross-Browser-Testing-Tools.png?fit=956%2C343&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":3942,"url":"https:\/\/www.diogonunes.com\/blog\/cypress-tips-tricks\/","url_meta":{"origin":2835,"position":4},"title":"Tips &#038; Tricks for Cypress","author":"Diogo Nunes","date":"18 January, 2021","format":false,"excerpt":"\ud83c\udfc6 This post was featured in Software Testing Weekly, issue 55 This is a collection of simple and recurring scenarios when writing Cypress tests. For more complex recipes, check the official doc. Setup Abort cypress after first failed test Read a test file from fixtures Assertions Assert the text of\u2026","rel":"","context":"In &quot;Technology&quot;","block_context":{"text":"Technology","link":"https:\/\/www.diogonunes.com\/blog\/category\/tech\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2020\/08\/hunter-haley-s8OO2-t-HmQ-unsplash-scaled.jpg?fit=1200%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2020\/08\/hunter-haley-s8OO2-t-HmQ-unsplash-scaled.jpg?fit=1200%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2020\/08\/hunter-haley-s8OO2-t-HmQ-unsplash-scaled.jpg?fit=1200%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2020\/08\/hunter-haley-s8OO2-t-HmQ-unsplash-scaled.jpg?fit=1200%2C800&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2020\/08\/hunter-haley-s8OO2-t-HmQ-unsplash-scaled.jpg?fit=1200%2C800&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2186,"url":"https:\/\/www.diogonunes.com\/blog\/webclient-vs-httpclient-vs-httpwebrequest\/","url_meta":{"origin":2835,"position":5},"title":"WebClient vs HttpClient vs HttpWebRequest","author":"Diogo Nunes","date":"20 April, 2015","format":false,"excerpt":"Just when I was starting to get used to call WebServices through WSDL - like I showed here and here - I had to call a RESTful API. If you don't know what I'm talking about you're like me a week ago. Let's just say that: a WSDL API uses\u2026","rel":"","context":"In &quot;Technology&quot;","block_context":{"text":"Technology","link":"https:\/\/www.diogonunes.com\/blog\/category\/tech\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.diogonunes.com\/blog\/wp-content\/uploads\/2015\/04\/restless.png?fit=510%2C350&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.diogonunes.com\/blog\/wp-json\/wp\/v2\/posts\/2835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.diogonunes.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.diogonunes.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.diogonunes.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.diogonunes.com\/blog\/wp-json\/wp\/v2\/comments?post=2835"}],"version-history":[{"count":1,"href":"https:\/\/www.diogonunes.com\/blog\/wp-json\/wp\/v2\/posts\/2835\/revisions"}],"predecessor-version":[{"id":3046,"href":"https:\/\/www.diogonunes.com\/blog\/wp-json\/wp\/v2\/posts\/2835\/revisions\/3046"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.diogonunes.com\/blog\/wp-json\/wp\/v2\/media\/2851"}],"wp:attachment":[{"href":"https:\/\/www.diogonunes.com\/blog\/wp-json\/wp\/v2\/media?parent=2835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.diogonunes.com\/blog\/wp-json\/wp\/v2\/categories?post=2835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.diogonunes.com\/blog\/wp-json\/wp\/v2\/tags?post=2835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}