小编use*_*236的帖子

将WCF合并到MVC中间层的最佳实践

我想知道是否有人使用MVC和WCF作为中间层实现了3层应用程序?是否有任何性能问题/缺点,而不是使用.dll实现典型的中间层.我正在设想一个WCF的中间层,可以访问DAL(linq到SQL),非常感谢任何建议/链接!

asp.net-mvc wcf n-tier-architecture

3
推荐指数
1
解决办法
3872
查看次数

CloudFormation YAML 结合 FN::GEtAtt 和 !Ref 来列出 id

正在努力解决生成 VPCSecurityGroupIds 的 CloudFormation 语法(在我的例子中为 1)。我有下面的 yaml,基本上是尝试引用 GetAtt 函数内的参数 SecurityGroupName 。不幸的是,当我知道我传递了正确的 SecurityGroupName 值时,我得到“参数 [SecurityGroupName] 必须具有值”。非常感谢对此嵌套的任何见解。

  Properties:
    VpcSecurityGroupIds:
      - "Fn::GetAtt": [ !Ref SecurityGroupName , "GroupId"]

  Translates to

  Properties:
    VpcSecurityGroupIds:
    - Fn:G:GetAtt:
      - Ref: SecurityGroupName
      - GroupId
      
Run Code Online (Sandbox Code Playgroud)

yaml amazon-web-services aws-cloudformation

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