【问题标题】:dll file in html file with spring boot and angular带有spring boot和angular的html文件中的dll文件
【发布时间】:2018-12-05 00:48:17
【问题描述】:

我是 Spring 和 Angular 的新手,之前没有处理过 dll 文件。 我有一个使用 C# 和 Angular 开发的 webapp,我必须使用 Spring Boot 和 Angular 重新开发它。

所以在 index.cshtml

@using Cockpit.ViewModels

<div id="page">

</div>

而 Cockpit 是一个 dll 文件 Cockpit.dll

如何使用 Angular 或 Spring Boot 在 html 文件中重用此 dll 文件及其 ViewModel?

我应该将dll文件复制到哪个路径?

感谢您的帮助。

【问题讨论】:

    标签: angular spring-boot dll jhipster


    【解决方案1】:

    你不能。 DLL 文件是一个 .net 库,您的原始网站代码是一个 Microsoft ASP.NET 应用程序。

    现在您想切换到完全不同的技术堆栈。 Spring Boot 是 Java,对吧?你必须重写你的视图模型。 与 ASP.NET 相比,Angular(前端)+ Spring(后端)使用完全不同的模式。

    【讨论】:

      猜你喜欢
      • 2017-12-30
      • 2020-06-12
      • 2020-11-28
      • 1970-01-01
      • 2019-08-20
      • 2017-12-27
      • 2021-03-16
      • 2019-04-09
      • 1970-01-01
      相关资源
      最近更新 更多