Can the web deploy agent run on a port other than 80 on IIS6?

There’s a couple of ways to do this: Option 1: Uninstall and re-install Specifying a different port: msiexec /I WebDeploy_x86_en-US.msi /passive ADDLOCAL=ALL LISTENURL=http://+:8172/MsDeployAgentService The command line installs the MsDeployAgentService and configures it to listen on port 8172 just like on IIS7. Option 2: Re-configure Existing Service to listen on port 8172: Stop the msdepsvc (net … Read more

How do you manage per-environment data in Docker-based microservices?

Docker compose supports extending compose files, which is very useful for overriding specific parts of your configuration. This is very useful at least for development environments and may be useful in small deployments too. The idea is having a base shared compose file you can override for different teams or environments. You can combine that … Read more

How to resolve Node.js ES6 (ESM) Modules with the TypeScript Compiler (TSC). TSC doesn’t emit the correct file-ext

This is a confusing design choice in TypeScript. In the short term you can work around it by specifying the output file: in main.ts specify the .js extension and path: import { testText } from ‘./module1.js’; alert(testText); This will pick up module.ts correctly, but output with the .js extension included. Note that you also need … Read more

Spring Redis – Read configuration from application.properties file

You can use @PropertySource to read options from application.properties or other property file you want. Please look PropertySource usage example and working example of usage spring-redis-cache. Or look at this small sample: @Configuration @PropertySource(“application.properties”) public class SpringSessionRedisConfiguration { @Value(“${redis.hostname}”) private String redisHostName; @Value(“${redis.port}”) private int redisPort; @Bean public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() { return new PropertySourcesPlaceholderConfigurer(); … Read more

tech