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
1
vote
0 answers

AspNet MVC restrict routing to resolve controllers from a certain assembly

I have an Asp.Net Web Forms project, later on I've added the WebApi support to it, so now I can access both the .aspx pages + controller action api. Now, The startup process takes up to 50 seconds, after profiling, I've noticed that one of the…
amd
  • 20,637
  • 6
  • 49
  • 67
1
vote
1 answer

vaadin cache.html size

Looking into Chrome Developer Tools' Audits tab when launching my Vaadin-based web application, I have been horrified to see that the cache.html file was > 4Mb big! I thought that Vaadin's runtime was at worst a few hundred k's. I need to enable…
user592699
  • 481
  • 1
  • 7
  • 15
1
vote
1 answer

PlayFramework 2.6 - How to setup h2 server database

I'm struggling to startup h2 "server" database before the connection pool is opened. Here's my code: application.conf: play.modules { ... enabled += modules.StartupModule } ... db { default.driver = org.h2.Driver #default.url =…
inieto
  • 680
  • 12
  • 17
1
vote
1 answer

BaQend - DBready at initializing, check login status of user

I'm working with BaQend & Ionic2 and try to get some task at App-start. 1. DBready I don't want to do this at every single page: ionViewCanEnter(): Promise { // Check if the Baqend SDK is ready and wait for initialization …
Bourbon
  • 603
  • 3
  • 8
  • 17
1
vote
0 answers

create a popup / dialog composite on eclipse startup

I want to display a popup on eclipse startup without clicking any button. I have a plugin class which implements org.eclipse.ui.IStartup but from there i dont know how to create a popup which can be launched as soon as eclipse launches. Condition is…
Nikita
  • 425
  • 1
  • 7
  • 19
1
vote
2 answers

IntelliJ 2016.3.3 (32b) JVM Error Code -6

I was running a script against a very large text file which crashed IntelliJ (i.e. I elected to "Shut Down" intellij when the memory overload pop-up appeared). Now am getting the below error at startup "Failed to create JVM: error code -6. JVM…
1
vote
1 answer

C# check Settings.Default on startup

At the startup of my application, I need to ensure that the user settings are complete before the user is allowed to select a "Run" button to start the functional thread. I have an Init.cs class which runs various checks to make sure the…
1
vote
3 answers

UI freezes on removing white screen before splash

I am trying to remove white screen before splash so i followed solutions mentioned in these links How To fix white screen on app Start up? White screen before splashscreen I tried almost every solution mentioned here which includes changing…
Harry Sharma
  • 2,190
  • 2
  • 15
  • 41
1
vote
0 answers

How to tell ConfigureAuth which is the current web application host name?

I want to load CookieDomain and set the external providers based on values from database, but it seems like HttpContext.Current.Request.Url.Host is not yet set when Startup is calling ConfigureAuth(app); (value is always 127.0.0.1) How can I get the…
Yovav
  • 2,557
  • 2
  • 32
  • 53
1
vote
1 answer

How to suppress startup messages

When I launch gnuplot from command line it prints 15 lines of about information I usually don't need. How can I suppress them? Here's an example: myHost: ~ gnuplot G N U P L O T Version 4.4 patchlevel 0 last modified March…
user829755
  • 1,489
  • 13
  • 27
1
vote
3 answers

Java: How do I start a standalone application from the current one when both are in the same package?

This seems like it should be easy, so I must be missing something obvious: I have 4 standalone applications in the same package, us.glenedwards.myPackage, myClass1 extends Application myClass2 extends Application etc... I need each class to act…
VikingGlen
  • 1,705
  • 18
  • 18
1
vote
1 answer

Is there a way to distribute an Android app with an external config file?

I have an Android application that needs to read some custom parameters at startup (e.g. an URL). Those parameters are different from customer to customer. What I'm expected to do is: "broadcast" the APK give specific parameter file to each…
Stefano
  • 156
  • 3
  • 14
1
vote
0 answers

Configure Glimpse in Code

Glimpse is currently configured in the web config for MVC5 as shown below:
Code Junkie
  • 519
  • 2
  • 7
  • 16
1
vote
2 answers

Android studio change startup activity only once

I am developing an Android app with a Navigation Drawer working this way: the user opens the app and a Tutorial (an activity with a pager sliding fragments, called ScreenSlideActivity.java) pops up; when the user finishes sliding the tutorial, he…
Cris
  • 2,002
  • 4
  • 30
  • 51
1
vote
1 answer

Hangfire configuration for SQL Server

I am coding a MVC 5 internet application, and am wishing to use Hangfire for recurring tasks. How can I setup Hangfire to use SQL Server storage without specifying this in the Startup.Auth ConfigureAuth(IAppBuilder app) function. Here is a resource…
Simon
  • 7,991
  • 21
  • 83
  • 163