我有一个非常简单的情况与此HTML: <!--
Generated template for the FormulasPage page.
See http://ionicframework.com/docs/components/#navigation for more info on
Ionic pages and navigation.
-->
<ion-
我正在从我的SPA进行回发到我的Asp.net控制器的POST。该控制器具有这种设置: [HttpPost]
[AllowAnonymous]
public async Task<IActionResult> Get([FromForm] LoginViewModel model)
{
我的asp.net核心API登录视图模型是: public class Log
在TypeScript中,我一直在将非实例变量从我的类中分离出来,并将其与类相同的名称空间分隔开。例如: class Person
{
age: number;
constructor(age: number)
{
this.age = age;
}
}
namespace Person
{
export let numbe