小编Jut*_*Aka的帖子

如何修复HttpException:在收到完整的标头之前关闭连接

我最近在我的应用程序中升级了Flutter版本。但是,当我想调试应用程序时,它显示了以下错误。

连接到服务协议时出错:HttpException:在接收到完整标头之前,连接已关闭,uri = http://127.0.0.1:50795/ws

升级flutter版本后,是否有人面临相同的问题?如果有任何解决方法,请分享。

http flutter

23
推荐指数
5
解决办法
8775
查看次数

如何解决“错误:rzc 发现以代码 150 退出”

我的 dotnet SDK 版本是 3.0.100。我正在尝试在 macOS 中运行一个带有 dotnet 核心框架的 angular web 应用程序。但是每当我尝试构建项目时,它都会给我以下错误。

/Users/juthisarker/.nuget/packages/microsoft.aspnetcore.razor.design/2.2.0/build/netstandard2.0/Microsoft.AspNetCore.Razor.Design.CodeGeneration.targets(80,5): error : rzc discover exited with code 150. [/Users/juthisarker/Documents/webTest/testtwo/testtwo.csproj]

The build failed. Fix the build errors and run again.
Run Code Online (Sandbox Code Playgroud)

起初,我的 dotnet SDK 版本是 3.1.1。然后,我将我的 dotnet SDK 版本降级到 3.0.100。我认为它将解决框架的剃刀设计问题。但是,它并没有解决问题。我也在这里提供了 testtwo.csproj 文件。

<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>netcoreapp2.2</TargetFramework>
    <TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
    <TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
    <IsPackable>false</IsPackable>
    <SpaRoot>ClientApp\</SpaRoot>
    <DefaultItemExcludes>$(DefaultItemExcludes);$(SpaRoot)node_modules\**</DefaultItemExcludes>

    <!-- Set this to true if you enable server-side prerendering -->
    <BuildServerSideRenderer>false</BuildServerSideRenderer>
    <RootNamespace>truck_tracking</RootNamespace>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.App"/>
    <PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.2.0" PrivateAssets="All" />
     <!-- <PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="2.2.0" />
     <PackageReference …
Run Code Online (Sandbox Code Playgroud)

c# .net-core angular

9
推荐指数
1
解决办法
6776
查看次数

如何在扑朔迷离的盒子周围创建虚线边框?

我正在使用flutter在我的应用程序中构建盒子布局列表。我想在框子周围的虚线边框。我已使用card小部件创建框。但是,如何使框周围出现虚线边框?

border dotted-line flutter flutter-layout

7
推荐指数
3
解决办法
3826
查看次数

无法增加颤振中对话框的宽度

我需要在我的应用程序中构建一个弹出对话框。我正在使用 Dialog 类并用 SizedBox 类包装它以增加对话框的宽度。但是,对话框的宽度并没有增加。我怎样才能增加它的宽度?

onTap: () {
showDialog(
    context: context,
    child:SizedBox(
        width: 900,
        child: Dialog(
            backgroundColor :Colors.white,
            insetAnimationDuration: const Duration(milliseconds: 10),
            shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(20)),
            child: Container(
                child: Column(
                    children: <Widget>[
                        Text('hello'),
                        FlatButton(
                        onPressed: () {
                            Navigator.of(context).pop();
                        },
                        child: new Text("OK"),
                        ),
                    ]
                ),
            ),  
        ),
    ),
);
},
Run Code Online (Sandbox Code Playgroud)

flutter flutter-layout

6
推荐指数
1
解决办法
6541
查看次数

标签 统计

flutter ×3

flutter-layout ×2

.net-core ×1

angular ×1

border ×1

c# ×1

dotted-line ×1

http ×1