-
I have a project (C# API and Blazor WebAssembly client side). I have this data annotation on one of my property.
[Required(ErrorMessage = "My custom error message")]
public string Client {…
-
### Overview
I tried to add validations for my sign in and sign forms based on ObservableValidator.
I found that there are many lines of code can be generated by a generator.
Here is [a snap…
-
Suggests:
- Make content localizable (Labels, DataAnnotations, ModelStateError, Dates)
- Provide localized resources for the languages and cultures you support (for example: pt-BR, en-US)
- Imple…
-
I have a web application (asp.net web forms), I am writing a business rule and I wonder if should make it asynchronous?
Regards
-
Minimal APIs doesn't currently support validations on request parameters. Ideally, this is functionality that we would be able to support by taking advantage of the endpoint filters feature introduced…
-
Hi,
I use SharedResource in asp.net core 3.1 and If I use RequiredIf with ErrorMessage, I can't get my text in different Language
Thanks in advance
-
I had a table [Plu]
```sql
USE [FPSDI771]
GO
/****** Object: Table [dbo].[Plu] Script Date: 2023/12/7 下午 01:43:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TAB…
-
Hi,
I have below class definition:
```
public class SomeClass
{
public DateTime SomeDateTime { get; set; }
}
```
After generating C# client with below command:
```
nswag openapi2cscl…
-
- [x] Support .pdb file for Windows apps
- [ ] Support .dll.mdb file for iOS apps
- [x] Generate .pdb file for iOS apps
- [ ] Generate .dll.mdb file for iOS apps
- [ ] Support .dll.mdb file for An…
-
https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.dataannotations.validationattribute?view=netcore-3.1
vs
https://github.com/dotnet/runtime/blob/master/src/libraries/System.Componen…