{"id":963,"date":"2020-10-13T09:02:44","date_gmt":"2020-10-13T09:02:44","guid":{"rendered":"https:\/\/serkanseker.com\/?p=963"},"modified":"2020-12-08T18:25:28","modified_gmt":"2020-12-08T18:25:28","slug":"asp-net-core-web-api-entity-framework-scaffolding","status":"publish","type":"post","link":"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/","title":{"rendered":"ASP.NET Core Web API Entity Framework Scaffolding"},"content":{"rendered":"\n<p>In this article, we will apply the scaffolding technique in the ASP.NET Core Web API that we have created before, and add the existing database to the project and perform CRUD operations. By using scaffolding, you can perform CRUD operations in the database more quickly.<\/p>\n\n\n\n<p>Before continuing, I would like to take a look at <a href=\"https:\/\/serkanseker.com\/create-and-consume-asp-net-core-web-api\/\" target=\"_blank\" rel=\"noreferrer noopener\">Create And Consume ASP.NET Core Web API<\/a> and the <a href=\"https:\/\/serkanseker.com\/asp-net-core-web-api-application-structure\/\" target=\"_blank\" rel=\"noreferrer noopener\">ASP.NET Core Web API Application Structure<\/a> articles to understand the project structure.<\/p>\n\n\n\n<p>In this tutorial, we will first add the MS SQL database through Server Explorer, then install the necessary plugins and quickly create our Model classes with Scaffolding and perform CRUD operations. Let&#8217;s start.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Add Data Connection in Server Explorer<\/h2>\n\n\n\n<p>You can add it from the Server Explorer window to quickly access the existing database that we created using MS SQL Server Studio. If you can&#8217;t see the Server Explorer window, you can open it using the Ctrl + Alt + S shortcut.<\/p>\n\n\n\n<p>First, right-click on <strong>Data Connections<\/strong> in the Server Explorer window and select Add Connections. In the window that opens, select the Server Name and the database you want to add and press Ok. If you are using MS SQL Server, you can enter the Server Name as <strong>.\\SQLEXPRESS<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2020\/10\/Server-Explorer-Data-Connections-1.jpg\" alt=\"Server Explorer Data Connections\" class=\"wp-image-966\" width=\"291\" height=\"576\"\/><figcaption>Server Explorer Data Connections<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2020\/10\/Server-Explorer-Add-Connection-1.jpg\" alt=\"Server Explorer Add Connection\" class=\"wp-image-967\" width=\"549\" height=\"647\"\/><figcaption>Server Explorer Add Connection<\/figcaption><\/figure><\/div>\n\n\n\n<p>If you have not yet created a database and added data, you can review the articles <a href=\"https:\/\/serkanseker.com\/creating-microsoft-sql-server-database\/\" target=\"_blank\" rel=\"noreferrer noopener\">Creating Microsoft SQL Server Database<\/a> and <a href=\"https:\/\/serkanseker.com\/manually-database-operations-sql-server\/\" target=\"_blank\" rel=\"noreferrer noopener\">Manually Database Operations in SQL Server<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Add EntityFramework Plugins<\/h2>\n\n\n\n<p>Now let&#8217;s install the EntitiyFramework plug-ins required in our project while performing the scaffolding process. Right click on the project and go to Manage <a href=\"https:\/\/www.nuget.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">NuGet <\/a>Packages. Add the following plugins to the project.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2020\/10\/Scaffolding-NuGet-Package-Manager.jpg\" alt=\"Scaffolding NuGet Package Manager\" class=\"wp-image-968\" width=\"1002\" height=\"604\"\/><figcaption>Scaffolding NuGet Package Manager<\/figcaption><\/figure><\/div>\n\n\n\n<p>Or, you can add plugins via the Package Manager Console by typing the following commands.<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-markup\">Install-Package Microsoft.EntityFrameworkCore.SqlServer -Version 5.0.0-rc.1.20451.13<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-markup\">Install-Package Microsoft.EntityFrameworkCore.Design -Version 5.0.0-rc.1.20451.13<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-markup\">Install-Package Microsoft.EntityFrameworkCore.Tools -Version 5.0.0-rc.1.20451.13<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Scaffolding Operation<\/h2>\n\n\n\n<p>Now it&#8217;s time to create entity and context classes by performing scaffolding. To apply scaffolding, enter and run the following command in Package Manager Console.<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-markup\">Scaffold-DbContext &quot;YourConnectionString&quot; Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models<\/code><\/pre>\n\n\n\n<p>Here, write your own connection string in &#8220;Your ConnectionString&#8221; section.<\/p>\n\n\n\n<p>After running this command you will see that Model classes have been added to the project. As you can see, scaffolding saved us time.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2020\/10\/Scaffolding-Package-Manager-Console.jpg\" alt=\"Scaffolding Package Manager Console\" class=\"wp-image-969\" width=\"1300\" height=\"296\"\/><figcaption>Scaffolding Package Manager Console<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Add Connection String to appsettings.json<\/h2>\n\n\n\n<p>We created our model classes with scaffolding, but we are still not done. We need to add the connection string we entered while scaffolding to appsettings.json file. Add the following line to the appsettings.json file.<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-markup\">  &quot;ConnectionStrings&quot;: {\n    &quot;Database&quot;: &quot;Server=.\\\\sqlexpress;Initial Catalog=Palette;Integrated Security=True&quot;\n  }<\/code><\/pre>\n\n\n\n<p>Ultimately, the attached version will be like this,<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2020\/10\/Scaffolding-appsettings.json.jpg\" alt=\"Scaffolding appsettings.json\" class=\"wp-image-970\"\/><figcaption>Scaffolding appsettings.json<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Add DbContext to Startup.cs<\/h2>\n\n\n\n<p>We need to add our DbContext to the Startup class before adding the Controllers class. Otherwise, if we run the project without adding DbContext, we get runtime error.<\/p>\n\n\n\n<p>Go to the Startup.cs class and paste the following line into the ConfigureServices method. So much.<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-markup\">services.AddDbContext&lt;YourContext&gt;(op =&gt; op.UseSqlServer(Configuration.GetConnectionString(&quot;Database&quot;)));<\/code><\/pre>\n\n\n\n<p>Write your own Context in &#8220;YourContext&#8221;.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Add Controllers <\/h2>\n\n\n\n<p>Eventually, we have come to the last step. Right-click on the Controllers folder and go to Add&gt; Controllers. Here, we can quickly create our controller class from API Controller with actions, using Entity Framework. In the window that opens, create a controller by entering your model class, context class and controller name.<\/p>\n\n\n\n<div class=\"wp-block-image has-lightbox\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2020\/10\/Add-New-Controller-Using-Entity-Framework.jpg\" alt=\"Add New Controller Using Entity Framework\" class=\"wp-image-971\" width=\"937\" height=\"650\"\/><figcaption>Add New Controller Using Entity Framework<\/figcaption><\/figure><\/div>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2020\/10\/API-Controller-with-actions-using-Entity-Framework.jpg\" alt=\"API Controller  with actions using Entity Framework\" class=\"wp-image-2544\" width=\"581\" height=\"204\"\/><figcaption>API Controller  with actions using Entity Framework<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>And finally our project is ready. Run the project and change the address bar as below.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2020\/10\/ASP.NET-Web-Core-API-controller-run-project.jpg\" alt=\"ASP.NET Web Core API controller run project\" class=\"wp-image-973\" width=\"761\" height=\"311\"\/><figcaption>ASP.NET Web Core API controller run project<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Related Posts<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/serkanseker.com\/create-and-consume-asp-net-core-web-api\/\" target=\"_blank\" rel=\"noreferrer noopener\">Create And Consume ASP.NET Core <\/a><a href=\"https:\/\/serkanseker.com\/create-and-consume-asp-net-core-web-api\/\">Web API<\/a><\/li><li><a href=\"https:\/\/serkanseker.com\/asp-net-core-web-api-application-structure\/\" target=\"_blank\" rel=\"noreferrer noopener\">ASP.NET Core Web API Application Structure<\/a><\/li><li><a href=\"https:\/\/serkanseker.com\/creating-microsoft-sql-server-database\/\" target=\"_blank\" rel=\"noreferrer noopener\">Creating Microsoft SQL Server Database<\/a><\/li><li><a href=\"https:\/\/serkanseker.com\/manually-database-operations-sql-server\/\" target=\"_blank\" rel=\"noreferrer noopener\">Manually Database Operations in SQL Server<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will apply the scaffolding technique in the ASP.NET Core Web API that we have created before, and add the existing database to the project and perform CRUD operations. By using scaffolding, you can perform CRUD operations in the database more quickly.<\/p>\n","protected":false},"author":1,"featured_media":194,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[49],"tags":[50,51,565],"class_list":["post-963","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-asp-net","tag-asp-net","tag-asp-net-core","tag-scaffolding"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ASP.NET Core Web API Entity Framework Scaffolding - Serkan Seker TR<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ASP.NET Core Web API Entity Framework Scaffolding - Serkan Seker TR\" \/>\n<meta property=\"og:description\" content=\"In this article, we will apply the scaffolding technique in the ASP.NET Core Web API that we have created before, and add the existing database to the project and perform CRUD operations. By using scaffolding, you can perform CRUD operations in the database more quickly.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/\" \/>\n<meta property=\"og:site_name\" content=\"Serkan Seker TR\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-13T09:02:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-12-08T18:25:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2020\/12\/ASP.NET-Core-Web-API-EntitiyFramework-Core-Scaffolding.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1\" \/>\n\t<meta property=\"og:image:height\" content=\"1\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"serkanadmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"serkanadmin\" \/>\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:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/\"},\"author\":{\"name\":\"serkanadmin\",\"@id\":\"https:\/\/serkanseker.com\/tr\/#\/schema\/person\/841fcc69b248e08e52c4190963caeaf5\"},\"headline\":\"ASP.NET Core Web API Entity Framework Scaffolding\",\"datePublished\":\"2020-10-13T09:02:44+00:00\",\"dateModified\":\"2020-12-08T18:25:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/\"},\"wordCount\":606,\"commentCount\":1,\"image\":{\"@id\":\"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2020\/12\/ASP.NET-Core-Web-API-EntitiyFramework-Core-Scaffolding.jpg\",\"keywords\":[\"ASP.NET\",\"ASP.NET Core\",\"scaffolding\"],\"articleSection\":[\"ASP.NET\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/\",\"url\":\"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/\",\"name\":\"ASP.NET Core Web API Entity Framework Scaffolding - Serkan Seker TR\",\"isPartOf\":{\"@id\":\"https:\/\/serkanseker.com\/tr\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2020\/12\/ASP.NET-Core-Web-API-EntitiyFramework-Core-Scaffolding.jpg\",\"datePublished\":\"2020-10-13T09:02:44+00:00\",\"dateModified\":\"2020-12-08T18:25:28+00:00\",\"author\":{\"@id\":\"https:\/\/serkanseker.com\/tr\/#\/schema\/person\/841fcc69b248e08e52c4190963caeaf5\"},\"breadcrumb\":{\"@id\":\"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/#primaryimage\",\"url\":\"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2020\/12\/ASP.NET-Core-Web-API-EntitiyFramework-Core-Scaffolding.jpg\",\"contentUrl\":\"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2020\/12\/ASP.NET-Core-Web-API-EntitiyFramework-Core-Scaffolding.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/serkanseker.com\/tr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ASP.NET Core Web API Entity Framework Scaffolding\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/serkanseker.com\/tr\/#website\",\"url\":\"https:\/\/serkanseker.com\/tr\/\",\"name\":\"Serkan Seker TR\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/serkanseker.com\/tr\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/serkanseker.com\/tr\/#\/schema\/person\/841fcc69b248e08e52c4190963caeaf5\",\"name\":\"serkanadmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/serkanseker.com\/tr\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/93ddc1f96117bf468976afe93a077eda77de96bcdb48dc749903598a546786a3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/93ddc1f96117bf468976afe93a077eda77de96bcdb48dc749903598a546786a3?s=96&d=mm&r=g\",\"caption\":\"serkanadmin\"},\"sameAs\":[\"https:\/\/serkanseker.com\"],\"url\":\"https:\/\/serkanseker.com\/tr\/author\/serkanadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ASP.NET Core Web API Entity Framework Scaffolding - Serkan Seker TR","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"ASP.NET Core Web API Entity Framework Scaffolding - Serkan Seker TR","og_description":"In this article, we will apply the scaffolding technique in the ASP.NET Core Web API that we have created before, and add the existing database to the project and perform CRUD operations. By using scaffolding, you can perform CRUD operations in the database more quickly.","og_url":"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/","og_site_name":"Serkan Seker TR","article_published_time":"2020-10-13T09:02:44+00:00","article_modified_time":"2020-12-08T18:25:28+00:00","og_image":[{"url":"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2020\/12\/ASP.NET-Core-Web-API-EntitiyFramework-Core-Scaffolding.jpg","width":1,"height":1,"type":"image\/jpeg"}],"author":"serkanadmin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"serkanadmin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/#article","isPartOf":{"@id":"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/"},"author":{"name":"serkanadmin","@id":"https:\/\/serkanseker.com\/tr\/#\/schema\/person\/841fcc69b248e08e52c4190963caeaf5"},"headline":"ASP.NET Core Web API Entity Framework Scaffolding","datePublished":"2020-10-13T09:02:44+00:00","dateModified":"2020-12-08T18:25:28+00:00","mainEntityOfPage":{"@id":"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/"},"wordCount":606,"commentCount":1,"image":{"@id":"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/#primaryimage"},"thumbnailUrl":"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2020\/12\/ASP.NET-Core-Web-API-EntitiyFramework-Core-Scaffolding.jpg","keywords":["ASP.NET","ASP.NET Core","scaffolding"],"articleSection":["ASP.NET"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/","url":"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/","name":"ASP.NET Core Web API Entity Framework Scaffolding - Serkan Seker TR","isPartOf":{"@id":"https:\/\/serkanseker.com\/tr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/#primaryimage"},"image":{"@id":"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/#primaryimage"},"thumbnailUrl":"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2020\/12\/ASP.NET-Core-Web-API-EntitiyFramework-Core-Scaffolding.jpg","datePublished":"2020-10-13T09:02:44+00:00","dateModified":"2020-12-08T18:25:28+00:00","author":{"@id":"https:\/\/serkanseker.com\/tr\/#\/schema\/person\/841fcc69b248e08e52c4190963caeaf5"},"breadcrumb":{"@id":"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/#primaryimage","url":"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2020\/12\/ASP.NET-Core-Web-API-EntitiyFramework-Core-Scaffolding.jpg","contentUrl":"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2020\/12\/ASP.NET-Core-Web-API-EntitiyFramework-Core-Scaffolding.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/serkanseker.com\/tr\/asp-net-core-web-api-entity-framework-scaffolding\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/serkanseker.com\/tr\/"},{"@type":"ListItem","position":2,"name":"ASP.NET Core Web API Entity Framework Scaffolding"}]},{"@type":"WebSite","@id":"https:\/\/serkanseker.com\/tr\/#website","url":"https:\/\/serkanseker.com\/tr\/","name":"Serkan Seker TR","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/serkanseker.com\/tr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/serkanseker.com\/tr\/#\/schema\/person\/841fcc69b248e08e52c4190963caeaf5","name":"serkanadmin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/serkanseker.com\/tr\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/93ddc1f96117bf468976afe93a077eda77de96bcdb48dc749903598a546786a3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/93ddc1f96117bf468976afe93a077eda77de96bcdb48dc749903598a546786a3?s=96&d=mm&r=g","caption":"serkanadmin"},"sameAs":["https:\/\/serkanseker.com"],"url":"https:\/\/serkanseker.com\/tr\/author\/serkanadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/posts\/963","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/comments?post=963"}],"version-history":[{"count":0,"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/posts\/963\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/media\/194"}],"wp:attachment":[{"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/media?parent=963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/categories?post=963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/tags?post=963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}