Hi
I am getting above error on below line
string myCnn = _configuration.GetConnectionString("myCnn");
using Core_Program1.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
Thanks
geetha geethaPosted Nov 29, 2021, 2:29 PM
Vikas PanwarPosted Nov 27, 2021, 11:27 AM
Add this refrence
if this not work then
Right click on project, add, reference. Find System.Configuration and click on it.