Click here to Skip to main content
15,899,313 members
Home / Discussions / C#
   

C#

 
AnswerRe: socket Pin
Divyang Mithaiwala28-Mar-06 20:59
Divyang Mithaiwala28-Mar-06 20:59 
Questionparsing Pin
ali kanju28-Mar-06 17:45
ali kanju28-Mar-06 17:45 
AnswerRe: parsing Pin
CWIZO28-Mar-06 19:29
CWIZO28-Mar-06 19:29 
Questionhow can I send datagridview cell value to another form Pin
hama228-Mar-06 17:38
hama228-Mar-06 17:38 
AnswerRe: how can I send datagridview cell value to another form Pin
Gammaza28-Mar-06 19:39
Gammaza28-Mar-06 19:39 
Questionservices Pin
anithavikram(manisha)28-Mar-06 17:03
anithavikram(manisha)28-Mar-06 17:03 
AnswerRe: services Pin
Bob Stanneveld28-Mar-06 19:25
Bob Stanneveld28-Mar-06 19:25 
Questiontype of application to create to cache objects Pin
siali28-Mar-06 14:18
siali28-Mar-06 14:18 
Problem Scenario:
We have a database with information.
We have some ASP.NET web applications that request information from this database.
We do not want to give these applications direct access to the database.

Solution:
So, we planned on creating an API layer with some c# objects (ADO.NET objects) that access the database and instantiates some objects with the information stored in their properties.
The applications will then be able to access the information from these C# objects, instead of directly connecting to the database.
We have to make sure that these objects are alive even if the web application is stopped.
To make a long story short, we basically want to create some stand-alone application (may be a windows service in C#) that exposes an API for the web applications. This stand-alone application has objects that act as caches by maintaining the up-to-date information. Whenever the server is on low load, it updates the database with the latest information it has. All applications should be able to access objects of this stand-alone application to get the information. This stand-alone application should live for ever, ideally until the machine on which it runs is shutdown.

Question:
Which type of project in Visual Studio should I create to develop such c# objects? Will Windows service be a solution? if so, how can I access the objects created by it?

Any help is greatly appreciated.

AnswerRe: type of application to create to cache objects Pin
leppie28-Mar-06 18:46
leppie28-Mar-06 18:46 
GeneralRe: type of application to create to cache objects Pin
siali29-Mar-06 12:59
siali29-Mar-06 12:59 
QuestionSend SMS??? Pin
sebastianos28-Mar-06 12:19
sebastianos28-Mar-06 12:19 
AnswerRe: Send SMS??? Pin
Ravi Bhavnani28-Mar-06 12:28
professionalRavi Bhavnani28-Mar-06 12:28 
GeneralRe: Send SMS??? Pin
sebastianos28-Mar-06 13:23
sebastianos28-Mar-06 13:23 
AnswerRe: Send SMS??? Pin
Luis Alonso Ramos28-Mar-06 15:19
Luis Alonso Ramos28-Mar-06 15:19 
AnswerRe: Send SMS??? Pin
Divyang Mithaiwala28-Mar-06 21:12
Divyang Mithaiwala28-Mar-06 21:12 
QuestionHow to write "Failed to load a doc " if a server is down Pin
JoanMike28-Mar-06 11:07
JoanMike28-Mar-06 11:07 
QuestionCrop an image without creating bitmap Pin
Libor Tinka28-Mar-06 10:50
Libor Tinka28-Mar-06 10:50 
AnswerRe: Crop an image without creating bitmap Pin
Christian Graus28-Mar-06 15:42
protectorChristian Graus28-Mar-06 15:42 
Questionconvert xml file Pin
ap_sa28-Mar-06 10:41
ap_sa28-Mar-06 10:41 
QuestionDirectX and tabpages Pin
melanieab28-Mar-06 8:59
melanieab28-Mar-06 8:59 
AnswerRe: DirectX and tabpages Pin
BlackDice28-Mar-06 9:02
BlackDice28-Mar-06 9:02 
GeneralRe: DirectX and tabpages Pin
melanieab28-Mar-06 9:15
melanieab28-Mar-06 9:15 
QuestionProblem with binding combobox with blank item Pin
Lav Pathak28-Mar-06 8:10
Lav Pathak28-Mar-06 8:10 
QuestionHow can i make a Panelarray ? Pin
summercoal28-Mar-06 7:14
summercoal28-Mar-06 7:14 
AnswerRe: How can i make a Panelarray ? Pin
Judah Gabriel Himango28-Mar-06 9:31
sponsorJudah Gabriel Himango28-Mar-06 9:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.