JsonResult
摘要:https://github.com/dotnet/aspnetcore/blob/39f0e0b8f40b4754418f81aef0de58a9204a1fe5/src/Mvc/Mvc.Core/src/JsonResult.cs#L13 // Licensed to the .NET Foun
阅读全文
posted @
2022-11-20 10:46
qqhfeng16
阅读(160)
推荐(0) 编辑
OkResult vs OkObjectResult
摘要:// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microso
阅读全文
posted @
2022-11-20 10:38
qqhfeng16
阅读(69)
推荐(0) 编辑
StatusCodeResult.cs
摘要:https://github.com/dotnet/aspnetcore/blob/39f0e0b8f40b4754418f81aef0de58a9204a1fe5/src/Mvc/Mvc.Core/src/StatusCodeResult.cs#L1 // Licensed to the .NET
阅读全文
posted @
2022-11-20 10:33
qqhfeng16
阅读(36)
推荐(0) 编辑
asp.net core 6 (单文件版本控制)
摘要:要解决的问题:目前网上大多数是多文件的版本控制(比如:Test1Controller.cs Test2Controller.cs)。这种方法,有诸多缺点,尤其是对于小的改动。 我们的方法:在一个文件中,写多个不同的函数,实现多版本控制。 基本原理: 第一步: 设计版本的枚举变量(V1、V2、V3等等
阅读全文
posted @
2022-11-05 15:42
qqhfeng16
阅读(178)
推荐(0) 编辑