Một Web Application Firewall (WAF) nghiêm ngặt đã chặn các yêu cầu do cookie xác thực ASP.NET Core phát triển quá lớn. Việc triển khai ITicketStore giải quyết vấn đề này bằng cách lưu trữ AuthenticationTicket phía server và chỉ để lại session key trong cookie, giúp giảm kích thước cookie xuống vài trăm byte bất kể số lượng claim. Phiên bản đầu tiên sử dụng IMemoryCache nhưng không hoạt động đa instance do mỗi lần khởi động hoặc bản sao scale mất ticket. Phiên bản thứ hai dùng IDistributedCache (Redis, SQL Server) với TicketSerializer của ASP.NET Core để serialize ticket thủ công. Lưu trữ phía server cũng cho phép hủy session nhưng đi kèm chi phí tra cứu cache trên mỗi request và phụ thuộc mới vào đường dẫn xác thực.
AI summaries can be wrong. Read the original before relying on anything important.
Why read it: Bạn nên đọc bài này để tìm hiểu cách giảm kích thước cookie xác thực ASP.NET Core bằng ITicketStore và giải quyết vấn đề bị WAF chặn do cookie quá lớn.
Answer 3 short questions to earn reward points for this article. Only do it if you want the points.
3 questions · under a minute · optional
Source: https://bartwullems.blogspot.com/2026/10/reducing-size-of-your-authentication.html. 8 Sync News only summarizes and links out; content copyright belongs to the authors and original sources.
Read the news here, practice coding, follow structured courses and train for IELTS on our sibling products — all connected through one 8 Sync account.
The ecosystem home: product overviews, blog and full pricing.
ExploreLearn along a clear roadmap: videos, auto-graded quizzes, certificates and mentors who ship for a living.
View the roadmap1,000 DSA problems in Vietnamese, auto-graded across 7 languages — many FREE, right in your browser.
Practice for freeAI grading for all four IELTS skills with detailed rubric feedback.
Try it freeA 22 MB AI IDE for Vietnamese devs.
Download freeOrganizational memory for AI agents.
ExploreAI that staffs your Fanpage and qualifies leads for you.
Try itAn API can save an order and crash before publishing the message that tells other services about it.
Expose ABP application services as MCP tools so AI agents can use your app, with ABP’s permissions, multi-tenancy and audit logging applied automatica...
RAG (Retrieval-Augmented Generation) và Agentic RAG là hai phương pháp xử lý thông tin khác nhau trong lĩnh vực AI. RAG hoạt động bằng cách truy vấn vector database để tìm thông tin liên quan trước khi tạo câu trả lời, ví dụ như với vector database có thể chứa hàng triệu document embeddings. Agentic RAG thêm vào một agent có khả năng tự suy luận, cho phép hệ thống tự động xác định cần tìm thêm thông tin hay không, như trường hợp của OpenAI's GPT-4 với function calling. Sự khác biệt chính là Agentic RAG có khả năng tự chủ trong việc quyết định cần làm gì tiếp theo thay vì chỉ phụ thuộc vào kết quả truy vấn ban đầu. Đây là kiến thức quan trọng để hiểu sự tiến hóa từ RAG cơ bản đến các hệ thống thông minh hơn có khả năng tự điều chỉnh.
Bài viết này giúp bạn hiểu rõ sự khác biệt cơ bản giữa RAG và Agentic RAG để áp dụng hiệu quả vào các dự án AI.
Use HttpClient in .NET 10 with IHttpClientFactory, keyed and typed clients, and AddStandardResilienceHandler, with real socket and POST retry test results.
Bối cảnh thiết kế MCP server tập trung vào việc tạo giao diện hữu ích với các công cụ rõ ràng, quyền tài khoản, giới hạn sử dụng và kết quả có thể dự đoán được. Nguyên nhân kỹ thuật chính là yêu cầu đảm bảo an toàn khi thực hiện các hoạt động ghi dữ liệu, đòi hỏi phải triển khai authentication mechanism chặt chẽ và rate limiting để ngăn chặn lạm dụng. Hệ quả của thiết kế tốt sẽ mang lại trải nghiệm người dùng ổn định, giảm thiểu rủi ro bảo mật và tài nguyên hệ thống. Điều đáng học là việc cấu trúc tools thành các đơn vị chức năng độc lập cùng với việc thiết kế hệ thống phân quyền chi tiết sẽ giúp mở rộng dễ dàng trong tương lai.
Bài hướng dẫn này giúp bạn thiết kế MCP server hiệu quả với công cụ bảo mật, xác thực và giới hạn sử dụng tối ưu.
How to loop through and iterate a List<T> in C# with foreach, for, ForEach, Index(), and spans, plus break, continue, safe removal, and benchmarks.
Vertical Slice vs Clean Architecture in .NET 10: real file counts, a decision matrix, and the pragmatic hybrid I recommend, with architecture tests.
The GitHub Copilot upgrade agent now supports migrating .NET applications from Windows x64 or x86 to Windows Arm64. It assesses your projects, flags blockers like architecture-tied build settings and native dependencies without Arm64 binaries, then builds a migration plan. The agent updates code, dependencies, and project configuration, and builds the migrated app for Arm64, running tests when matching hardware or CI runners are available. It focuses on portability and correctness, not Arm64 performance tuning. To start, install GitHub Copilot upgrade, pick the .NET Arm64 migration scenario, and review its plan before letting it make changes.
Loading comments…