Configuring SMTP Server Using PowerShell

Configuring SMTP Server Using PowerShell

Let us first go through the manual steps required for configuring SMTP server and PowerShell script is included in the end. For this example, we are using Microsoft Windows Server 2016 and the configuration might change based on the operating system. Restart the server and test the smtp mail functionality using below PowerShell command Send-MailMessage -SMTPServer localhost -To to@gmail.com -From […]

Publish MVC App With Different Configurations

Publish MVC App With Different Configurations

By default, all the Asp.Net web applications come up with two default configurations debug and release. These configurations are maintained in Web.Debug.config & Web.Release.config files. Configurations are not used when we are developing the application, they are used when we are publishing the application. First Let us see how to add a new configuration (UAT) and later publishing the application […]