Skip to content

How will I use the SignInManager with the ElasticScaleContext? #231

@saadsaeed01

Description

@saadsaeed01

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<int>(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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions