Questions tagged [app-startup]

Concerns that are a focus of application startup include configuration, startup time optimization, locking/threading/race conditions, preconditions, and configuration changes.

Application startup concerns include:

  • Configuration (e.g., database connection strings, SMTP server names, etc.)
  • Startup time optimization
  • Locking/threading/race conditions
  • Checking preconditions (e.g., presence of required folders / files, security checks)
  • Handling of configuration changes (i.e., whether the application has to be redeployed / recompiled / restarted)
176 questions
0
votes
2 answers

raspbian Node.js executable looking for wrong path

based on this post here I tried to create an executable in folder /etc/init.d/ with the name raumserver with the following content: #! /bin/sh # /etc/init.d/raumserver ### BEGIN INIT INFO # Provides: raumserver # Required-Start: …
0
votes
1 answer

How to launch app at start as administrator?

My problem is simple. I can't find both problem's solutions together. My question about launch my program at startup with admin permission without warning. I just want to get admin rights on setup. I'm using regedit for launching my program at…
0
votes
0 answers

Google ads lag app startup time on android by a mean factor of 570ms. What can I do to reduce the impact of app loading?

The versions 1.9 and 2.0 don't have ads and hence show a considerable improvement in app startup times.
0
votes
1 answer

How to use webpack to implement Gmail's strategy of deferring JS parsing

After reading http://googlecode.blogspot.in/2009/09/gmail-for-mobile-html5-series-reducing.html http://www.lostsaloon.com/technology/how-and-why-to-defer-parsing-of-javascript-in-a-webpage/ Popularized by Google’s Gmail, the code is loaded…
Abhinav Singi
  • 3,379
  • 1
  • 20
  • 27
0
votes
1 answer

How to diagnose a program run by the user from a program run by Windows(run on windows startup)in C#?

i have a wpf program that can run in windows startup. i want to run program in WindowState.Normal mode when user run the program and in WindowState.Minimized when windows run the program at startup. but problem is that i do not know how to…
DiniMad
  • 49
  • 1
  • 9
0
votes
1 answer

Open app as gui via powershell for a specific user

I have an app that needs to run as a GUI, I'm trying to automate it's launch at startup without the need to remote desktop to the windows server 2008 R2 and manually start it. I currently use a powershell script at startup to perform multiple tasks…
0
votes
0 answers

The specified executable is not a valid application for this OS platform

I'm trying to add an application start task to unlock the ipSecurity section of the ApplicationHost.config file in my project. I have an cmd file located in /startup/startup.cmd. This is the contents of the file: @echo off @echo Installing "IPv4…
Erica Stockwell-Alpert
  • 4,624
  • 10
  • 63
  • 130
0
votes
2 answers

Pass multiple connection strings through IServicesCollection.AddScoped()

.net core webapi application with entityframeworkcore. Trying to figure out how to pass an additional connection string into the data access library class in addition to the dbcontext. See ** dbcontext ** below is what I want to do. startup.cs …
0
votes
1 answer

Electron.atom app alwaysOnTop in Windows 10 tablet mode

When my electron app starts after every restart not maximize while I set alwaysOnTop to be true and minimizable to be false. I creating mainWindow like below: var scl = 1; mainWindow = new BrowserWindow( { screen:…
0
votes
2 answers

Best alternative to Weblogic startup classes in Websphere?

I am working on a Server Migration Project from Weblogic to Websphere. The problem is that in Weblogic, we are already using a class specified as Startup-class in Weblogic (and arguments to the class like log4j config file) which is present in a jar…
abhihello123
  • 1,668
  • 1
  • 22
  • 38
0
votes
1 answer

White screen or app launch lag on devices with Android >= Lollipop

When I start app (First launch or Launching after killing it through task stack), It takes around 5-6 seconds to come to Launcher screen and shows white screen. When I made launcher activity translucent then still same app lag time is there. One…
0
votes
1 answer

App crashes immediately on iOS 3.x when compiled with Release build configuration

I'm facing quite "mysterious" problem. My App works fine with all build configurations on devices running iOS 4.x, but it crashes on iPhone running iOS 3.x immediately after launch, but only when compiled with Release configuration. With Debug…
Matthes
  • 515
  • 5
  • 12
0
votes
1 answer

Run 2 different apps simultaneously (appcelerator)

It's possible to run 2 different apps at the same time on a MacBook Pro? I need to have one of them with LiveView on iOS Simulator, but another It could be running in the default mode, and I change the files in a text editor like Sublime Text and…
0
votes
2 answers

Improve WPF Application Coldstart: Suggestions to run program when machine starts up

Is it possible to load your WPF application when the machine starts up? Our WPF application is taking 30 seconds on our existing client hardware, and we'd like to "hide" that by having our application startup when the machine is booted. But the…
chocojosh
  • 897
  • 2
  • 11
  • 16
0
votes
1 answer

Any criteria on selecting the startup form?

Question: In .NET do you have any criteria that qualifies a certain form to be the startup form? Example: For example, if I have a basic calculator program and it has 3 forms namely frmConfig, frmCalculator and frmProfile. frmConfig - The…
Cary Bondoc
  • 2,923
  • 4
  • 37
  • 60