C# 8 and .NET Core 3 Projects Using Azure by Paul Michaels
Author:Paul Michaels
Language: eng
Format: epub
Tags: COM051310 - COMPUTERS / Programming Languages / C#, COM060160 - COMPUTERS / Web / Web Programming, COM005000 - COMPUTERS / Enterprise Applications / General
Publisher: Packt Publishing
Published: 2019-12-31T08:56:20+00:00
We'll revisit this later and add some (more) valid credentials, but this will get us up and running.
Next, we'll need to register IdentityServer with the ASP.NET Core middleware pipeline:
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
}
app.UseIdentityServer();
}
The last thing that we need to change in order for IdentityServer to run is to tell it what will be requesting information; this can be done in ConfigureServices (in Startup.cs):
public void ConfigureServices(IServiceCollection services)
{
services
.AddIdentityServer()
.AddDeveloperSigningCredential()
.AddInMemoryClients(new List<Client>())
.AddInMemoryIdentityResources(new List<IdentityResource>());
}
Clearly, this isn't going to let us actually authenticate anything at this stage. Essentially, in order to function correctly, IdentityServer needs to know three things:
Who needs access (users)
What they need access to (resources)
How they will gain access (clients)
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Implementing Enterprise Observability for Success by Manisha Agrawal and Karun Krishnannair(7355)
Supercharging Productivity with Trello by Brittany Joiner(6618)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6420)
Mastering Tableau 2023 - Fourth Edition by Marleen Meier(6383)
Inkscape by Example by István Szép(6230)
Visualize Complex Processes with Microsoft Visio by David J Parker & Šenaj Lelić(5931)
Build Stunning Real-time VFX with Unreal Engine 5 by Hrishikesh Andurlekar(4925)
Design Made Easy with Inkscape by Christopher Rogers(4610)
Customizing Microsoft Teams by Gopi Kondameda(4148)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3935)
Extending Microsoft Power Apps with Power Apps Component Framework by Danish Naglekar(3737)
Business Intelligence Career Master Plan by Eduardo Chavez & Danny Moncada(3705)
Salesforce Platform Enterprise Architecture - Fourth Edition by Andrew Fawcett(3614)
Pandas Cookbook by Theodore Petrou(3590)
The Tableau Workshop by Sumit Gupta Sylvester Pinto Shweta Sankhe-Savale JC Gillet and Kenneth Michael Cherven(3394)
TCP IP by Todd Lammle(2987)
Drawing Shortcuts: Developing Quick Drawing Skills Using Today's Technology by Leggitt Jim(2915)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2874)
Exploring Microsoft Excel's Hidden Treasures by David Ringstrom(2849)
