Search This Blog

Sunday, 2 July 2017

Binding Dropdown List With Database In ASP.NET Core MVC

We are going to learn little things on how to setup Entity Framework Core in .NET Core Web Application. Developers coming from a background of ASP.NET MVC will find it easy to work with ASP.NET Core MVC.

If you are new to .NET Core read these articles to kickstart your .NET Core knowledge:

http://www.c-sharpcorner.com/article/creating-a-new-net-core-web-application-using-visual-studio-2015/ 

http://www.c-sharpcorner.com/article/creating-a-new-net-core-web-application-with-command-line-interface-cli/ 

 Topic

  1.    Database part.
  2.    Creating an Application.
  3.    Installing package for an Entity Framework Core From NuGet.
  4.    Adding the Connection string and Setting up DbContext.
  5.    Adding Model CountryMaster in Models Folder.
  6.    Adding DbSet for CountryMaster Model in DatabaseContext class.
  7.    Adding Controller.
  8.    Getting Data from the database, using Entity Framework Core.
  9.    Adding View.
  10.    Binding Dropdownlist, using new Tag helper.
  11.    Adding Index Action method to handle POST request and getting the selected values.
  12.    Saving and running an Application.

Read Entire Article on below link  :- http://www.c-sharpcorner.com/article/binding-dropdown-list-with-database-in-asp-net-core-mvc/

 

4 comments:

  1. Nice post . Thanks for the shearing valuable information. I really fiend this type blog. Special thanks to writer.
    Asp.net developers

    ReplyDelete
  2. This is an amazing blog,it gives very helpful messages to us.Besides that Wisen has established as Best Dot Net Training in Chennai. or learn thru ASP.NET Online Training . Nowadays Dot Net has tons of job opportunities on various vertical industry.

    ReplyDelete
  3. Really good information to show through this blog. I really appreciate you for all the valuable information that you are providing us through your blog. Dot Net Online course Hyderabad

    ReplyDelete

Securing ASP.NET CORE Web API using Custom API Key based Authentication

In this article, we are going to learn how to create a secure Web API in ASP.NET Core MVC. Link to Complete Article with source cod...