نظرات اشتراکها
مثالی از کاربرد واژهی dynamic جهت جایگزین کردن آن با DTOs
مطلب تکمیلی
dynamic type
Pros: This approach reduces the need to modify static ViewModel classes whenever you update the SQL sentence of a query, making this design approach pretty agile when coding, straightforward, and quick to evolve in regard to future changes.
Cons: In the long term, dynamic types can negatively impact the clarity and the compatibility of a service with client apps. In addition, middleware software like Swashbuckle cannot provide the same level of documentation on returned types if using dynamic types.
ViewModel (DTO)
Pros : Having static predefined ViewModel classes, like “contracts” based on explicit DTO classes, is definitely better for public APIs but also for long term microservices, even if they are only used by the same application.
If you want to specify response types for Swagger, you need to use explicit DTO classes as the return type. Therefore, predefined DTO classes allow you to offer richer information from Swagger. That improves the API documentation and compatibility when consuming an API.
Cons : As mentioned earlier, when updating the code, it takes some more steps to update the DTO classes.
اشتراکها
سورس باز شدن کامپوننتهای بومی WPF
We are happy to announce that we are open sourcing (#2553) native components in WPF – wpfgfx_cor3.dll
and penimc_cor3.dll
. With this, we have completed all planned open-sourcing work for WPF on .NET Core.
We are happy to announce the
availability of the Visual Studio 2013 and Team Foundation Server 2013
Update 5 Release Candidate (RC).
Download: Visual Studio 2013 Update 5 (2013.5) RC
Download: Visual Studio 2013 Update 5 (2013.5) RC
اشتراکها
React، آیبیام جدید است!
اشتراکها
سری 33 قسمتی آموزش React Hooks
سلام
من برای کدنویسی Web Application از ASP.Net MVC استفاده میکنم و علی القاعده در سمت FrontEnd از Razor استفاده میکنم.
میخواستم بدونم در صورت استفاده از React آیا باید کلاً Razor رو کنار بگذارم؟ در مورد سازگاری React با ASP.Net MVC توضیح میدید؟
من برای کدنویسی Web Application از ASP.Net MVC استفاده میکنم و علی القاعده در سمت FrontEnd از Razor استفاده میکنم.
میخواستم بدونم در صورت استفاده از React آیا باید کلاً Razor رو کنار بگذارم؟ در مورد سازگاری React با ASP.Net MVC توضیح میدید؟