G
Guest
Hi, I have a question about the startup strategie for my asp.net application.
The application is a website, with behind it a backend webservice used to
retrieve and store data in the choosen database.
When the application starts, one of the first things the app does is loading
the entire dictionary, and the security settings. These are stored an
hastable in the HttpContext.
Question 1: The startup of the application is much to slow. Cause:
retrieving the data from the backend. Is their a good design mechanism to
load the data from the backend, without waiting until it is all loaded?
Problem is that some of the data is needed to generate my webpage (for
example the translations)
Question 2: This data is loaded in the HttpContext. Is this a good place to
store this data, especially when you know that I do pass this HttpContext
between methods?
Thanks in advance!
Michel
The application is a website, with behind it a backend webservice used to
retrieve and store data in the choosen database.
When the application starts, one of the first things the app does is loading
the entire dictionary, and the security settings. These are stored an
hastable in the HttpContext.
Question 1: The startup of the application is much to slow. Cause:
retrieving the data from the backend. Is their a good design mechanism to
load the data from the backend, without waiting until it is all loaded?
Problem is that some of the data is needed to generate my webpage (for
example the translations)
Question 2: This data is loaded in the HttpContext. Is this a good place to
store this data, especially when you know that I do pass this HttpContext
between methods?
Thanks in advance!
Michel