Ask your own question, for FREE!
Computer Science 23 Online
OpenStudy (anonymous):

can i remove the app config file of my project and put the con string into a class?

OpenStudy (anonymous):

Yes, but it'll not work if you use connection-string from Configuration classes. You'll also need to update your code where your connection string is used, An idea is do something like this in a class public static string ConnectionString = "...";

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!