Menu
  • Blog
  • About
27 Jun

Data Annotations in .NET 8.0

  • Prasad Raveendran
  • .NET,ASP.NET Core,C#
  • Tags: .NET 8.0, DataAnnotation
  • no comments

.NET 8 introduces new DataAnnotations to help you validate data easily. You can check if string lengths fall within set limits, ensure numbers are within a certain range, specify which values are allowed or not, and validate Base64 strings. This article explains how to use these new features. To demonstrate each dataannotations, I have used […]

read more »

Site Categories

  • .NET (11)
  • ASP.NET Core (16)
  • C# (17)
  • Design Patterns (1)
  • Design Principles (4)
  • SQL (1)
  • Uncategorized (9)
  • Popular
  • Recent
  • Tags
  • Blazor Introduction Blazor Introduction April 10, 2022
  • Blazor Project structure Blazor Project structure April 10, 2022
  • Rate Limiting in .NET 6.0 November 19, 2022
  • Difference between COUNT (1), COUNT (*) and COUNT(COLUMN_NAME) December 26, 2022
  • Exploring Channels in .NET February 4, 2024
  • Hybrid Caching in .NET 9.0: Enhancing Performance and Scalability June 27, 2025
  • How to Use a Containerized SQL Database Server Locally using Docker June 27, 2025
  • Implementing Resilience in a .NET 8 Web API June 27, 2025
  • IExceptionHandler in .NET 8.0 June 27, 2025
  • Data Annotations in .NET 8.0 June 27, 2025
  • .NET 8.0 (10)
  • .NET 6.0 (8)
  • ASP.NET Core (6)
  • blazor (4)
  • C#7.0 (3)
  • .NET Core (3)
  • New Features (3)
  • .NET 5.0 (3)
  • webassembly (3)
  • c#7.0 features (2)
  • Exception Handling (2)
  • Dependency Injection (2)
  • .NET 9.0 (2)
  • Multiplexing (1)
  • Improve Performance (1)
  • Enhanced Security (1)
  • Fallback Mechanism (1)
  • HTTP/3 (1)
  • HTTP3 (1)
  • UseCors (1)
  • When Clause (1)
  • Try (1)
  • Catch (1)
  • Count (1)
  • Handle Exception (1)

Site Archives

  • June 2025 (8)
  • June 2024 (6)
  • February 2024 (3)
  • December 2022 (1)
  • November 2022 (1)
  • August 2022 (1)
  • July 2022 (2)
  • April 2022 (12)

Tag Cloud

.NET 5.0 .NET 6.0 .NET 8.0 .NET 9.0 .NET Core AddCors AddPolicy ASP.NET Core blazor C#7.0 c#7.0 features Caching Carter Catch container CORS Count DataAnnotation Dependency Injection Docket Enhanced Security Enum Alternative Exception Handling Fallback Mechanism Handle Exception HTTP/2 HTTP/3 HTTP3 HybridCaching IExceptionHandler Image Improve Performance Minimal API Multiplexing New Features Options Pattern Polly QUIC Resilient SQL 2022 Thread Try UseCors webassembly When Clause

Post Calendar

June 2025
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Jun    

PR Tech Talks

  • info@prtechtalks.com

Blog Posts

Hybrid Caching in .NET 9.0: Enhancing Performance and Scalability How to Use a Containerized SQL Database Server Locally using Docker Implementing Resilience in a .NET 8 Web API

Tag Clouds

.NET 5.0 .NET 6.0 .NET 8.0 .NET 9.0 .NET Core AddCors AddPolicy ASP.NET Core blazor C#7.0 c#7.0 features Caching Carter Catch container CORS Count DataAnnotation Dependency Injection Docket Enhanced Security Enum Alternative Exception Handling Fallback Mechanism Handle Exception HTTP/2 HTTP/3 HTTP3 HybridCaching IExceptionHandler Image Improve Performance Minimal API Multiplexing New Features Options Pattern Polly QUIC Resilient SQL 2022 Thread Try UseCors webassembly When Clause
Copyright © 2022 - PR Tech Talks . All rights reserved.
Scroll