Posts

React.js: Use 'react-hook-form' and 'zod' for implementing the Form

Image
In this small post, I am going to discuss the Forms validation feature in React.js using the react-hoof-form and zod libraries. Why the Form Validations is important? Form validation is required to ensure that user inputs are correct, complete, and secure before submission, this helps to prevent invalid data from being sent to the backend and improves the user experience. The form validation results in following benefits: Data accuracy : To Prevents incomplete or incorrect data submissions. Security : This help to blocks malicious inputs e.g., SQL injection, XSS. User Experience: The improvements in user experience reliefs the end user about the error messages foe wrong or invalid data. Enforcement of Business Logic: This makes sure that the core business logic is actually enforces business logic the username must not be repeated or the rules for string password are follows or even the date ranges are set properly. Following are some of the common validation needs: Validatio...

.NET 10: Using Entity Framework Core 1o to store Vector Embedding in Azure SQL Database and perform Semantic Search

Image
In this article, we will see new Features of Entity Framework Core 10 with Vector store in Azure SQL Database. EF Core 10 includes built-in support for Azure SQL’s native vector type and vector search, so developers no longer need the separate VectorSearch plugin used in EF Core 8/9. In .NET 10, the SQLVector support was introduced via EF Core 10.0. This added a native support Entity Framework Core 10 (released in November 2025) added native support for the new SQL Server VECTOR data type, allowing developers to use SqlVector properties in their .NET applications. Advantages of using SqlVector While building AI applications like Retrival Augmented Generation (RAG) as well as Semantic Search, we need to store data in the form of vector embedding. With a tridditional programming approach with typical database centric applications, storing vectorized data in difficult in database tables. In .NET 10 with EF Core 10, using SqlVector structure we can make it possible. in .NET 10 application ...