LeaFrock
LeaFrock
#### Feature 特性 CLI增加新的option,-json STJ/NTJ (当然,最终参数名称可以商榷) #### 简要描述原因 目前通过CLI使用DbFirst生成数据库实体模型,会默认绑定NewtonSoft.Json。在实际情况下,越来越多的新项目倾向于使用System.Text.Json,而不再使用NewtonSoft.Json。 Issue #633 提到STJ的易用性问题,现在(6.0.5+)大多已经解决。未支持的功能如JsonPath等,应该并不影响FreeSql做JsonMap的使用。 当前的DBFirst功能会导致FreeSql实际和NewtonSoft.Json强制绑定,如果Db表及列的数量较多,手动修改工作量巨大。希望能够完善DBFirst的代码生成功能,允许使用配置项指定生成代码所依赖的Json库。 当然,这个FR优先级可能不算高。但个人希望能将该其加入贵项目的迭代计划。 #### 使用场景 使用CLI基于DBFirst生成数据库实体类。
## Read and complete the full issue template Do not randomly delete sections. They are here for a reason. **Do you want to request a *feature* or report a *bug*?**...
### What feature or new tool do you think should be added to DevToys? Generate strongly random keys and IVs in the string format of Base64. ### Why do you...
### 起因 在通过自定义域名访问OSS部分文件时,希望可以直接在浏览器中预览而非触发下载操作。 按照官方文档[《通过文件URL访问图片无法预览而是以附件形式下载?》](https://help.aliyun.com/document_detail/142631.htm?spm=a2c4g.11186623.0.0.56636ac1B5Vk5v#concept-2331929)的说法,只需要设置Content-Disposition为`inline`即可。 但通过新版SDK上传图片、音频等文件后,通过浏览器访问地址仍始终触发浏览器下载操作。而旧版本SDK上传后,操作结果符合预期。 ### 调查结果 在旧SDK中,会根据文件扩展名来决定Content-Type,如png图片文件是`image/png`。 而在新版SDK中,则直接在[AlibabaCloud.OpenApiClient.Client请求前](https://github.com/aliyun/darabonba-openapi/blob/b532e34edbcba836eb08c5eef29a926c54a934e0/csharp/core/Client.cs#L1569-L1596)将`headers["content-type"]`强制覆盖成了`application/octet-stream`。在OSS Browser客户端查看文件时,其HTTP头如下:  将Content-Type改成`image/png`后,访问图片地址成功显示预览而非触发下载。 这应该是一个Bug,希望能尽快修复!@yndu13
I have the impression that I've encountered this confusion many times. Is it possible to add instructions of `JwtSecurityTokenHandler` while using it in a concurrent environment? --- #### Document Details...
### Is your feature request related to a problem? Please describe. Currently Table will always try to load data when initializing, but sometimes we may want to skip this action,...