Azure / Azure/elastic-db-tools

How will I use the SignInManager with the ElasticScaleContext?

Open
#231 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
147
Forks
108
PR merge metrics
No merged PRs in 30d

Description

Hi there

My question is will these tools work with IdentyCore? How can I use the ElasticScaleContext with the SignInManager?

In the example given below, blogs are being fetched for a specific tenant:

```
SqlDatabaseUtils.SqlRetryPolicy.ExecuteAction(() =>
{
using (var db = new ElasticScaleContext(sharding.ShardMap, s_tenantId2, connStrBldr.ConnectionString))
{
// Display all Blogs from the database
var query = from b in db.Blogs
orderby b.Name
select b;

Console.WriteLine("All blogs for tenant id {0}:", s_tenantId2);
foreach (var item in query)
{
Console.WriteLine(item.Name);
}
}
});
```
How will use the SignInManager to check whether the user is authentic or not?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.