Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

How do I get the following to run in Core 2

$
0
0

I have the following from a Web Form project. How do I translate this to work with Core 2?

Configuration config = WebConfigurationManager.OpenWebConfiguration(HttpContext.Current.Request.ApplicationPath);
MailSettingsSectionGroup settings = (MailSettingsSectionGroup)config.GetSectionGroup("system.net/mailSettings");


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>