Exception has been thrown by the target of an invocation in asp.net core and postgresql migration

I am trying to create a project. That’s why I downloaded a startup template from this link. Then I tried to configure with asp.net core. I set the connection string as "Default": "User ID=postgres;Password=**********;Host=localhost;Port=5432;Database=LibraryManagementDb;Pooling=true;". and then changed UseSqlServer to UseNpgsql in LibraryManagementDbContextConfigurer class.

jQuery Drag and Drop doesn’t work when I add in FriendlyUrl assembly

I have created a drag and drop that allows users to drag a row from one GridView to another GridView which updates the record from Active to Inactive (and vise versa). The problem I am faced with is that when I add in a FriendlyUrl RouteConfig via the Global.asax Application_Start the record won’t save.

circular dependency between database project and web project

I have a web application that needs access to database values. Currently the web project creates an instance of DB Project class and uses that to pull values via the various functions of the class. However, whenever the DB tables change we have to update our code to adjust to the new table / structures. SO I’m trying to re-organize the dependency so that the DB class in the DB project implements a web project interface.

Implement multiple section in layout.cshtml

Assume that I have a partial layout called “_Layout.cshtml” and I have a sidebar call “Sidebar.cshtml” both of them are located in “/Views/Shared”.
I have few pages such as Login, Index,Account Maintenance, Manage Course and etc.
I would like to make that “Sidebar.cshtml” appear in “Account Maintenance.cshtml” and “Manage Course.cshtml” but the “Index.cshtml” and “Login.cshtml” should not appear the “Sidebar.cshtml”.