اشتراکها
سلامت باشید؛ سال نوی شما هم مبارک.
نظرات مطالب
استفاده از SQL-CE به کمک NHibernate
سلامت باشید؛ سال نوی شما هم مبارک.
نظرات مطالب
ویدیوهای رایگان آموزشی WCF از مایکروسافت
مطلب مربوط به یک سال قبل است ...
اصل مطلب مربوط به اینجا است.
اصل مطلب مربوط به اینجا است.
نظرات مطالب
BloggerToCHM
من هم سال نو رو به شما تبریک میگم.
نظرات مطالب
BloggerToCHM
با سپاس
سال خوبی را برای همهی شما آرزومندم.
سال خوبی را برای همهی شما آرزومندم.
نظرات مطالب
تاریخ شمسی برای blogger !
به نظر من مورد اول بهتر است چون اگر سال را هم به آن اضافه کنید زیادی شلوغ میشود.
آیا محدودیتی برای طول عمر توکنها وجود نداره؟ مثلاً میتونیم این مقدار رو به بیشتر از دو سال تنظیم کنیم؟
مشکل اصلی رفع شد ممنون؛ منتها این exception رو در سمت سرور وجود داره:
Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: '[PII is hidden by default. Set the 'ShowPII' flag in IdentityModelEventSource.cs to true to reveal it.]', Current time: '[PII is hidden by default. Set the 'ShowPII' flag in IdentityModelEventSource.cs to true to reveal it.]'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.<HandleAuthenticateAsync>d__6.MoveNext()
اشتراکها
بررسی عمیق بهبودهای کارآیی در NET 9.
Performance Improvements in .NET 9
Each year, summer arrives to find me daunted and excited to write about the performance improvements in the upcoming release of .NET. “Daunted,” because these posts, covering .NET 8, .NET 7, .NET 6, .NET 5, .NET Core 3.0, .NET Core 2.1, and .NET Core 2.0, have garnered a bit of a reputation I want to ensure the next iteration lives up to. And “excited,” because there’s such an abundance of material to cover due to just how much goodness has been packed into the next .NET release, I struggle to get it all written down as quickly as my thoughts whirl.
Allow only Ajax requests for an action in ASP.NET Core
ASP.NET Core offers attributes such as [HttpGet] and [HttpPost] that allow you to restrict the HTTP verbs used to invoke an action. You can also use HttpRequest object's Method property to detect the HTTP verb behind the current request. However, at times you need to know whether a request is an Ajax request or not. You may also need to restrict an action only to Ajax calls. Although thee is no inbuilt way to accomplish this task, you can easily implement such a feature in your application. This article discusses how.
ASP.NET Core offers attributes such as [HttpGet] and [HttpPost] that allow you to restrict the HTTP verbs used to invoke an action. You can also use HttpRequest object's Method property to detect the HTTP verb behind the current request. However, at times you need to know whether a request is an Ajax request or not. You may also need to restrict an action only to Ajax calls. Although thee is no inbuilt way to accomplish this task, you can easily implement such a feature in your application. This article discusses how.