deployment

Deploying with Docker into production: Zero downtime

杀马特。学长 韩版系。学妹 提交于 2020-01-01 19:26:29
问题 Im failing to see how it is possible to achieve zero-downtime deployments with Docker. Let's say I have a PHP container running MyWebApp being served by an Nginx container on the same server. I then change some code, as Docker containers are immutable I have to build/deploy the MyWebApp container again with the code changes. During the time it takes to do this MyWebApp is down for the count... Previously I would use Ansible or similar to do deploy my code, then symlink the new release

How do I install/deploy/build my Visual C# application so it's available to all users?

浪尽此生 提交于 2020-01-01 18:56:55
问题 I've written an application in Microsoft Visual C# 2008 Express Edition. The Windows XP computer I want to install it on has two user accounts. One is the admin account, the other is the main user account and does not have admin privledges. I tried installing the application as the main user, and got an error saying i can't because I'm not admin. Fine. I tried installing the application as the admin account. It installs fine and works fine under the admin account, but doesn't seem to be

DefineCustomFiles and CustomCollectFiles are not fired by TeamCity

流过昼夜 提交于 2020-01-01 17:28:52
问题 I'm trying to publish extra files with TeamCity. I also opened a subject here: Publish extra dll files not included in the web project but here I'm focused on the fact that DefineCustomFiles and CustomCollectFiles seem not fired. My build step looks like this: And my custom build file looks like this : <?xml version="1.0" encoding="utf-8"?> <!-- This file is used by the publish/package process of your Web project. You can customize the behavior of this process by editing this MSBuild file. In

How do you register a Windows Service during installation?

徘徊边缘 提交于 2020-01-01 16:51:10
问题 I have built a windows service application in VB.net 2008, and used the Setup Wizard to add an installation process. The installer works, in that it adds the app to add/remove programs and copies all of the files etc, but it's missing the final (required) step of actually installing the service. I have added the primary output of the Project as a custom action for Install and Uninstall, without success. what's the secret? 回答1: You need to create a custom install task; MSDN has everything you

How to prevent HTTP 404 during deployment of ear in Wildfly/Jboss

左心房为你撑大大i 提交于 2020-01-01 15:08:05
问题 We're using WildFly 10 as our application server and deploy via Docker (deployment in WF is ordinary hotdeployment). We're not using WildFly's clustering mechanisms but simply have load-balancers (HAProxys) in front. The problem is that WF opens its HTTP port while the EAR deployment is still in progress. This (of course?) leads to HTTP 404 errors which we don't want to handle specifically in the LBs. This could lead to false negatives... Is there a way to allow HTTP connections only after

Is it absolutely necessary to manually configure IIS6 to use ASP.NET MVC?

吃可爱长大的小学妹 提交于 2020-01-01 12:07:17
问题 I have a web hosting that replied to me it was not possible to alter the IIS6 settings to set the mapping of .mvc to the Asp.Net ISAPI dll, nor enable Wildcard Application Mappings. In short, I cannot change any IIS setting. Is there any way to run ASP.NET Mvc in that conditions? Note : I read a few related questions here about this, but didn't understand them in some cases, and it wasn't what I needed in others. I'd appreciate it if before closing this one as duplicate, there was an

Including a named instance of SQL Server 2008 Express with my application

让人想犯罪 __ 提交于 2020-01-01 12:06:27
问题 Good morning, all. This is my first question on stackoverflow, so hopefully this isn't something that's been beaten to death and I haven't been able to find it. I'm developing an application that is going to be distributed shrinkwrapped. We have gotten the rights to distribute SQL Server 2008 Express Edition with our application, but exactly HOW to do this is a little more difficult. Right now we're using a standard Visual Studio setup project, and I was obviously hoping for something very

Correct way to distribute VC++ runtime files

久未见 提交于 2020-01-01 09:21:29
问题 I have an MFC application which I am trying to package for deployment. It seems to depend on the files 'msvcr90.dll', 'msvcp90.dll' and 'mfc90.dll'. What is the correct way to distribute these files? I can't use merge modules as my installer doesn't support them. I know I can run VCRedist_x86.exe, but I don't want to do this for various reasons. As far as I can see my only alternative is to install the files as Private Side-by-Side assemblies. Is this correct? According to http://msdn

include c/c++ unmanaged code dll, consumed using dllimport, in azure functions publish process

隐身守侯 提交于 2020-01-01 07:23:13
问题 How does one include in a c/c++ unmanaged code dll, consumed using v2 .net core compatible DllImportAttribute statements, in azure functions publish process? I've confirmed it works in cloud deployment by manually copying, via azure storage explorer, to functions app storage account | file shares | | site/wwwroot/bin folder. Issue is now I haven't been able to find way to have it included in vs17 | | Publish process. Tried placing dll in \bin\$(Configuration)\netcoreapp2.1\bin folder before

Avoiding invalid viewstate when deploying on a load balanced website without downtime

☆樱花仙子☆ 提交于 2020-01-01 06:28:00
问题 Here is the scenario: We have 3 web servers A, B, C. We want to release a new version of the application without taking the application down (e.g. not using the "Down for maintenance page"). Server A goes live with latest code. Server B gets taken off-line. Users on Server B get routed to A and C. Page1.aspx was updated with new control. Anyone that came from Server B to Server A while on this page will get a viewstate error when they perform an action on this page. This is what we want to