rajni11 0 Newbie Poster

When we talk about MVC architecture….

Why we write connection string code in web.congig file rather we can write it in DataUtility.cs in OpenConnection() method


and what is the role of web.confic file?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.