Posts

CRUD Operation - ASP.NET Core MVC with EF Core

Image
Source Code of this project - just click on, above ⇪ download button and get it. CRUD (Create, Read, Update and Delete) Operation In computer programming the CRUD operation, meaning is Create , Read , Update , and Delete are the four basic functions of persistent storage. In Structured Query Language (SQL)   INSERT meaning is " Create ", SELECT meaning is " Read / Retrieve ", UPDATE meaning is " Update / Modify ", and DELETE meaning is " Delete / Destroy ". In Hypertext Transfer Protocol (HTTP)  PUT / POST meaning is " Create ", GET meaning is " Read / Retrieve ", PUT / POST / PATCH meaning is " Update / Modify ", and DELETE meaning is " Delete / Destroy ". In RESTful web services [Representational State Transfer (REST)] POST meaning is " Create ", GET meaning is " Read / Retrieve ", PUT meaning is " Update / Modify ", and DELETE ...

ASP.NET Razor - Markup

Razor is not a programming language.  It's a server side markup language. What is Razor? Razor is a markup syntax that lets you embed server-based code (Visual Basic and C#) into web pages. Server-based code can create dynamic web content on the fly, while a web page is written to the browser. When a web page is called, the server executes the server-based code inside the page before it returns the page to the browser. By running on the server, the code can perform complex tasks, like accessing databases. Razor is based on ASP.NET, and designed for creating web applications. It has the power of traditional ASP.NET markup, but it is easier to use, and easier to learn. Razor Syntax Razor uses a syntax very similar to PHP and Classic ASP. Razor  Code : <ul> @for (int i = 0; i < 10; i++) { <li>@i</li> } </ul> PHP  Code : <ul> <?php for ($i = 0; $i < 10; $i++) { echo("<li>$i</li>"); } ?> ...

Insert data into a database table using ASP.Net, C# and Microsoft SQL Server Stored Procedure

Image
Introduction: Dear learners, Today, I am going to share with you a complete project information. Which is developed with ASP.NET, C# and Microsoft SQL Server. This project codes is open for all. It's mean you will be able to apply all codes in your software development. It is a very beginner level tutorial, anyone can get benefit from this tutorial. It's a very lightweight tutorial for all. If you are a new coder or even you haven't written a single bit of code in the ASP.NET development environment, no worries. Must you will get benefit from this lesson. Just follow the following instructions.  📌 ASP.NET Figure : Solution Explorer 📍 Microsoft SQL Server ➤ Open or launch  Microsoft SQL Server Management Studio ➤ Create a Database or DB. ➤ Create a Table. ➤ Create Stored Procedure. Such as: Step - 01: Open  Microsoft SQL Server Management Studio Microsoft SQL Server Management Studio has been opened. Now, follow the follow...