{"id":9667,"date":"2023-07-07T05:55:16","date_gmt":"2023-07-07T05:55:16","guid":{"rendered":"https:\/\/positiwise.com\/?p=9492"},"modified":"2023-12-27T09:26:23","modified_gmt":"2023-12-27T09:26:23","slug":"a-guide-to-building-web-apis-with-entity-framework-core-in-net-7","status":"publish","type":"post","link":"https:\/\/positiwise.com\/blog\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7","title":{"rendered":"A Guide to Build ASP.NET Core Web API with Entity Framework Core"},"content":{"rendered":"\n<p><strong class=\"pw-highlight-text-color\"><em>Quick Overview:<\/em><\/strong><br>Nowadays, web APIs are an integral part of every .NET application. It helps to utilize data from multiple sources without putting additional load on the app. Also, when you hire .NET developers, they recommend using such APIs to fulfill project requirements.<br><br>With Microsoft\u2019s introduction of .NET 7, you must only prefer APIs based on it. It would help you achieve the utmost performance, compatibility, and stability. And you will also gain a long-term benefit by learning about its development. You will then <a href=\"https:\/\/positiwise.com\/blog\/an-ultimate-guide-to-integrate-ai-and-ml-with-net-applications\">know how to make dot NET applications<\/a> lightweight.<br><br>To understand it all, you must know the answer to \u201cHow to create .NET 7 Web API\u201d. Therefore, let&#8217;s begin the journey of exploring the process of creating applications that are easily maintainable and lightweight.<\/p><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/positiwise.com\/blog\/net-core-vs-node-js\/#A_Run-Through_NET_Core_vs_Nodejs\" >A Run-Through: .NET Core vs Node.js<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/positiwise.com\/blog\/net-core-vs-node-js\/#NET_Core\" >.NET Core<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/positiwise.com\/blog\/net-core-vs-node-js\/#Pros_of_using_NET_Core\" >Pros of using .NET Core<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/positiwise.com\/blog\/net-core-vs-node-js\/#Nodejs\" >Node.js<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/positiwise.com\/blog\/net-core-vs-node-js\/#A_Deep_Dive_into_NET_Core_vs_Nodejs\" >A Deep Dive into .NET Core vs. Node.js<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/positiwise.com\/blog\/net-core-vs-node-js\/#Processing_Approach_and_Performance\" >Processing Approach and Performance<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/positiwise.com\/blog\/net-core-vs-node-js\/#Security\" >Security<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/positiwise.com\/blog\/net-core-vs-node-js\/#Scalability\" >Scalability<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/positiwise.com\/blog\/net-core-vs-node-js\/#Platform_Adaptability\" >Platform Adaptability<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/positiwise.com\/blog\/net-core-vs-node-js\/#Support_from_Community\" >Support from Community<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/positiwise.com\/blog\/net-core-vs-node-js\/#Comparison_Table_between_NET_Core_and_Nodejs\" >Comparison Table between .NET Core and Node.js<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/positiwise.com\/blog\/net-core-vs-node-js\/#Wrapping_Up_on_NET_Core_vs_Nodejs\" >Wrapping Up on .NET Core vs Node.js<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n\n<h2 class=\"wp-block-heading\">What is .NET 7 Web API &amp; Entity Framework?<\/h2>\n\n\n\n<p>.NET 7 is the latest release by Microsoft, for which a standard 18 months is also provided. Nowadays, every authentic&nbsp;.NET development company&nbsp;is considering it for creating Web APIs, which are obviously known as .NET 7 Web APIs. However, Entity Framework Core 7 is the primary technology under the .NET 7, which is being used for developing such APIs.<\/p>\n\n\n\n<p>Lately, Entity Framework has been part of the .NET framework. However, with the release of its seventh version, you need to install it separately. The further tutorial will show its usage, providing better insight into Web API development.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites to Build ASP.NET Core Web API<\/h2>\n\n\n\n<p>Before creating Web API using Entity Framework Core in dot NET 7, you must install .NET 7 SDK &amp; Visual Studio Core or Visual Studio. The recommendation is always to download and install the latest version of Visual Studio, as it includes built-in NuGet package manager functionality.<\/p>\n\n\n\n<p>In addition, the newer versions of Visual Studio &amp; Visual Studio Code are stable and compatible with all third-party applications, operating systems, and other digital platforms.<\/p>\n\n\n\n<p>To install Visual Studio, follow the below steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Download Visual Studio from the official website.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"696\" height=\"337\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/download-visual-studio.png\" alt=\"download visual studio\" class=\"wp-image-10845\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/download-visual-studio.png 696w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/download-visual-studio-300x145.png 300w\" sizes=\"auto, (max-width: 696px) 100vw, 696px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Once the installation package gets downloaded, double-click on the file to start its installation.<\/li>\n<\/ul>\n\n\n\n<p>After some time, Visual Studio will get downloaded to your machine.<\/p>\n\n\n\n<p>After the Visual Studio, you now need a .NET 7 Software Development Kit (SDK). To install .NET SDK, undergo the following procedure:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/dotnet.microsoft.com\/en-us\/download\/dotnet\/7.0\">Download .NET 7 SDK<\/a>&nbsp;from the official Microsoft website.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"738\" height=\"406\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/download-net-7-sdk.png\" alt=\"download net 7 sdk\" class=\"wp-image-10844\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/download-net-7-sdk.png 738w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/download-net-7-sdk-300x165.png 300w\" sizes=\"auto, (max-width: 738px) 100vw, 738px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Double-click on the installation file.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Wait for the software installation to be completed. As a result, .NET 7 SDK will be installed and ready for you.<\/li>\n<\/ul>\n\n\n\n<p>Once your system is loaded with Visual Studio and .NET SDK, move to the process of building a Web API.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Complete Process: How to Build ASP.NET Core Web API in .NET 7?<\/h2>\n\n\n\n<p>In this procedure, we would build minimal Web API using .NET 7. After its creation, we will perform testing by <a href=\"https:\/\/positiwise.com\/blog\/web-api-for-crud-operations-in-net-6\">performing CRUD operations<\/a> like CREATE, READ, UPDATE, and DELETE.<\/p>\n\n\n\n<p>Let\u2019s start with the process.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Access the Visual Studio on your option. From the home screen, select Create a new project option.&nbsp;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"701\" height=\"354\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/create-new-project-vs.png\" alt=\"create new project vs\" class=\"wp-image-10843\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/create-new-project-vs.png 701w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/create-new-project-vs-300x151.png 300w\" sizes=\"auto, (max-width: 701px) 100vw, 701px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>From the available project templates, choose ASP.NET Core Web API. This template is selected because of the availability of RESTful HTTP services control. You can also utilize it for Views and Controllers associated with&nbsp;<a href=\"https:\/\/positiwise.com\/blog\/asp-net-core-framework-why-its-best-for-your-web-application-development\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>ASP.NET Core<\/strong><\/a>. In addition, for beginners, it\u2019s a reliable way of understanding web API development.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"433\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/choose-asp-net-core-web-api.png\" alt=\"choose asp net core web api\" class=\"wp-image-10842\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/choose-asp-net-core-web-api.png 624w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/choose-asp-net-core-web-api-300x208.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select the Next button for the project configuration interface. Once the interface opens, fill out the Project Name and location where you want to save the file.&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>After filling out the details, click on the Next button.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"430\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/enter-the-project-name.png\" alt=\"enter the project name\" class=\"wp-image-10841\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/enter-the-project-name.png 624w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/enter-the-project-name-300x207.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the additional information, select .NET 7.0 with standard term support as the primary framework. In addition, <a href=\"https:\/\/positiwise.com\/blog\/net-core-and-how-to-configuring-https-in-asp-net-core\"><strong>check the configuration for HTTPS<\/strong><\/a>, Enable OpenAPI support, and uncheck others as below. And then click on Create.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"430\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/add-additional-information-vs.png\" alt=\"add additional information vs\" class=\"wp-image-10840\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/add-additional-information-vs.png 624w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/add-additional-information-vs-300x207.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p>After clicking on the Create button, you will see the project on your screen. Moreover, the complete project structure is displayed in the left panel, from which you need to open the Program.cs file.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"333\" height=\"373\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/search-solution-explorer.png\" alt=\"search solution explorer\" class=\"wp-image-10839\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/search-solution-explorer.png 333w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/search-solution-explorer-268x300.png 268w\" sizes=\"auto, (max-width: 333px) 100vw, 333px\" \/><\/figure>\n\n\n\n<p>Understanding the code in the Program.cs file is necessary, as it helps to learn the handling of HTTP requests and API-associated CRUD operations code. In our case, the template contains code for availing weather data through web API. As a result, it displays weather summary, temperature, and date information.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"484\" height=\"624\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/handling-of-http-requests.png\" alt=\"handling of http requests\" class=\"wp-image-10838\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/handling-of-http-requests.png 484w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/handling-of-http-requests-233x300.png 233w\" sizes=\"auto, (max-width: 484px) 100vw, 484px\" \/><\/figure>\n\n\n\n<p>Further, we are going to create our own Web API, but before that, let\u2019s have a look at the output of this default API template. You need to run the code using the Swagger page as below.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"405\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/sample-minimal-api.png\" alt=\"sample minimal api\" class=\"wp-image-10837\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/sample-minimal-api.png 624w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/sample-minimal-api-300x195.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p>As depicted in the above snippet, API provided the weather forecast information. Similarly, we will now create our own API using Entity Framework and test its CRUD function using Swagger.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">.NET 7 Web API &amp; Entity Framework: Creation and Testing<\/h2>\n\n\n\n<p>Now, you know the basics of .NET 7 Web API. It would be easy for you to create a custom one for your project. By undergoing the further provided steps, you will gain a clear insight into the procedure to follow and the code to write for Web API creation. The complete process contains the below procedure:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install the Entity Framework Core packages using the NuGet package manager.&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>By right-clicking on your project, open the menu, and select the Manage <a href=\"https:\/\/positiwise.com\/blog\/understanding-nuget-packages\">NuGet Packages<\/a> option.\u00a0<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"288\" height=\"580\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/manage-nuget-packages.png\" alt=\"manage nuget packages\" class=\"wp-image-10836\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/manage-nuget-packages.png 288w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/manage-nuget-packages-149x300.png 149w\" sizes=\"auto, (max-width: 288px) 100vw, 288px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The Visual Studio will open the NuGet package manager interface. In the search bar, type&nbsp;<strong>Microsoft.EntityFrameworkCore.InMemory<\/strong>&nbsp;and install it using the Install button available in the right panel.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"335\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/type-microsoft-entity-framework-core-inmemory.png\" alt=\"type microsoft entity framework core inmemory\" class=\"wp-image-10835\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/type-microsoft-entity-framework-core-inmemory.png 624w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/type-microsoft-entity-framework-core-inmemory-300x161.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p>Again, repeat the procedure and search for&nbsp;<strong>Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore<\/strong>&nbsp;and install it too.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"361\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/search-microsoft-aspnetcore-diagnostics-entity-frameworkcore.png\" alt=\"search microsoft aspnetcore diagnostics entity frameworkcore\" class=\"wp-image-10850\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/search-microsoft-aspnetcore-diagnostics-entity-frameworkcore.png 624w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/search-microsoft-aspnetcore-diagnostics-entity-frameworkcore-300x174.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create a Model class and add it.<\/li>\n<\/ul>\n\n\n\n<p>Generate a Model folder, create a file with the name Student.cs, and add the following code to it:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"608\" height=\"177\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/create-model-class.png\" alt=\"create model class\" class=\"wp-image-10833\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/create-model-class.png 608w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/create-model-class-300x87.png 300w\" sizes=\"auto, (max-width: 608px) 100vw, 608px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Again, create a new folder to add the data context class. In this example, we are going to name the class as MyDataContext.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"578\" height=\"140\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/class-mydatacontext.png\" alt=\"class mydatacontext\" class=\"wp-image-10832\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/class-mydatacontext.png 578w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/class-mydatacontext-300x73.png 300w\" sizes=\"auto, (max-width: 578px) 100vw, 578px\" \/><\/figure>\n\n\n\n<p>Further, you need to define data context in the Program.cs file.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"59\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/define-data-context.png\" alt=\"define data context\" class=\"wp-image-10831\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/define-data-context.png 624w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/define-data-context-300x28.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Build your own Web API<\/li>\n<\/ul>\n\n\n\n<p>Open the Program.cs file and start writing your API code inside it. You can write any code for your Web API per your requirements and the CRUD operations you want to execute. However, for this demonstration, we are going to add an endpoint for our student class.<br>To save the student data, write the following code in the Program.cs file:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"608\" height=\"139\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/program-cs-code.png\" alt=\"program cs code\" class=\"wp-image-10830\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/program-cs-code.png 608w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/program-cs-code-300x69.png 300w\" sizes=\"auto, (max-width: 608px) 100vw, 608px\" \/><\/figure>\n\n\n\n<p>To perform the Get function, add the below code:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"513\" height=\"43\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/perform-get-function.png\" alt=\"perform get function\" class=\"wp-image-10829\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/perform-get-function.png 513w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/perform-get-function-300x25.png 300w\" sizes=\"auto, (max-width: 513px) 100vw, 513px\" \/><\/figure>\n\n\n\n<p>For performing the update operation, the below code will be used:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"238\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/performing-the-update-operation.png\" alt=\"performing the update operation\" class=\"wp-image-10828\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/performing-the-update-operation.png 624w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/performing-the-update-operation-300x114.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p>Once you write all three portions of the Web API code, complete the Program.cs will look similar to the following snippet. Before saving the source code, verify that the overall code is placed in the correct position to prevent bugs, errors, and misconfigurations.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"556\" height=\"453\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/verify-the-overall-code.png\" alt=\"verify the overall code\" class=\"wp-image-10827\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/verify-the-overall-code.png 556w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/verify-the-overall-code-300x244.png 300w\" sizes=\"auto, (max-width: 556px) 100vw, 556px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"553\" height=\"518\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/verify-the-overall-code-1.png\" alt=\"verify the overall code 1\" class=\"wp-image-10826\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/verify-the-overall-code-1.png 553w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/verify-the-overall-code-1-300x281.png 300w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"553\" height=\"518\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/verify-the-overall-code-2.png\" alt=\"verify the overall code 2\" class=\"wp-image-10825\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/verify-the-overall-code-2.png 553w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/verify-the-overall-code-2-300x281.png 300w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><\/figure>\n\n\n\n<p>After writing the code, it\u2019s time to check the API functionality. And for it, we would be using the Swagger tool, which .NET experts recommend. Even if you hire dot net developers, most would use the same tool to test the Web API built using Entity Framework Core and .NET 7.<\/p>\n\n\n\n<p>Run the code and check whether you see the output below or not. If not, then check the code and again run the API.<\/p>\n\n\n\n<p>Results for Save API<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"365\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/results-for-save-api.png\" alt=\"results for save api\" class=\"wp-image-10824\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/results-for-save-api.png 550w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/results-for-save-api-300x199.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"546\" height=\"285\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/results-for-save-api-1.png\" alt=\"results for save api 1\" class=\"wp-image-10823\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/results-for-save-api-1.png 546w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/results-for-save-api-1-300x157.png 300w\" sizes=\"auto, (max-width: 546px) 100vw, 546px\" \/><\/figure>\n\n\n\n<p>Result for Get Student API<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"551\" height=\"359\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/result-for-get-student-api.png\" alt=\"result for get student api\" class=\"wp-image-10822\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/result-for-get-student-api.png 551w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/08\/result-for-get-student-api-300x195.png 300w\" sizes=\"auto, (max-width: 551px) 100vw, 551px\" \/><\/figure>\n\n\n\n<p>The results show that Web API based on .NET 7 Entity Framework Core works efficiently. By following the exact mechanism and approach, you can build your APIs. Now, you know the fundamentals, how to add, get, update, and other CRUD operations code and test them.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Hire Dot Net Developers For Web API Development?<\/h2>\n\n\n\n<p>Dot net developers are essential in <a href=\"https:\/\/positiwise.com\/hire\/net-web-api-development\">building Web API using .NET 7<\/a> and Entity Framework Core. Professional developers with 6 \u2013 8+ years of experience understand the need for Web APIs, their functionality, and their development. Thus, always consider hiring dot net developers when creating such API for your project.<\/p>\n\n\n\n<div class=\"wp-block-group bg-shaps has-background has-global-padding is-layout-constrained wp-container-core-group-is-layout-a666d811 wp-block-group-is-layout-constrained\" style=\"border-radius:5px;background-color:#151e2c;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)\">\n<p class=\"has-text-align-center fs-4 lh-base has-base-color has-text-color\">We deliver high-quality custom .NET applications that meet your business needs and deadlines. Our .NET developers have years of experience building secure, scalable solutions. Get started today!<\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-a89b3969 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-base-color has-text-color has-background wp-element-button\" href=\"https:\/\/positiwise.com\/hire-asp-net-developers\" style=\"border-radius:100px;background-color:#ed7923;padding-top:10px;padding-right:30px;padding-bottom:10px;padding-left:30px\">HIRE .NET DEVELOPERS<\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n<p>In addition, you can select developers from a freelance platform or an outsourcing company. And it entirely depends upon you which alternative you select for the duration. However, <a href=\"https:\/\/positiwise.com\/blog\/factors-to-remember-while-selecting-custom-software-development-company\"><strong>industry experts always prefer outsourcing companies<\/strong><\/a>, such as Positiwise Software Pvt Ltd, as they promise to complete work on time and within cost constraints.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How does Positiwise Software Pvt Ltd Help in Building &nbsp;.NET web API?<\/h2>\n\n\n\n<p><a href=\"https:\/\/positiwise.com\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Positiwise Software Pvt Ltd<\/strong><\/a>&nbsp;is a renowned name in .NET development company with 10+ years of experience. It employs professional dot net developers who can curate any .NET application within a limited time with the utmost quality. In addition, all their developers are certified and skilled in building web APIs and testing them for any business environment.&nbsp;<\/p>\n\n\n\n<p>Moreover, Positiwise offers the following leverages that can highly benefit you:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Development using the latest software and hardware resources.&nbsp;<\/li>\n\n\n\n<li>Assurance of data integrity and confidentiality.&nbsp;<\/li>\n\n\n\n<li>The signing of NDA (Non-Disclosure Agreement)&nbsp;<\/li>\n\n\n\n<li>Completely Transparent Process&nbsp;<\/li>\n\n\n\n<li>Affordable Pricing and Dedicated Support<\/li>\n\n\n\n<li>Agile Process and Consultation&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>Besides, Positiwise undergoes every project detail to curate a perfect .NET solution and Web API using Entity framework core. Thus, your solution runs seamlessly and enables you to perform all CRUD functions without any errors.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Concluding Up<\/h3>\n\n\n\n<p>When looking to hire .NET Core developers for building Web APIs using Entity Framework Core, you need developers with experience using the .NET 7 SDK and Visual Studio. The .NET Core developers should understand CRUD operations to finalize which operations the API needs to perform. They can use default templates or write custom code for developing the API. The process involves creating folders, adding a database context, &amp; configuring the Program.cs file. Ideally, <a href=\"https:\/\/positiwise.com\/hire\/hire-dot-net-core-developers\">hire Dot NET Core developers<\/a> who have hands-on experience building Web APIs with Entity Framework Core using the latest .NET 7 SDK and Visual Studio.<\/p>\n\n\n\n<p>Furthermore, verify the code and test all the API functions using Swagger or any other testing tool you choose. However, if you face any difficulty, consult with a .NET development company or hire dot net developers. As a result, you will have your Web API built using Entity Framework Core in .NET 7.<\/p>\n  <div class=\"related-post slider\">\r\n        <div class=\"headline\">Related Posts<\/div>\r\n    <div class=\"post-list owl-carousel\">\r\n\r\n            <div class=\"item\">\r\n            <div class=\"thumb post_thumb\">\r\n    <a  title=\".Net Core vs. Java \u2013 Which One You Should Use for Your Projects?\" href=\"https:\/\/positiwise.com\/blog\/net-core-vs-java-technology\">\r\n\r\n      <img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"800\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2021\/12\/web-security-partner-1.jpg\" class=\"attachment-full size-full wp-post-image\" alt=\".Net Core vs. Java \u2013 Which One You Should Use for Your Projects?\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2021\/12\/web-security-partner-1.jpg 1200w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2021\/12\/web-security-partner-1-300x200.jpg 300w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2021\/12\/web-security-partner-1-1024x683.jpg 1024w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2021\/12\/web-security-partner-1-768x512.jpg 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/>\r\n\r\n    <\/a>\r\n  <\/div>\r\n\r\n  <a class=\"title post_title\"  title=\".Net Core vs. Java \u2013 Which One You Should Use for Your Projects?\" href=\"https:\/\/positiwise.com\/blog\/net-core-vs-java-technology\">\r\n        .Net Core vs. Java \u2013 Which One You Should Use for Your Projects?  <\/a>\r\n\r\n        <\/div>\r\n              <div class=\"item\">\r\n            <div class=\"thumb post_thumb\">\r\n    <a  title=\"Precise Road Map for ASP.NET Developers\" href=\"https:\/\/positiwise.com\/blog\/roadmap-for-asp-dot-net-developers\">\r\n\r\n      <img loading=\"lazy\" decoding=\"async\" width=\"1021\" height=\"621\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2022\/01\/dealership-1200x800-1.jpg\" class=\"attachment-full size-full wp-post-image\" alt=\"Hire ASP.NET Developers - A Precise Road Map to Employ ASP.NET Developers\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2022\/01\/dealership-1200x800-1.jpg 1021w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2022\/01\/dealership-1200x800-1-300x182.jpg 300w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2022\/01\/dealership-1200x800-1-768x467.jpg 768w\" sizes=\"auto, (max-width: 1021px) 100vw, 1021px\" \/>\r\n\r\n    <\/a>\r\n  <\/div>\r\n\r\n  <a class=\"title post_title\"  title=\"Precise Road Map for ASP.NET Developers\" href=\"https:\/\/positiwise.com\/blog\/roadmap-for-asp-dot-net-developers\">\r\n        Precise Road Map for ASP.NET Developers  <\/a>\r\n\r\n        <\/div>\r\n              <div class=\"item\">\r\n            <div class=\"thumb post_thumb\">\r\n    <a  title=\".NET Core vs Node.js: The Difference Explained by Web Expert\" href=\"https:\/\/positiwise.com\/blog\/net-core-vs-node-js\">\r\n\r\n      <img loading=\"lazy\" decoding=\"async\" width=\"1021\" height=\"621\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2022\/01\/NET-Core-VS-Node-js-jpg.webp\" class=\"attachment-full size-full wp-post-image\" alt=\"NET-Core-VS-Node-js\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2022\/01\/NET-Core-VS-Node-js-jpg.webp 1021w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2022\/01\/NET-Core-VS-Node-js-300x182.webp 300w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2022\/01\/NET-Core-VS-Node-js-768x467.webp 768w\" sizes=\"auto, (max-width: 1021px) 100vw, 1021px\" \/>\r\n\r\n    <\/a>\r\n  <\/div>\r\n\r\n  <a class=\"title post_title\"  title=\".NET Core vs Node.js: The Difference Explained by Web Expert\" href=\"https:\/\/positiwise.com\/blog\/net-core-vs-node-js\">\r\n        .NET Core vs Node.js: The Difference Explained by Web Expert  <\/a>\r\n\r\n        <\/div>\r\n      \r\n  <\/div>\r\n\r\n  <script>\r\n      <\/script>\r\n  <style>\r\n    .related-post {}\r\n\r\n    .related-post .post-list {\r\n      text-align: left;\r\n          }\r\n\r\n    .related-post .post-list .item {\r\n      margin: 5px;\r\n      padding: 0px;\r\n          }\r\n\r\n    .related-post .headline {\r\n      font-size: 2rem !important;\r\n      color: #212529 !important;\r\n          }\r\n\r\n    .related-post .headline {\r\nmargin-top: 0;\r\npadding-left: 1%;\r\n}.related-post .post-list .item .post_thumb {\r\n      max-height: 220px;\r\n      margin: 0px 0px 10px 0px;\r\n      padding: 0px;\r\n      display: block;\r\n          }\r\n\r\n    .related-post .post-list .item .post_title {\r\n      font-size: 1rem;\r\n      color: #212529;\r\n      margin: 10px 0px;\r\n      padding: 0px;\r\n      display: block;\r\n      text-decoration: none;\r\n          }\r\n\r\n    .related-post .post-list .item .post_excerpt {\r\n      font-size: 13px;\r\n      color: #3f3f3f;\r\n      margin: 10px 0px;\r\n      padding: 0px;\r\n      display: block;\r\n      text-decoration: none;\r\n          }\r\n\r\n    .related-post .owl-dots .owl-dot {\r\n          }\r\n\r\n      <\/style>\r\n      <script>\r\n      jQuery(document).ready(function($) {\r\n        $(\".related-post .post-list\").owlCarousel({\r\n          items: 3,\r\n          responsiveClass: true,\r\n          responsive: {\r\n            0: {\r\n              items: 1,\r\n            },\r\n            768: {\r\n              items: 2,\r\n            },\r\n            1200: {\r\n              items: 3,\r\n            }\r\n          },\r\n                      rewind: true,\r\n                                loop: true,\r\n                                center: true,\r\n                                autoplay: true,\r\n            autoplayHoverPause: true,\r\n                                nav: true,\r\n            navSpeed: 1000,\r\n            navText: ['<i class=\"fas fa-chevron-left\"><\/i>', '<i class=\"fas fa-chevron-right\"><\/i>'],\r\n                                dots: true,\r\n            dotsSpeed: 1200,\r\n                                                    rtl: false,\r\n          \r\n        });\r\n      });\r\n    <\/script>\r\n  <\/div>\r\n","protected":false},"excerpt":{"rendered":"<p>Quick Overview:Nowadays, web APIs are an integral part of every .NET application. It helps to utilize data from [&hellip;]<\/p>\n  <div class=\"related-post slider\">\r\n        <div class=\"headline\">Related Posts<\/div>\r\n    <div class=\"post-list owl-carousel\">\r\n\r\n            <div class=\"item\">\r\n            <div class=\"thumb post_thumb\">\r\n    <a  title=\".Net Core vs. Java \u2013 Which One You Should Use for Your Projects?\" href=\"https:\/\/positiwise.com\/blog\/net-core-vs-java-technology\">\r\n\r\n      <img width=\"1200\" height=\"800\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2021\/12\/web-security-partner-1.jpg\" class=\"attachment-full size-full wp-post-image\" alt=\".Net Core vs. Java \u2013 Which One You Should Use for Your Projects?\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2021\/12\/web-security-partner-1.jpg 1200w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2021\/12\/web-security-partner-1-300x200.jpg 300w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2021\/12\/web-security-partner-1-1024x683.jpg 1024w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2021\/12\/web-security-partner-1-768x512.jpg 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/>\r\n\r\n    <\/a>\r\n  <\/div>\r\n\r\n  <a class=\"title post_title\"  title=\".Net Core vs. Java \u2013 Which One You Should Use for Your Projects?\" href=\"https:\/\/positiwise.com\/blog\/net-core-vs-java-technology\">\r\n        .Net Core vs. Java \u2013 Which One You Should Use for Your Projects?  <\/a>\r\n\r\n        <\/div>\r\n              <div class=\"item\">\r\n            <div class=\"thumb post_thumb\">\r\n    <a  title=\"Precise Road Map for ASP.NET Developers\" href=\"https:\/\/positiwise.com\/blog\/roadmap-for-asp-dot-net-developers\">\r\n\r\n      <img width=\"1021\" height=\"621\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2022\/01\/dealership-1200x800-1.jpg\" class=\"attachment-full size-full wp-post-image\" alt=\"Hire ASP.NET Developers - A Precise Road Map to Employ ASP.NET Developers\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2022\/01\/dealership-1200x800-1.jpg 1021w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2022\/01\/dealership-1200x800-1-300x182.jpg 300w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2022\/01\/dealership-1200x800-1-768x467.jpg 768w\" sizes=\"auto, (max-width: 1021px) 100vw, 1021px\" \/>\r\n\r\n    <\/a>\r\n  <\/div>\r\n\r\n  <a class=\"title post_title\"  title=\"Precise Road Map for ASP.NET Developers\" href=\"https:\/\/positiwise.com\/blog\/roadmap-for-asp-dot-net-developers\">\r\n        Precise Road Map for ASP.NET Developers  <\/a>\r\n\r\n        <\/div>\r\n              <div class=\"item\">\r\n            <div class=\"thumb post_thumb\">\r\n    <a  title=\"A Descriptive Guide to .NET Framework\" href=\"https:\/\/positiwise.com\/blog\/a-descriptive-guide-to-dot-net-framework\">\r\n\r\n      <img width=\"1021\" height=\"621\" src=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2022\/01\/a-descriptive-guide-to-dot-net-framework.jpg\" class=\"attachment-full size-full wp-post-image\" alt=\"A Descriptive Guide to .NET Framework\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2022\/01\/a-descriptive-guide-to-dot-net-framework.jpg 1021w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2022\/01\/a-descriptive-guide-to-dot-net-framework-300x182.jpg 300w, https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2022\/01\/a-descriptive-guide-to-dot-net-framework-768x467.jpg 768w\" sizes=\"auto, (max-width: 1021px) 100vw, 1021px\" \/>\r\n\r\n    <\/a>\r\n  <\/div>\r\n\r\n  <a class=\"title post_title\"  title=\"A Descriptive Guide to .NET Framework\" href=\"https:\/\/positiwise.com\/blog\/a-descriptive-guide-to-dot-net-framework\">\r\n        A Descriptive Guide to .NET Framework  <\/a>\r\n\r\n        <\/div>\r\n      \r\n  <\/div>\r\n\r\n  <script>\r\n      <\/script>\r\n  <style>\r\n    .related-post {}\r\n\r\n    .related-post .post-list {\r\n      text-align: left;\r\n          }\r\n\r\n    .related-post .post-list .item {\r\n      margin: 5px;\r\n      padding: 0px;\r\n          }\r\n\r\n    .related-post .headline {\r\n      font-size: 2rem !important;\r\n      color: #212529 !important;\r\n          }\r\n\r\n    .related-post .headline {\r\nmargin-top: 0;\r\npadding-left: 1%;\r\n}.related-post .post-list .item .post_thumb {\r\n      max-height: 220px;\r\n      margin: 0px 0px 10px 0px;\r\n      padding: 0px;\r\n      display: block;\r\n          }\r\n\r\n    .related-post .post-list .item .post_title {\r\n      font-size: 1rem;\r\n      color: #212529;\r\n      margin: 10px 0px;\r\n      padding: 0px;\r\n      display: block;\r\n      text-decoration: none;\r\n          }\r\n\r\n    .related-post .post-list .item .post_excerpt {\r\n      font-size: 13px;\r\n      color: #3f3f3f;\r\n      margin: 10px 0px;\r\n      padding: 0px;\r\n      display: block;\r\n      text-decoration: none;\r\n          }\r\n\r\n    .related-post .owl-dots .owl-dot {\r\n          }\r\n\r\n      <\/style>\r\n      <script>\r\n      jQuery(document).ready(function($) {\r\n        $(\".related-post .post-list\").owlCarousel({\r\n          items: 3,\r\n          responsiveClass: true,\r\n          responsive: {\r\n            0: {\r\n              items: 1,\r\n            },\r\n            768: {\r\n              items: 2,\r\n            },\r\n            1200: {\r\n              items: 3,\r\n            }\r\n          },\r\n                      rewind: true,\r\n                                loop: true,\r\n                                center: true,\r\n                                autoplay: true,\r\n            autoplayHoverPause: true,\r\n                                nav: true,\r\n            navSpeed: 1000,\r\n            navText: ['<i class=\"fas fa-chevron-left\"><\/i>', '<i class=\"fas fa-chevron-right\"><\/i>'],\r\n                                dots: true,\r\n            dotsSpeed: 1200,\r\n                                                    rtl: false,\r\n          \r\n        });\r\n      });\r\n    <\/script>\r\n  <\/div>\r\n","protected":false},"author":3,"featured_media":9741,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-9667","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dot-net-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.6 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Learn to Build ASP.NET Core Web API with Entity Framework<\/title>\n<meta name=\"description\" content=\"Steps to Build ASP.NET Core Web API using Entity Framework. Implement CRUD operations, routing, and serialization.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/positiwise.com\/blog\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A Guide to Build ASP.NET Core Web API with Entity Framework Core\" \/>\n<meta property=\"og:description\" content=\"Steps to Build ASP.NET Core Web API using Entity Framework. Implement CRUD operations, routing, and serialization.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/positiwise.com\/blog\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7\" \/>\n<meta property=\"og:site_name\" content=\"Positiwise\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/positiwise\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-07T05:55:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-27T09:26:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/07\/a-guide-to-building-web-apis-with-entity-framework-core-in-dot-net-7.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1021\" \/>\n\t<meta property=\"og:image:height\" content=\"621\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Parag Mehta\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@positiwise\" \/>\n<meta name=\"twitter:site\" content=\"@positiwise\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Parag Mehta\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7\"},\"author\":{\"name\":\"Parag Mehta\",\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/#\\\/schema\\\/person\\\/b4b3d9970ea94f5914a615f70345353a\"},\"headline\":\"A Guide to Build ASP.NET Core Web API with Entity Framework Core\",\"datePublished\":\"2023-07-07T05:55:16+00:00\",\"dateModified\":\"2023-12-27T09:26:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7\"},\"wordCount\":1685,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/a-guide-to-building-web-apis-with-entity-framework-core-in-dot-net-7.jpg\",\"articleSection\":[\".NET Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/positiwise.com\\\/blog\\\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7#respond\"]}],\"copyrightYear\":\"2022\",\"copyrightHolder\":{\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7\",\"url\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7\",\"name\":\"Learn to Build ASP.NET Core Web API with Entity Framework\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/a-guide-to-building-web-apis-with-entity-framework-core-in-dot-net-7.jpg\",\"datePublished\":\"2023-07-07T05:55:16+00:00\",\"dateModified\":\"2023-12-27T09:26:23+00:00\",\"description\":\"Steps to Build ASP.NET Core Web API using Entity Framework. Implement CRUD operations, routing, and serialization.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/positiwise.com\\\/blog\\\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7#primaryimage\",\"url\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/a-guide-to-building-web-apis-with-entity-framework-core-in-dot-net-7.jpg\",\"contentUrl\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/a-guide-to-building-web-apis-with-entity-framework-core-in-dot-net-7.jpg\",\"width\":1021,\"height\":621,\"caption\":\"A Guide to Building Web APIs with Entity Framework Core in .NET 7\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/positiwise.com\\\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A Guide to Build ASP.NET Core Web API with Entity Framework Core\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/\",\"name\":\"Positiwise\",\"description\":\"Providing Full-cycle Software Development Services\",\"publisher\":{\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/#organization\"},\"alternateName\":\"Positiwise Software Pvt Ltd\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/#organization\",\"name\":\"Positiwise\",\"alternateName\":\"Positiwise Software Pvt Ltd\",\"url\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"width\":202,\"height\":29,\"caption\":\"Positiwise\"},\"image\":{\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/positiwise\\\/\",\"https:\\\/\\\/x.com\\\/positiwise\",\"https:\\\/\\\/github.com\\\/positiwise\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/positiwise\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/#\\\/schema\\\/person\\\/b4b3d9970ea94f5914a615f70345353a\",\"name\":\"Parag Mehta\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/072ea4a638415a77610a840228d51b8225ad88856ed34d69cbe1fcd638390535?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/072ea4a638415a77610a840228d51b8225ad88856ed34d69cbe1fcd638390535?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/072ea4a638415a77610a840228d51b8225ad88856ed34d69cbe1fcd638390535?s=96&r=g\",\"caption\":\"Parag Mehta\"},\"description\":\"Parag Mehta, the CEO and Founder of Positiwise Software Pvt Ltd has extensive knowledge of the development niche. He is implementing custom strategies to craft highly-appealing and robust applications for its clients and supporting employees to grow and ace the tasks. He is a consistent learner and always provides the best-in-quality solutions, accelerating productivity.\",\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/paragcmehta\"],\"url\":\"https:\\\/\\\/positiwise.com\\\/blog\\\/author\\\/parag-mehta\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Learn to Build ASP.NET Core Web API with Entity Framework","description":"Steps to Build ASP.NET Core Web API using Entity Framework. Implement CRUD operations, routing, and serialization.","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:\/\/positiwise.com\/blog\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7","og_locale":"en_US","og_type":"article","og_title":"A Guide to Build ASP.NET Core Web API with Entity Framework Core","og_description":"Steps to Build ASP.NET Core Web API using Entity Framework. Implement CRUD operations, routing, and serialization.","og_url":"https:\/\/positiwise.com\/blog\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7","og_site_name":"Positiwise","article_publisher":"https:\/\/www.facebook.com\/positiwise\/","article_published_time":"2023-07-07T05:55:16+00:00","article_modified_time":"2023-12-27T09:26:23+00:00","og_image":[{"width":1021,"height":621,"url":"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/07\/a-guide-to-building-web-apis-with-entity-framework-core-in-dot-net-7.jpg","type":"image\/jpeg"}],"author":"Parag Mehta","twitter_card":"summary_large_image","twitter_creator":"@positiwise","twitter_site":"@positiwise","twitter_misc":{"Written by":"Parag Mehta","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/positiwise.com\/blog\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7#article","isPartOf":{"@id":"https:\/\/positiwise.com\/blog\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7"},"author":{"name":"Parag Mehta","@id":"https:\/\/positiwise.com\/blog\/#\/schema\/person\/b4b3d9970ea94f5914a615f70345353a"},"headline":"A Guide to Build ASP.NET Core Web API with Entity Framework Core","datePublished":"2023-07-07T05:55:16+00:00","dateModified":"2023-12-27T09:26:23+00:00","mainEntityOfPage":{"@id":"https:\/\/positiwise.com\/blog\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7"},"wordCount":1685,"commentCount":0,"publisher":{"@id":"https:\/\/positiwise.com\/blog\/#organization"},"image":{"@id":"https:\/\/positiwise.com\/blog\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7#primaryimage"},"thumbnailUrl":"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/07\/a-guide-to-building-web-apis-with-entity-framework-core-in-dot-net-7.jpg","articleSection":[".NET Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/positiwise.com\/blog\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7#respond"]}],"copyrightYear":"2022","copyrightHolder":{"@id":"https:\/\/positiwise.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/positiwise.com\/blog\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7","url":"https:\/\/positiwise.com\/blog\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7","name":"Learn to Build ASP.NET Core Web API with Entity Framework","isPartOf":{"@id":"https:\/\/positiwise.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/positiwise.com\/blog\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7#primaryimage"},"image":{"@id":"https:\/\/positiwise.com\/blog\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7#primaryimage"},"thumbnailUrl":"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/07\/a-guide-to-building-web-apis-with-entity-framework-core-in-dot-net-7.jpg","datePublished":"2023-07-07T05:55:16+00:00","dateModified":"2023-12-27T09:26:23+00:00","description":"Steps to Build ASP.NET Core Web API using Entity Framework. Implement CRUD operations, routing, and serialization.","breadcrumb":{"@id":"https:\/\/positiwise.com\/blog\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/positiwise.com\/blog\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/positiwise.com\/blog\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7#primaryimage","url":"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/07\/a-guide-to-building-web-apis-with-entity-framework-core-in-dot-net-7.jpg","contentUrl":"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/07\/a-guide-to-building-web-apis-with-entity-framework-core-in-dot-net-7.jpg","width":1021,"height":621,"caption":"A Guide to Building Web APIs with Entity Framework Core in .NET 7"},{"@type":"BreadcrumbList","@id":"https:\/\/positiwise.com\/blog\/a-guide-to-building-web-apis-with-entity-framework-core-in-net-7#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/positiwise.com\/blog"},{"@type":"ListItem","position":2,"name":"A Guide to Build ASP.NET Core Web API with Entity Framework Core"}]},{"@type":"WebSite","@id":"https:\/\/positiwise.com\/blog\/#website","url":"https:\/\/positiwise.com\/blog\/","name":"Positiwise","description":"Providing Full-cycle Software Development Services","publisher":{"@id":"https:\/\/positiwise.com\/blog\/#organization"},"alternateName":"Positiwise Software Pvt Ltd","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/positiwise.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/positiwise.com\/blog\/#organization","name":"Positiwise","alternateName":"Positiwise Software Pvt Ltd","url":"https:\/\/positiwise.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/positiwise.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/07\/logo.png","contentUrl":"https:\/\/positiwise.com\/blog\/wp-content\/uploads\/2023\/07\/logo.png","width":202,"height":29,"caption":"Positiwise"},"image":{"@id":"https:\/\/positiwise.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/positiwise\/","https:\/\/x.com\/positiwise","https:\/\/github.com\/positiwise","https:\/\/www.linkedin.com\/company\/positiwise"]},{"@type":"Person","@id":"https:\/\/positiwise.com\/blog\/#\/schema\/person\/b4b3d9970ea94f5914a615f70345353a","name":"Parag Mehta","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/072ea4a638415a77610a840228d51b8225ad88856ed34d69cbe1fcd638390535?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/072ea4a638415a77610a840228d51b8225ad88856ed34d69cbe1fcd638390535?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/072ea4a638415a77610a840228d51b8225ad88856ed34d69cbe1fcd638390535?s=96&r=g","caption":"Parag Mehta"},"description":"Parag Mehta, the CEO and Founder of Positiwise Software Pvt Ltd has extensive knowledge of the development niche. He is implementing custom strategies to craft highly-appealing and robust applications for its clients and supporting employees to grow and ace the tasks. He is a consistent learner and always provides the best-in-quality solutions, accelerating productivity.","sameAs":["https:\/\/www.linkedin.com\/in\/paragcmehta"],"url":"https:\/\/positiwise.com\/blog\/author\/parag-mehta"}]}},"_links":{"self":[{"href":"https:\/\/positiwise.com\/blog\/wp-json\/wp\/v2\/posts\/9667","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/positiwise.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/positiwise.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/positiwise.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/positiwise.com\/blog\/wp-json\/wp\/v2\/comments?post=9667"}],"version-history":[{"count":29,"href":"https:\/\/positiwise.com\/blog\/wp-json\/wp\/v2\/posts\/9667\/revisions"}],"predecessor-version":[{"id":14658,"href":"https:\/\/positiwise.com\/blog\/wp-json\/wp\/v2\/posts\/9667\/revisions\/14658"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/positiwise.com\/blog\/wp-json\/wp\/v2\/media\/9741"}],"wp:attachment":[{"href":"https:\/\/positiwise.com\/blog\/wp-json\/wp\/v2\/media?parent=9667"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/positiwise.com\/blog\/wp-json\/wp\/v2\/categories?post=9667"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/positiwise.com\/blog\/wp-json\/wp\/v2\/tags?post=9667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}