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
3
votes
2 answers

Passing arguments to application

This question might seem a bit vague but here we go. I am preventing multiple instances of my wpf application, like so: Process proc = Process.GetCurrentProcess(); if (Process.GetProcessesByName(proc.ProcessName).Length > 1) { …
leko
  • 2,308
  • 1
  • 11
  • 11
3
votes
4 answers

How to change the startup activity in android

For the first time use of the application I will show the user with a login screen which i will defined in manifest file as "android.intent.action.MAIN". After a successful login, each time application starts I want the user to see the home screen.…
2
votes
4 answers

Possible causes of slow Silverlight start up

I have a Silverlight application that loads extremely slow from IIS. When I debug it takes about 5 seconds to load, where as from the server it takes over a minute. The size of the xap is only 8 MB, which does not seem particularly large to me, and…
Morgan Herlocker
  • 1,498
  • 4
  • 24
  • 42
2
votes
1 answer

Set Enviroment in WebApplication.CreateBuilder from configuration

So I'm trying to setup the webapp enviroment name according to the company deployment policy based on transformations of appsettings file during the pipeline deployment. We are using IWebHostEnvironment for reading the env and rootpath later in…
freshbm
  • 5,540
  • 5
  • 46
  • 75
2
votes
0 answers

How can I trace what happens during XAML loading in WinUI 3?

I have the same question Joe did, but for WinUI 3 desktop projects. Essentially, is there a way to trace what's happening and when, as XAML loads? The solution for WPF appears to be a pre-defined set of TraceSources that simply need to be "turned…
aturnbul
  • 347
  • 2
  • 12
2
votes
0 answers

SpringBoot spring.context.refresh very slow

When developing my SpringBoot application, I didn't cared at all about the startup time Indeed, on my workstation, my application took around 3 and 4 seconds to start, which is, for my project needs, perfectly acceptable However, I realized recently…
2
votes
1 answer

IWebHostBuilder.Configure() not executing in ASP.NET Core

Why is that a call to IWebHostBuilder.Configure() extension method seemingly doesn't do anything in ASP.NET Core (experienced in version 3.4.0)? For example in this scenario: public static IHostBuilder CreateHostBuilder(string[] args) =>…
Leaky
  • 3,088
  • 2
  • 26
  • 35
2
votes
0 answers

Long application startup time in react native ios app with firebase

Our application built with react native and it's using firebase as well. For firebase integration, we are using the react-native-firebase package. The android output is fine, but the ios have an unknown issue with startup time. It takes an unusual…
2
votes
1 answer

Redirecting STDERR on login

I have a menu system that all users are automatically directed to. This is done by changing the shell attribute in /etc/passwd to point to a script that sources the profile and generally sets up the environment before calling the main program. For…
2
votes
1 answer

viewDidAppear: called twice on modal view controller presented during startup

Resolution: While trying to recreate this bug in a fresh project to submit to Apple, I discovered that it is specific to iPhone OS 2.1, and compiling for 2.2 fixes the problem. Stephen, thanks for your help; I'll be accepting your answer since it…
2
votes
1 answer

ASP.NET Core, How Does Runtime Reason About Startup Class?

In Startup.cs I have a Startup class which exposes ConfigureServices() and Configure(). The Startup class is used in the Main() code path as such... webBuilder.UseStartup(); Many questions: How/why are Startup callback methods inferred if…
triple.vee
  • 126
  • 1
  • 7
2
votes
1 answer

How to reduce startup time for OpenJDK Java8 VM?

I need to try to improve startup time of a relatively large headless java application tweaking VM/launcher parameters (a separate effort is underway to achieve the same goal tweaking the actual code). The VM of choice is standard OpenJDK…
ZioByte
  • 2,690
  • 1
  • 32
  • 68
2
votes
1 answer

Splash Screen Like Google

I want to create splash screen like google splash screen(image attached below) using layer-list.I tried but UI behaving different on different devices. here is my code
JosephM
  • 2,935
  • 4
  • 18
  • 28
2
votes
0 answers

Android app startup delay even when multiDex is disabled, TraceView shows Dalvic.system.DexFile runs on Startup

I have been on this for a few days and haven't found any solution anywhere. Initially startup time was quite long due to multidexing process. I managed to get rid of extra google service libraries which I am not using and get the code small enough…
2
votes
1 answer

iOS App takes too long to start

I have an app with: custom topbar and bottombar, horizontal scrollview that contains 5 other vertical scrollviews the scrollviews are filled with a grid of images (no collection view) a view that comes in from left when you grab it (google play…
simodev
  • 73
  • 2
  • 11
1 2
3
11 12