{"id":82331,"date":"2023-02-23T08:01:11","date_gmt":"2023-02-23T07:01:11","guid":{"rendered":"https:\/\/drafts.code-maze.com\/?p=82331"},"modified":"2023-12-18T09:42:39","modified_gmt":"2023-12-18T08:42:39","slug":"csharp-pass-output-parameters-to-stored-procedures-dapper","status":"publish","type":"post","link":"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/","title":{"rendered":"How to Pass Arguments for Output Parameters in Stored Procedures With Dapper in C#"},"content":{"rendered":"<p>In this article, we are going to learn about passing output parameters to stored procedures with <code>Dapper<\/code>.<\/p>\n<p>Stored procedures are a great way to improve the performance, security, and usability of our code. They bring many advantages over relying on our application code to do the heavy lifting. In C# we often let <code>Dapper<\/code> take care of our <code>Data Access<\/code> layer. If you need a refresher on this great micro ORM definitely check <a href=\"https:\/\/code-maze.com\/using-dapper-with-asp-net-core-web-api\/\" target=\"_blank\" rel=\"noopener\">here<\/a>!<\/p>\n<div style=\"padding: 20px; border-left: 5px #dc2323 solid; display: block; margin-bottom: 20px; box-shadow: 1px 1px 5px 0px lightgrey;\">To download the source code for this article, you can visit our <a href=\"https:\/\/github.com\/CodeMazeBlog\/CodeMazeGuides\/tree\/main\/dotnet-dapper\/PassingOutputParametersToStoredProcedures\" target=\"_blank\" rel=\"nofollow noopener\">GitHub repository<\/a>.<\/div>\n<p>Let&#8217;s get started!\u00a0<\/p>\n<h2>Create a Stored Procedure With Output Parameters<\/h2>\n<p>Let us suppose we have <code>Developers<\/code> table in our database:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">Id\tName\tLanguage\r\n1\tJohn\t C#\r\n2\tJosh\t C\r\n3\tJane\t F#\r\n4\tAnne\t Java\r\n5\tDavid\tGo\r\n<\/pre>\n<p>It is a simple table that we use to track <code>Developers<\/code> in our team. Since we are using only one column for the <code>Name<\/code> of our <code>Developers<\/code>, we can have an unpleasant situation if there are two <code>Developers<\/code> with the same <code>Name<\/code> and <code>Language<\/code>. We\u00a0can&#8217;t differentiate them!<\/p>\n<p>To resolve this issue we can use a stored procedure for executing <code>Insert<\/code> statements in our <code>Developers<\/code> table.<\/p>\n<p>Let&#8217;s create it:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">CREATE PROCEDURE DeveloperInsert\r\n@Name nvarchar(100),\r\n@Language nvarchar(50),\r\n@Id int OUTPUT,\r\n@Message nvarchar(200) OUTPUT\r\nAS\r\nBEGIN\r\nIF EXISTS(SELECT Id FROM Developers WHERE Name=@Name AND Language=@Language)\r\n    BEGIN\r\n        SET @Message ='There is already a developer '+@Name+' programming in '+@Language\r\n    END\r\nELSE\r\n    BEGIN\r\n        INSERT INTO Developers(Name,Language) VALUES(@Name,@Language)\r\n        SET @Id=@@IDENTITY\r\n    END\r\nEND\r\n\r\n<\/pre>\n<p>It maybe seems complex, however, it is actually very simple.\u00a0 Firstly we are checking if there is already a <code>Developer<\/code> with the same <code>Name<\/code> and <code>Language<\/code> in our team. Consequently, if we find one we return a message warning about the duplicate, which comes in very handy:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">There is already a developer John programming in C# \r\n\r\nCompletion time: 2023-02-16T18:01:06.9093631+01:00\r\n<\/pre>\n<p>Upon successfully inserting the new <code>Developer<\/code> to the team, however, we get the <code>Id<\/code> of the new <code>Developer<\/code> in return:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">(1 row affected)\r\n \r\n6\r\n\r\nCompletion time: 2023-02-16T18:05:43.0361387+01:00\r\n<\/pre>\n<h2>Use Dapper to Provide Arguments for Output Parameters to Stored Procedures<\/h2>\n<p>Now it is time to make use of our stored procedure using <code>Dapper<\/code> and <code>C#<\/code>. We are going to use a simple console application.<\/p>\n<p>Let&#8217;s create a standard database connection along with our <code>Dapper SQL<\/code> parameters first:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"csharp\">using (var connection = new SqlConnection(ConnectionString))\r\n{\r\n    var parameters = new DynamicParameters();\r\n    parameters.Add(\"Name\", \"John\");\r\n    parameters.Add(\"Language\", \"C#\");\r\n    parameters.Add(\"Id\", dbType: DbType.Int32, direction: ParameterDirection.Output);\r\n    parameters.Add(\"Message\", dbType: DbType.String, direction: ParameterDirection.Output,size:200);\r\n}<\/pre>\n<p>Notice we are specifying which parameters we expect as <code>Output<\/code> and their type. <strong>Also, we have to add the<\/strong> <code>System.Data<\/code> <strong>namespace in our code<\/strong>.<\/p>\n<p>Hence everything is ready to use <code>Dapper<\/code> for executing <code>DeveloperInsert<\/code> and capturing those output parameters:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"csharp\">public static dynamic ExecuteStoredProcedure(DynamicParameters parameters)\r\n{\r\n    using (var connection = new SqlConnection(ConnectionString))\r\n    connection.Execute(\"DeveloperInsert\", parameters, commandType: CommandType.StoredProcedure);\r\n\r\n    var message = parameters.Get&lt;string&gt;(\"Message\"); \r\n    var id = parameters.Get&lt;int?&gt;(\"Id\"); \r\n\r\n    Console.WriteLine(message); \r\n    Console.Write($\"The Id of the Developer Inserted is: {id}); \r\n    Console.ReadLine();\r\n}<\/pre>\n<p>It is as simple as that! Running\u00a0 the application we get the following output for a duplicate value:<\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">There is already a developer John programming in C#<\/code><\/p>\n<p>Let us change the <code>Developer's Name<\/code> and rerun the application:<\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"csharp\">The Id of the Developer Inserted is: 7<\/code><\/p>\n<h2>Conclusion<\/h2>\n<p>In this article, we talked about passing output parameters to stored procedures in <code>C#<\/code>. Thanks to <code>Dapper<\/code> the experience is simple, efficient, and elegant.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we are going to learn about passing output parameters to stored procedures with Dapper. Stored procedures are a great way to improve the performance, security, and usability of our code. They bring many advantages over relying on our application code to do the heavy lifting. In C# we often let Dapper take [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":62189,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[1647],"tags":[889,1648,1500],"class_list":["post-82331","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dapper","tag-dapper","tag-output-parameters","tag-stored-procedures","et-has-post-format-content","et_post_format-et-post-format-standard"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Passing Output Parameters to Stored Procedures With Dapper - C#<\/title>\n<meta name=\"description\" content=\"In this article, we are going to learn about Passing Output Parameters to Stored Procedures with Dapper in C#.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Passing Output Parameters to Stored Procedures With Dapper - C#\" \/>\n<meta property=\"og:description\" content=\"In this article, we are going to learn about Passing Output Parameters to Stored Procedures with Dapper in C#.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/\" \/>\n<meta property=\"og:site_name\" content=\"Code Maze\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-23T07:01:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-18T08:42:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/code-maze.com\/wp-content\/uploads\/2021\/12\/social-csharp.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1100\" \/>\n\t<meta property=\"og:image:height\" content=\"620\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Code Maze\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/CodeMazeBlog\" \/>\n<meta name=\"twitter:site\" content=\"@CodeMazeBlog\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Code Maze\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/\"},\"author\":{\"name\":\"Code Maze\",\"@id\":\"https:\/\/code-maze.com\/#\/schema\/person\/09d29b223012c8e94a68ba62861d0b04\"},\"headline\":\"How to Pass Arguments for Output Parameters in Stored Procedures With Dapper in C#\",\"datePublished\":\"2023-02-23T07:01:11+00:00\",\"dateModified\":\"2023-12-18T08:42:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/\"},\"wordCount\":371,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/code-maze.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/code-maze.com\/wp-content\/uploads\/2021\/12\/social-csharp.png\",\"keywords\":[\"Dapper\",\"Output Parameters\",\"Stored Procedures\"],\"articleSection\":[\"Dapper\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/\",\"url\":\"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/\",\"name\":\"Passing Output Parameters to Stored Procedures With Dapper - C#\",\"isPartOf\":{\"@id\":\"https:\/\/code-maze.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/code-maze.com\/wp-content\/uploads\/2021\/12\/social-csharp.png\",\"datePublished\":\"2023-02-23T07:01:11+00:00\",\"dateModified\":\"2023-12-18T08:42:39+00:00\",\"description\":\"In this article, we are going to learn about Passing Output Parameters to Stored Procedures with Dapper in C#.\",\"breadcrumb\":{\"@id\":\"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/#primaryimage\",\"url\":\"https:\/\/code-maze.com\/wp-content\/uploads\/2021\/12\/social-csharp.png\",\"contentUrl\":\"https:\/\/code-maze.com\/wp-content\/uploads\/2021\/12\/social-csharp.png\",\"width\":1100,\"height\":620,\"caption\":\"C# Development\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/code-maze.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Pass Arguments for Output Parameters in Stored Procedures With Dapper in C#\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/code-maze.com\/#website\",\"url\":\"https:\/\/code-maze.com\/\",\"name\":\"Code Maze\",\"description\":\"Learn. Code. Succeed.\",\"publisher\":{\"@id\":\"https:\/\/code-maze.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/code-maze.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/code-maze.com\/#organization\",\"name\":\"Code Maze\",\"url\":\"https:\/\/code-maze.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/code-maze.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/code-maze.com\/wp-content\/uploads\/2020\/01\/Code-Maze-Only-Logo-Transparent-HRez.png\",\"contentUrl\":\"https:\/\/code-maze.com\/wp-content\/uploads\/2020\/01\/Code-Maze-Only-Logo-Transparent-HRez.png\",\"width\":3511,\"height\":3510,\"caption\":\"Code Maze\"},\"image\":{\"@id\":\"https:\/\/code-maze.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/CodeMazeBlog\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/code-maze.com\/#\/schema\/person\/09d29b223012c8e94a68ba62861d0b04\",\"name\":\"Code Maze\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/code-maze.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/code-maze.com\/wp-content\/uploads\/2020\/01\/Code-Maze-Only-Logo-Transparent-HRez-150x150.png\",\"contentUrl\":\"https:\/\/code-maze.com\/wp-content\/uploads\/2020\/01\/Code-Maze-Only-Logo-Transparent-HRez-150x150.png\",\"caption\":\"Code Maze\"},\"description\":\"This is the standard author on the site. Most articles are published by individual authors, with their profiles, but when several authors have contributed, we publish collectively as a part of this profile.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/codemaze\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/CodeMazeBlog\"],\"url\":\"https:\/\/code-maze.com\/author\/codemazecontributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Passing Output Parameters to Stored Procedures With Dapper - C#","description":"In this article, we are going to learn about Passing Output Parameters to Stored Procedures with Dapper in C#.","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:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/","og_locale":"en_US","og_type":"article","og_title":"Passing Output Parameters to Stored Procedures With Dapper - C#","og_description":"In this article, we are going to learn about Passing Output Parameters to Stored Procedures with Dapper in C#.","og_url":"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/","og_site_name":"Code Maze","article_published_time":"2023-02-23T07:01:11+00:00","article_modified_time":"2023-12-18T08:42:39+00:00","og_image":[{"width":1100,"height":620,"url":"https:\/\/code-maze.com\/wp-content\/uploads\/2021\/12\/social-csharp.png","type":"image\/png"}],"author":"Code Maze","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/CodeMazeBlog","twitter_site":"@CodeMazeBlog","twitter_misc":{"Written by":"Code Maze","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/#article","isPartOf":{"@id":"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/"},"author":{"name":"Code Maze","@id":"https:\/\/code-maze.com\/#\/schema\/person\/09d29b223012c8e94a68ba62861d0b04"},"headline":"How to Pass Arguments for Output Parameters in Stored Procedures With Dapper in C#","datePublished":"2023-02-23T07:01:11+00:00","dateModified":"2023-12-18T08:42:39+00:00","mainEntityOfPage":{"@id":"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/"},"wordCount":371,"commentCount":0,"publisher":{"@id":"https:\/\/code-maze.com\/#organization"},"image":{"@id":"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/#primaryimage"},"thumbnailUrl":"https:\/\/code-maze.com\/wp-content\/uploads\/2021\/12\/social-csharp.png","keywords":["Dapper","Output Parameters","Stored Procedures"],"articleSection":["Dapper"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/","url":"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/","name":"Passing Output Parameters to Stored Procedures With Dapper - C#","isPartOf":{"@id":"https:\/\/code-maze.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/#primaryimage"},"image":{"@id":"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/#primaryimage"},"thumbnailUrl":"https:\/\/code-maze.com\/wp-content\/uploads\/2021\/12\/social-csharp.png","datePublished":"2023-02-23T07:01:11+00:00","dateModified":"2023-12-18T08:42:39+00:00","description":"In this article, we are going to learn about Passing Output Parameters to Stored Procedures with Dapper in C#.","breadcrumb":{"@id":"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/#primaryimage","url":"https:\/\/code-maze.com\/wp-content\/uploads\/2021\/12\/social-csharp.png","contentUrl":"https:\/\/code-maze.com\/wp-content\/uploads\/2021\/12\/social-csharp.png","width":1100,"height":620,"caption":"C# Development"},{"@type":"BreadcrumbList","@id":"https:\/\/code-maze.com\/csharp-pass-output-parameters-to-stored-procedures-dapper\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/code-maze.com\/"},{"@type":"ListItem","position":2,"name":"How to Pass Arguments for Output Parameters in Stored Procedures With Dapper in C#"}]},{"@type":"WebSite","@id":"https:\/\/code-maze.com\/#website","url":"https:\/\/code-maze.com\/","name":"Code Maze","description":"Learn. Code. Succeed.","publisher":{"@id":"https:\/\/code-maze.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/code-maze.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/code-maze.com\/#organization","name":"Code Maze","url":"https:\/\/code-maze.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/code-maze.com\/#\/schema\/logo\/image\/","url":"https:\/\/code-maze.com\/wp-content\/uploads\/2020\/01\/Code-Maze-Only-Logo-Transparent-HRez.png","contentUrl":"https:\/\/code-maze.com\/wp-content\/uploads\/2020\/01\/Code-Maze-Only-Logo-Transparent-HRez.png","width":3511,"height":3510,"caption":"Code Maze"},"image":{"@id":"https:\/\/code-maze.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/CodeMazeBlog"]},{"@type":"Person","@id":"https:\/\/code-maze.com\/#\/schema\/person\/09d29b223012c8e94a68ba62861d0b04","name":"Code Maze","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/code-maze.com\/#\/schema\/person\/image\/","url":"https:\/\/code-maze.com\/wp-content\/uploads\/2020\/01\/Code-Maze-Only-Logo-Transparent-HRez-150x150.png","contentUrl":"https:\/\/code-maze.com\/wp-content\/uploads\/2020\/01\/Code-Maze-Only-Logo-Transparent-HRez-150x150.png","caption":"Code Maze"},"description":"This is the standard author on the site. Most articles are published by individual authors, with their profiles, but when several authors have contributed, we publish collectively as a part of this profile.","sameAs":["https:\/\/www.linkedin.com\/company\/codemaze\/","https:\/\/x.com\/https:\/\/twitter.com\/CodeMazeBlog"],"url":"https:\/\/code-maze.com\/author\/codemazecontributor\/"}]}},"_links":{"self":[{"href":"https:\/\/code-maze.com\/wp-json\/wp\/v2\/posts\/82331","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code-maze.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/code-maze.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/code-maze.com\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/code-maze.com\/wp-json\/wp\/v2\/comments?post=82331"}],"version-history":[{"count":9,"href":"https:\/\/code-maze.com\/wp-json\/wp\/v2\/posts\/82331\/revisions"}],"predecessor-version":[{"id":91728,"href":"https:\/\/code-maze.com\/wp-json\/wp\/v2\/posts\/82331\/revisions\/91728"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/code-maze.com\/wp-json\/wp\/v2\/media\/62189"}],"wp:attachment":[{"href":"https:\/\/code-maze.com\/wp-json\/wp\/v2\/media?parent=82331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code-maze.com\/wp-json\/wp\/v2\/categories?post=82331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code-maze.com\/wp-json\/wp\/v2\/tags?post=82331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}