Onur Taşkıran LogoOnur Taskiran's Personal BlogOnur Taskiran Blog
HomeAboutProjectsServicesContact
HomeAboutProjectsServicesContact
Onur Taşkıran LogoOnur Taskiran's Personal BlogOnur Taskiran Blog
HomeAboutProjectsServicesContact
HomeAboutProjectsServicesContact

Posts tagged with ".net"

Adding Entity Framework Migration and Reading Data From Database in Api

Adding Entity Framework Migration and Reading Data From Database in Api

20 September 20223 min readWeb Programming

Hi how are you? I continue from where we left off in the previous post. what we'll do is We will add Entity Framework migration and update the database then we will read the data from the...

#Entity Framework#ASP.NET Core#.NET+3 more
Setting up Entity Framework and Adding a Connection String

Setting up Entity Framework and Adding a Connection String

18 September 20223 min readWeb Programming

Hello we created a web api project with asp.net core in the previous post. Now We'll Install Entity Framework and Add a Connection String. I'll use SQLite as the database. And what we want to do is install this version of Microsoft entity framework core. I'm creating a new class called store context and I have to derive it from dbcontext object.

#ASP.NET Core#Entity Framework#Connection String+4 more
Creating Web Api Project With Asp.NET Core

Creating Web Api Project With Asp.NET Core

17 September 20223 min readWeb Programming

Let's create our project from powershell screen with dotnet cli commands. I click Start, type PowerShell, and then click Windows PowerShell. First of all, I see that my file is empty with the ls command. I am creating my onurnet folder with the mkdir onurnet command and then I go into my file with the cd onurnet command.

#ASP.NET Core#Web API#.NET+3 more
404 errors in ASP.NET Core Mvc

404 errors in ASP.NET Core Mvc

02 September 20221 min readWeb Programming

When a web page is not found, a 404 error is returned by the application and ASP.NET Core MVC provides a generic error page 404 errors normally look bad. We can redirect the error to the 404 page we created. Let's go to the startup.cs page of our project. Remove the code below

#404 Error#ASP.NET Core#.NET+3 more
C Sharp Entity Framework Data Insert Deletion Update Operations

C Sharp Entity Framework Data Insert Deletion Update Operations

30 January 20223 min readSoftware

Entity Framework is an object-relational mapper (O/RM) that enables .NET developers to work with a database using .NET objects. It eliminates the need for most of the data-access code that developers usually need to write...

#Entity Framework#C##Database Operations+3 more