Gmail Is Disabling Less Secure Apps: What To Do Next

Gmail Is Disabling Less Secure Apps: What To Do Next

Gmail
Use an App Password If you'd like to continue using the Other SMTP mailer in Mail SMTP, you can set up an app password in your Google account. An app password works like an alternate password for your account. It can only be used by the applications you share it with, so it's more secure than sharing your primary password. If you'd like to use an app password, you'll need to turn on two factor authentication for your Google account first. After that, you can create an app specific password for WP Mail SMTP in the security settings for your Google account. Note: any time you change your main Google account password, it will deactivate your app passwords as well. If you change your password frequently, this may not be the best…
Read More
How to Customize Header, Footer, and Navigation in SharePoint Online Communication Site

How to Customize Header, Footer, and Navigation in SharePoint Online Communication Site

SharePoint
Here, we will discuss, how to modify the Header, Footer and Navigation in SharePoint Online modern communication site without using any custom code. Microsoft has introduced some new features in the communication site which helps in making the changes in look and feel of the header, footer, and navigation. Now, there is no need to add custom code. Thus, the manual efforts for branding on the header, footer, and navigation are reduced. Now, let’s see how to customize the site and apply branding into a SharePoint communication site. Customize Header in SharePoint Online Communication Site Navigate to your SharePoint online Communication site ->Open SiteClick on the Site Setting icon on top right corner of the SharePoint site -> Click on the Change the look optionSelect the “Header” linkSelect either the…
Read More

C# Coding Standards and Naming Conventions

Asp.Net
Below are our C# coding standards, naming conventions, and best practices.Use these in your own projects and/or adjust these to your own needs. Do use PascalCasing for class names and method names. public class ClientActivity{    public void ClearStatistics()    {        //...    }    public void CalculateStatistics()    {        //...    }} Why: consistent with the Microsoft's .NET Framework and easy to read. Do use camelCasing for method arguments and local variables. public class UserLog{    public void Add(LogEvent logEvent)    {        int itemCount = logEvent.Items.Count;        // ...    }} Why: consistent with the Microsoft's .NET Framework and easy to read. Do not use Hungarian notation or any other type identification in identifiers // Correctint counter;string name; // Avoidint iCounter;string strName; Why: consistent with the Microsoft's .NET Framework and Visual Studio IDE makes determining types very easy (via tooltips). In general you want to avoid type indicators in any identifier. Do not use Screaming Caps for constants or readonly variables //…
Read More

Forms authentication with Asp.Net

Asp.Net
Configure the Web Application for Forms Authentication: a) IIS Configuration:In Virtual Directories properties Click the Directory Security tab, and then click the Edit button in the Anonymous access group.Select the Anonymous access check box and click on Edit button and clear the Allow IIS to control password check box. Because the default anonymous account IUSR_MACHINE does not have permission to access Active Directory, create a new least privileged account and enter the account details in the Authentication Methods dialog box. b) Modifications in Web.Config:In Web.config in the <authentication> element and change the mode attribute to Forms Add the following <forms> element as a child of the authentication element and set the loginUrl, name, timeout, and path attributes as shown in the following.<authentication mode="Forms"><forms loginUrl="logon.aspx" name="adAuthName" timeout="60" path="/"> </forms></authentication>Modify <authorization> element as following.<authorization><deny users="?" /><allow users="*" /></authorization>Add <Identity> element and set…
Read More