-
Notifications
You must be signed in to change notification settings - Fork 1k
Enable authentication support in New Project Creation Wizard for AspNetCore projects #9583
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other changes look good to me.
...oDevelop.DotNetCore/MonoDevelop.DotNetCore.Templating/DotNetCoreProjectTemplateParameters.cs
Show resolved
Hide resolved
.../MonoDevelop.DotNetCore/MonoDevelop.DotNetCore.Templating/DotNetCoreProjectTemplateWizard.cs
Show resolved
Hide resolved
...oDevelop.DotNetCore/MonoDevelop.DotNetCore.Templating/DotNetCoreProjectTemplateWizardPage.cs
Outdated
Show resolved
Hide resolved
...oDevelop.DotNetCore/MonoDevelop.DotNetCore.Templating/DotNetCoreProjectTemplateParameters.cs
Outdated
Show resolved
Hide resolved
...oDevelop.DotNetCore/MonoDevelop.DotNetCore.Templating/DotNetCoreProjectTemplateParameters.cs
Outdated
Show resolved
Hide resolved
...oDevelop.DotNetCore/MonoDevelop.DotNetCore.Templating/DotNetCoreProjectTemplateParameters.cs
Outdated
Show resolved
Hide resolved
@iantoalms @rodrmoya : https://microsoft.sharepoint.com/:w:/t/vsformac/EVTNIrVjheRAu4-MXSAnMTABYH5BN56911eMadhvBDSQZw?e=XF1fqC , this include the validation details. |
leftBorderEventBox.Name = "leftBorderEventBox"; | ||
mainHBox.Add (leftBorderEventBox); | ||
|
||
var w1 = (Box.BoxChild)mainHBox [leftBorderEventBox]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of doing this, better to just call mainHBox.PackStart
(or PackEnd
) which has optional parameters for all Expand
configurationTopEventBox.Name = "configurationTopEventBox"; | ||
configurationVBox.Add (configurationTopEventBox); | ||
|
||
var w2 = (Box.BoxChild)configurationVBox [configurationTopEventBox]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto here, just use PackStart
instead of .Add
and all this code
configurationTableEventBox.Add (configurationTable); | ||
configurationVBox.Add (configurationTableEventBox); | ||
|
||
var w7 = (Box.BoxChild)configurationVBox [configurationTableEventBox]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
targetFrameworkComboBox.Name = "targetFrameworkComboBox"; | ||
configurationTable.Add (targetFrameworkComboBox); | ||
|
||
var w3 = (Table.TableChild)configurationTable [targetFrameworkComboBox]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and for Table's, just use Attach
instead of Add
, which has optional parameters for all the properties being set below
…templates which support it
- Fix up formatting - Move from IList to IReadOnlyList where appropriate
Fix issue with Web API template where NoAuth is only supported option
e6e1057
to
44fce79
Compare
Fixes: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1035347
Fixes: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/820015
Fixes: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/669931
Fixes: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/669926
Fixes: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/669911
User Stories:
Feature details:
Added support to detect if an AspDotNet Core project template has support for authentication options. We currently only support the Individual auth (local in-app) option. The user is presented with the option of configuring authentication during project creation (See screenshot below)
Screenshot:

Testing: