{"id":111481,"date":"2023-04-23T14:37:23","date_gmt":"2023-04-23T12:37:23","guid":{"rendered":"https:\/\/dirkstrauss.com\/?p=111481"},"modified":"2023-04-23T20:10:01","modified_gmt":"2023-04-23T18:10:01","slug":"accelerate-api-development","status":"publish","type":"post","link":"https:\/\/dirkstrauss.com\/accelerate-api-development\/","title":{"rendered":"Accelerate API Development in Visual Studio with .http\/.rest Files!"},"content":{"rendered":"\n<p>Accelerate API Development &#8211; Modern web applications rely heavily on back-end APIs and microservices, which can be challenging to develop efficiently due to the need for agility and quick iterations. To make working with APIs easier during the entire inner-loop lifecycle, from coding to testing, Visual Studio has introduced a new feature in ASP.NET Core Projects: .http\/.rest files and an integrated HTTP client. These files provide concise definitions for API endpoints and enable you to run your APIs and modify various REST calls to see structured outputs within Visual Studio.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Not quite what you were looking for? Try these links instead.<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/dirkstrauss.com\/xcode-stuck-updating-m1-macbook-pro\/\" target=\"_blank\" rel=\"noreferrer noopener\">Xcode Stuck on Updating or Installing on M1 MacBook Pro<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/dirkstrauss.com\/code-optimization-using-span\/\" target=\"_blank\" rel=\"noreferrer noopener\">Code Optimization using Span : An Introduction<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/dirkstrauss.com\/required-properties-in-csharp\/\" target=\"_blank\" rel=\"noreferrer noopener\">Required Properties in C# 11<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/dirkstrauss.com\/static-abstract-interface-members\/\" target=\"_blank\" rel=\"noreferrer noopener\">Static Abstract Interface Members in C#11<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/dirkstrauss.com\/rainbow-braces-visual-studio\/\" target=\"_blank\" rel=\"noreferrer noopener\">Rainbow Braces for Visual Studio: A Comprehensive Guide<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Accelerate API Development<\/h2>\n\n\n\n<p>It&#8217;s important to note that .http\/.rest files do not replace integration and unit testing but provide an alternative way to iterate rapidly during API development while monitoring the APIs used by your app and investigating inputs and outputs. This is just the beginning of the Visual Studio team&#8217;s efforts to improve the quality of life for C# .NET developers working with microservices in Visual Studio. You can count on them sharing more features in upcoming previews. To use this feature, ensure that you have <a href=\"https:\/\/visualstudio.microsoft.com\/downloads\/\" target=\"_blank\" rel=\"noreferrer noopener\">Visual Studio 17.5<\/a> installed. I have created a simple Books API, that manages my book library. The controller is illustrated in the image below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"588\" height=\"530\" data-attachment-id=\"111484\" data-permalink=\"https:\/\/dirkstrauss.com\/accelerate-api-development\/the-api-book-controller\/\" data-orig-file=\"https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/The-API-Book-Controller.jpg\" data-orig-size=\"588,530\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"The-API-Book-Controller\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/The-API-Book-Controller.jpg\" src=\"https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/The-API-Book-Controller.jpg\" alt=\"The book API Controller\" class=\"wp-image-111484\" srcset=\"https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/The-API-Book-Controller.jpg 588w, https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/The-API-Book-Controller-300x270.jpg 300w\" sizes=\"auto, (max-width: 588px) 100vw, 588px\" \/><\/figure>\n\n\n\n<p>Debugging the API would require the use of Swagger, Postman, or other similar tool. With Visual Studio 17.5, however, you can debug your API directly inside of Visual Studio with the use of <strong>.http\/.rest<\/strong> files. In the screenshot below, you will notice that I have added a <strong>Playground<\/strong> folder, and inside of that, I have added an HTTP file called <em>books.http<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"281\" height=\"561\" data-attachment-id=\"111485\" data-permalink=\"https:\/\/dirkstrauss.com\/accelerate-api-development\/visual-studio-solution-with-api-http-file\/\" data-orig-file=\"https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/visual-studio-solution-with-api-http-file.jpg\" data-orig-size=\"281,561\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"visual-studio-solution-with-api-http-file\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/visual-studio-solution-with-api-http-file.jpg\" src=\"https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/visual-studio-solution-with-api-http-file.jpg\" alt=\"The books.http file added to Visual Studio\" class=\"wp-image-111485\" srcset=\"https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/visual-studio-solution-with-api-http-file.jpg 281w, https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/visual-studio-solution-with-api-http-file-150x300.jpg 150w\" sizes=\"auto, (max-width: 281px) 100vw, 281px\" \/><\/figure>\n\n\n\n<p>Inside of this file, I can add my API calls as seen in the code below. <\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/dirkstrauss\/6011a63f8f85b66e8edb2a14b0e2407d.js\"><\/script>\n\n\n\n<p>I can add the <strong>GET<\/strong>, <strong>POST<\/strong>, <strong>PUT<\/strong>, and <strong>DELETE<\/strong> requests inside of this file. Once this is done, a green play button will appear next to each URL. I can then run them and see the results inside of Visual Studio.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"944\" height=\"543\" data-attachment-id=\"111491\" data-permalink=\"https:\/\/dirkstrauss.com\/accelerate-api-development\/visual-studio-running-my-api-queries\/\" data-orig-file=\"https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/visual-studio-running-my-api-queries.jpg\" data-orig-size=\"944,543\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"visual-studio-running-my-api-queries\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/visual-studio-running-my-api-queries.jpg\" src=\"https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/visual-studio-running-my-api-queries.jpg\" alt=\"Running my API queries inside of Visual Studio\" class=\"wp-image-111491\" srcset=\"https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/visual-studio-running-my-api-queries.jpg 944w, https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/visual-studio-running-my-api-queries-300x173.jpg 300w, https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/visual-studio-running-my-api-queries-768x442.jpg 768w\" sizes=\"auto, (max-width: 944px) 100vw, 944px\" \/><\/figure>\n\n\n\n<p>The results are output in a new window and allows me to inspect the results. It is important to note that I can use variables as seen at the top of the .http file. I can then plug these into the URL by using the double curly braces. <\/p>\n\n\n\n<p>This new feature in Visual Studio allows developers to accelerate API development and allows for a smoother inner-loop lifecycle.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Accelerate API Development in Visual Studio with the use of .http\/.rest files and see the results directly inside Visual Studio.<\/p>\n","protected":false},"author":1,"featured_media":111497,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4],"tags":[1696,30,3351],"class_list":["post-111481","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming","tag-api-development","tag-asp-net-core","tag-visual-studio-2022","entry","has-media"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Accelerate API Development in Visual Studio with .http\/.rest Files!<\/title>\n<meta name=\"description\" content=\"Accelerate API Development in Visual Studio with the use of .http\/.rest files and see the results directly inside Visual Studio.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dirkstrauss.com\/accelerate-api-development\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Accelerate API Development in Visual Studio with .http\/.rest Files!\" \/>\n<meta property=\"og:description\" content=\"Accelerate API Development in Visual Studio with the use of .http\/.rest files and see the results directly inside Visual Studio.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dirkstrauss.com\/accelerate-api-development\/\" \/>\n<meta property=\"og:site_name\" content=\"Programming and Tech Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-23T12:37:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-23T18:10:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/accelerate-api-development.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2260\" \/>\n\t<meta property=\"og:image:height\" content=\"1313\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Dirk Strauss\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dirkstrauss\" \/>\n<meta name=\"twitter:site\" content=\"@dirkstrauss\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dirk Strauss\" \/>\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\",\"@id\":\"https:\\\/\\\/dirkstrauss.com\\\/accelerate-api-development\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/dirkstrauss.com\\\/accelerate-api-development\\\/\"},\"author\":{\"name\":\"Dirk Strauss\",\"@id\":\"https:\\\/\\\/dirkstrauss.com\\\/#\\\/schema\\\/person\\\/b6e2451f0ee38b23a2dd082b398fe4b2\"},\"headline\":\"Accelerate API Development in Visual Studio with .http\\\/.rest Files!\",\"datePublished\":\"2023-04-23T12:37:23+00:00\",\"dateModified\":\"2023-04-23T18:10:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/dirkstrauss.com\\\/accelerate-api-development\\\/\"},\"wordCount\":446,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/dirkstrauss.com\\\/#\\\/schema\\\/person\\\/b6e2451f0ee38b23a2dd082b398fe4b2\"},\"image\":{\"@id\":\"https:\\\/\\\/dirkstrauss.com\\\/accelerate-api-development\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/dirkstrauss.com\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/accelerate-api-development.png\",\"keywords\":[\"api development\",\"ASP.NET Core\",\"visual studio 2022\"],\"articleSection\":[\"Programming\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/dirkstrauss.com\\\/accelerate-api-development\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/dirkstrauss.com\\\/accelerate-api-development\\\/\",\"url\":\"https:\\\/\\\/dirkstrauss.com\\\/accelerate-api-development\\\/\",\"name\":\"Accelerate API Development in Visual Studio with .http\\\/.rest Files!\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/dirkstrauss.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/dirkstrauss.com\\\/accelerate-api-development\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/dirkstrauss.com\\\/accelerate-api-development\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/dirkstrauss.com\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/accelerate-api-development.png\",\"datePublished\":\"2023-04-23T12:37:23+00:00\",\"dateModified\":\"2023-04-23T18:10:01+00:00\",\"description\":\"Accelerate API Development in Visual Studio with the use of .http\\\/.rest files and see the results directly inside Visual Studio.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/dirkstrauss.com\\\/accelerate-api-development\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/dirkstrauss.com\\\/accelerate-api-development\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/dirkstrauss.com\\\/accelerate-api-development\\\/#primaryimage\",\"url\":\"https:\\\/\\\/dirkstrauss.com\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/accelerate-api-development.png\",\"contentUrl\":\"https:\\\/\\\/dirkstrauss.com\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/accelerate-api-development.png\",\"width\":2260,\"height\":1313,\"caption\":\"Accelerate API Development with http or rest files in Visual Studio\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/dirkstrauss.com\\\/accelerate-api-development\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/dirkstrauss.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Accelerate API Development in Visual Studio with .http\\\/.rest Files!\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/dirkstrauss.com\\\/#website\",\"url\":\"https:\\\/\\\/dirkstrauss.com\\\/\",\"name\":\"Programming and Tech Blog\",\"description\":\"For the love of Technology\",\"publisher\":{\"@id\":\"https:\\\/\\\/dirkstrauss.com\\\/#\\\/schema\\\/person\\\/b6e2451f0ee38b23a2dd082b398fe4b2\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/dirkstrauss.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/dirkstrauss.com\\\/#\\\/schema\\\/person\\\/b6e2451f0ee38b23a2dd082b398fe4b2\",\"name\":\"Dirk Strauss\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/dirkstrauss.com\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/me.jpg?fit=200%2C200&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/dirkstrauss.com\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/me.jpg?fit=200%2C200&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/dirkstrauss.com\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/me.jpg?fit=200%2C200&ssl=1\",\"width\":200,\"height\":200,\"caption\":\"Dirk Strauss\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/dirkstrauss.com\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/me.jpg?fit=200%2C200&ssl=1\"},\"description\":\"As a seasoned software developer with a long-standing career in C# and Visual Studio, I have had the privilege of working with a number of companies and learning from some of the most talented individuals in the industry. In addition to my professional experience, I have authored multiple books on topics such as C#, Visual Studio, and ASP.NET Core. My passion for programming is unwavering, and I am dedicated to staying current with the latest technology and sharing my expertise with others.\",\"sameAs\":[\"https:\\\/\\\/dirkstrauss.com\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/dirkstrauss\\\/\",\"https:\\\/\\\/x.com\\\/dirkstrauss\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Accelerate API Development in Visual Studio with .http\/.rest Files!","description":"Accelerate API Development in Visual Studio with the use of .http\/.rest files and see the results directly inside Visual Studio.","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:\/\/dirkstrauss.com\/accelerate-api-development\/","og_locale":"en_US","og_type":"article","og_title":"Accelerate API Development in Visual Studio with .http\/.rest Files!","og_description":"Accelerate API Development in Visual Studio with the use of .http\/.rest files and see the results directly inside Visual Studio.","og_url":"https:\/\/dirkstrauss.com\/accelerate-api-development\/","og_site_name":"Programming and Tech Blog","article_published_time":"2023-04-23T12:37:23+00:00","article_modified_time":"2023-04-23T18:10:01+00:00","og_image":[{"width":2260,"height":1313,"url":"https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/accelerate-api-development.png","type":"image\/png"}],"author":"Dirk Strauss","twitter_card":"summary_large_image","twitter_creator":"@dirkstrauss","twitter_site":"@dirkstrauss","twitter_misc":{"Written by":"Dirk Strauss","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dirkstrauss.com\/accelerate-api-development\/#article","isPartOf":{"@id":"https:\/\/dirkstrauss.com\/accelerate-api-development\/"},"author":{"name":"Dirk Strauss","@id":"https:\/\/dirkstrauss.com\/#\/schema\/person\/b6e2451f0ee38b23a2dd082b398fe4b2"},"headline":"Accelerate API Development in Visual Studio with .http\/.rest Files!","datePublished":"2023-04-23T12:37:23+00:00","dateModified":"2023-04-23T18:10:01+00:00","mainEntityOfPage":{"@id":"https:\/\/dirkstrauss.com\/accelerate-api-development\/"},"wordCount":446,"commentCount":1,"publisher":{"@id":"https:\/\/dirkstrauss.com\/#\/schema\/person\/b6e2451f0ee38b23a2dd082b398fe4b2"},"image":{"@id":"https:\/\/dirkstrauss.com\/accelerate-api-development\/#primaryimage"},"thumbnailUrl":"https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/accelerate-api-development.png","keywords":["api development","ASP.NET Core","visual studio 2022"],"articleSection":["Programming"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dirkstrauss.com\/accelerate-api-development\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dirkstrauss.com\/accelerate-api-development\/","url":"https:\/\/dirkstrauss.com\/accelerate-api-development\/","name":"Accelerate API Development in Visual Studio with .http\/.rest Files!","isPartOf":{"@id":"https:\/\/dirkstrauss.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dirkstrauss.com\/accelerate-api-development\/#primaryimage"},"image":{"@id":"https:\/\/dirkstrauss.com\/accelerate-api-development\/#primaryimage"},"thumbnailUrl":"https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/accelerate-api-development.png","datePublished":"2023-04-23T12:37:23+00:00","dateModified":"2023-04-23T18:10:01+00:00","description":"Accelerate API Development in Visual Studio with the use of .http\/.rest files and see the results directly inside Visual Studio.","breadcrumb":{"@id":"https:\/\/dirkstrauss.com\/accelerate-api-development\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dirkstrauss.com\/accelerate-api-development\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dirkstrauss.com\/accelerate-api-development\/#primaryimage","url":"https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/accelerate-api-development.png","contentUrl":"https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/accelerate-api-development.png","width":2260,"height":1313,"caption":"Accelerate API Development with http or rest files in Visual Studio"},{"@type":"BreadcrumbList","@id":"https:\/\/dirkstrauss.com\/accelerate-api-development\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dirkstrauss.com\/"},{"@type":"ListItem","position":2,"name":"Accelerate API Development in Visual Studio with .http\/.rest Files!"}]},{"@type":"WebSite","@id":"https:\/\/dirkstrauss.com\/#website","url":"https:\/\/dirkstrauss.com\/","name":"Programming and Tech Blog","description":"For the love of Technology","publisher":{"@id":"https:\/\/dirkstrauss.com\/#\/schema\/person\/b6e2451f0ee38b23a2dd082b398fe4b2"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dirkstrauss.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/dirkstrauss.com\/#\/schema\/person\/b6e2451f0ee38b23a2dd082b398fe4b2","name":"Dirk Strauss","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i0.wp.com\/dirkstrauss.com\/wp-content\/uploads\/2021\/04\/me.jpg?fit=200%2C200&ssl=1","url":"https:\/\/i0.wp.com\/dirkstrauss.com\/wp-content\/uploads\/2021\/04\/me.jpg?fit=200%2C200&ssl=1","contentUrl":"https:\/\/i0.wp.com\/dirkstrauss.com\/wp-content\/uploads\/2021\/04\/me.jpg?fit=200%2C200&ssl=1","width":200,"height":200,"caption":"Dirk Strauss"},"logo":{"@id":"https:\/\/i0.wp.com\/dirkstrauss.com\/wp-content\/uploads\/2021\/04\/me.jpg?fit=200%2C200&ssl=1"},"description":"As a seasoned software developer with a long-standing career in C# and Visual Studio, I have had the privilege of working with a number of companies and learning from some of the most talented individuals in the industry. In addition to my professional experience, I have authored multiple books on topics such as C#, Visual Studio, and ASP.NET Core. My passion for programming is unwavering, and I am dedicated to staying current with the latest technology and sharing my expertise with others.","sameAs":["https:\/\/dirkstrauss.com","https:\/\/www.linkedin.com\/in\/dirkstrauss\/","https:\/\/x.com\/dirkstrauss"]}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/dirkstrauss.com\/wp-content\/uploads\/2023\/04\/accelerate-api-development.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p1lNYm-t05","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/dirkstrauss.com\/wp-json\/wp\/v2\/posts\/111481","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dirkstrauss.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dirkstrauss.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dirkstrauss.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dirkstrauss.com\/wp-json\/wp\/v2\/comments?post=111481"}],"version-history":[{"count":13,"href":"https:\/\/dirkstrauss.com\/wp-json\/wp\/v2\/posts\/111481\/revisions"}],"predecessor-version":[{"id":111508,"href":"https:\/\/dirkstrauss.com\/wp-json\/wp\/v2\/posts\/111481\/revisions\/111508"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dirkstrauss.com\/wp-json\/wp\/v2\/media\/111497"}],"wp:attachment":[{"href":"https:\/\/dirkstrauss.com\/wp-json\/wp\/v2\/media?parent=111481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dirkstrauss.com\/wp-json\/wp\/v2\/categories?post=111481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dirkstrauss.com\/wp-json\/wp\/v2\/tags?post=111481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}