Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "ajayak"

Hi @alper,

Is there any way to switch to different edition/subscription?

Hi @ismcagdas,

I wanted to associate features with editions. I found this solution :)

new EditionFeatureSetting(globalExpansionEdition.Id, AppFeatures.MaxUserCount, "11")

Got it done!

public JwtSecurityToken GetSecurityToken(string token)
        {
            try
            {
                var securityKey = new SymmetricSecurityKey(Encoding.Default.GetBytes(_configuration["Authentication:JwtBearer:SecurityKey"]));

                var validationParameters =
                    new TokenValidationParameters
                    {
                        ValidIssuer = _configuration["Authentication:JwtBearer:Issuer"],
                        ValidAudiences = new[] { _configuration["Authentication:JwtBearer:Audience"] },
                        IssuerSigningKey = securityKey
                    };
                var handler = new JwtSecurityTokenHandler();
                handler.ValidateToken(token, validationParameters, out var jwt);
                return jwt.As<JwtSecurityToken>();
            }
            catch (Exception e)
            {
                Logger.Error(L("TokenDecodingFailed"), e);
                throw new UserFriendlyException(L("UnAuthorizedOperation"));
            }
        }

Hi @ismcagdas and @@BBakerMMC,

The build time has drastically reduced from 90 minutes to 15 minutes in the 5.1.1 Dev branch.

Thanks AspNetZero team.

Thanks @ismcagdas

Thanks @ismcagdas

Thanks, @aaron :)

Thanks @ismcagdas, the issue is resolved now :)

Thanks @ismcagdas. I was missing that step :)

Here is the output from dotnet --info

.NET Command Line Tools (2.1.3)

Product Information:
 Version:            2.1.3
 Commit SHA-1 hash:  a0ca411ca5

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.16299
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.1.3\

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.4
  Build    : 7f262f453d8c8479b9af91d34c013b3aa05bc1ff
Showing 71 to 80 of 109 entries