当我在控制器中进行更改时,已更新已发布文件夹中的哪些文件?

时间:2023-01-09 04:02:31

I have a web application that I need to deploy, but the problem is the transfer rate is very slow. So when I publish the application, I am just copying the files that have changes. For example, I made a changes in Index view, I would just copy and paste it in my publish folder, instead of publishing the whole project. But when it comes with Controllers, I have no idea on what files are changed. Any help would be greatly appreciate.

我有一个我需要部署的Web应用程序,但问题是传输速度非常慢。因此,当我发布应用程序时,我只是复制有更改的文件。例如,我在索引视图中进行了更改,我只是将其复制并粘贴到我的发布文件夹中,而不是发布整个项目。但是当它与控制器一起使用时,我不知道哪些文件被更改了。任何帮助都会非常感激。

Thanks!

谢谢!

1 个解决方案

#1


1  

When you make a change to a controller, it's the application.dll who change. You say there are no Dlls in the published folder, but for what I know, it's not possible!

当您更改控制器时,它是更改的application.dll。你说发布的文件夹中没有Dll,但据我所知,这是不可能的!

How do you publish, and how do you check your published site is working ?

你如何发布,以及如何检查你发布的网站是否有效?

For me, a very basic published folder looks like this:

对我来说,一个非常基本的已发布文件夹如下所示:

  • bin
  • 箱子
  • content
  • 内容
  • scripts
  • 脚本
  • views
  • 意见
  • Global.asax
  • Global.asax中
  • Web.config
  • Web.config文件
  • How do yours looks like?

    你的样子怎么样?

    (DLLs are in the bin folder)

    (DLL位于bin文件夹中)

    #1


    1  

    When you make a change to a controller, it's the application.dll who change. You say there are no Dlls in the published folder, but for what I know, it's not possible!

    当您更改控制器时,它是更改的application.dll。你说发布的文件夹中没有Dll,但据我所知,这是不可能的!

    How do you publish, and how do you check your published site is working ?

    你如何发布,以及如何检查你发布的网站是否有效?

    For me, a very basic published folder looks like this:

    对我来说,一个非常基本的已发布文件夹如下所示:

  • bin
  • 箱子
  • content
  • 内容
  • scripts
  • 脚本
  • views
  • 意见
  • Global.asax
  • Global.asax中
  • Web.config
  • Web.config文件
  • How do yours looks like?

    你的样子怎么样?

    (DLLs are in the bin folder)

    (DLL位于bin文件夹中)