Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anandugnath/coremvc_crud

crud operations using asp.Net MVC Core Using MSSQL, Storedprocedure
https://github.com/anandugnath/coremvc_crud

core crud crud-application css html jquery mssql-database mvc-core stored-procedures webapp

Last synced: about 1 month ago
JSON representation

crud operations using asp.Net MVC Core Using MSSQL, Storedprocedure

Awesome Lists containing this project

README

        

Buy Me A Coffee

1.Introduction


In Project, we will learn CRUD Operations in ASP.NET Core 3.1. We will use StoredProcedure to interact with sql-server database and for performing CRUD operations..




Dependencies: It contains all the installed NuGet packages. We can manage the NuGet packages by right clicking on it.


Properties: It contains launchSettings.json file which has visual studio profiles, iis and debug setting.


wwwroot folder: It is the web root folder of asp.net core application where we can put all the static files such as javascript , css.


Controllers: It contails all the controller class we create in our asp.net core mvc application.


Models: We can put all the model or view model classes inside this folder.


Views: We can add views for certain actions methods inside view folder. There will be seperate folder for each view we create inside Views folder.


appsettings.json: It is the application configuration file which is used to store configuration settings i.e connections strings of the database, global variables etc.

Program.cs : Initially asp.net core application starts as a console application. In the Main method it calls the CreateWebHostBuilder() method that configures the asp.net core setting and launch it as asp.net core application.


Startup.cs: It contains the ConfigureServices() and Configure methods. As the name implies ConfigureServices() method configures all the services which are going to used by the application. Configure method take care of all the request processing pipelines.


Download Database.


https://github.com/anandugnath/CoreMVC_CRUD/blob/main/MVC_Core_CRUD/MVC_CORE_CRUD/Database/DB.sql



Install All Necessary Packages From NuGet.

https://www.nuget.org/packages/Microsoft.Extensions.Configuration/8.0.0?_src=template


https://www.nuget.org/packages/Microsoft.Extensions.Configuration.Json/8.0.0?_src=template


https://www.nuget.org/packages/System.Configuration.ConfigurationManager/8.0.0?_src=template


https://www.nuget.org/packages/Newtonsoft.Json/13.0.3?_src=template






Unit Index View




Buy Me A Coffee


Create Page




Buy Me A Coffee

Edit Page




Buy Me A Coffee