Click here to Skip to main content
15,918,706 members
Home / Discussions / C#
   

C#

 
QuestionSqlConnection string? Pin
murali_utr23-Dec-04 21:39
murali_utr23-Dec-04 21:39 
AnswerRe: SqlConnection string? Pin
J4amieC23-Dec-04 21:57
J4amieC23-Dec-04 21:57 
GeneralRe: SqlConnection string? Pin
murali_utr24-Dec-04 2:07
murali_utr24-Dec-04 2:07 
GeneralRe: SqlConnection string? Pin
Rob Graham24-Dec-04 5:48
Rob Graham24-Dec-04 5:48 
Generalobject and layers design question Pin
ppp00123-Dec-04 21:29
ppp00123-Dec-04 21:29 
GeneralListening windows messages Pin
sbozcan23-Dec-04 21:12
sbozcan23-Dec-04 21:12 
GeneralRe: Listening windows messages Pin
Heath Stewart23-Dec-04 21:19
protectorHeath Stewart23-Dec-04 21:19 
QuestionASP.NET c# webservice - Singleton COM instance? Pin
gmcm23-Dec-04 20:46
gmcm23-Dec-04 20:46 
Hi
I have been given a task to web enable an COM component, and have looked at acheiving this with a c#/ASP.NET solution. All works fine, except the initial creation of the COM component is fairly slow as there is some underlying initialisation occurring. This is currently happing in the one of the webservice methods.

Is there anyway I can instantiate the COM component (via interop wrapper) just the once, and on each web service method invocation call the same instance?

Regards

Glenn
AnswerRe: ASP.NET c# webservice - Singleton COM instance? Pin
Heath Stewart23-Dec-04 21:13
protectorHeath Stewart23-Dec-04 21:13 
QuestionLocal IP number? Pin
danneau23-Dec-04 19:06
danneau23-Dec-04 19:06 
AnswerRe: Local IP number? Pin
Jay Shankar23-Dec-04 19:55
Jay Shankar23-Dec-04 19:55 
GeneralRe: Local IP number? Thanks! Pin
danneau23-Dec-04 20:43
danneau23-Dec-04 20:43 
GeneralRe: Local IP number? Thanks! Pin
Jay Shankar23-Dec-04 21:03
Jay Shankar23-Dec-04 21:03 
AnswerRe: Local IP number? Pin
leppie23-Dec-04 20:33
leppie23-Dec-04 20:33 
Generalsingleton Pin
lcarriere23-Dec-04 18:14
lcarriere23-Dec-04 18:14 
GeneralRe: singleton Pin
Heath Stewart23-Dec-04 20:20
protectorHeath Stewart23-Dec-04 20:20 
GeneralRe: singleton Pin
lcarriere24-Dec-04 4:06
lcarriere24-Dec-04 4:06 
GeneralRe: singleton Pin
Heath Stewart27-Dec-04 10:17
protectorHeath Stewart27-Dec-04 10:17 
GeneralRe: singleton Pin
lcarriere27-Dec-04 11:29
lcarriere27-Dec-04 11:29 
Generalsuspending layout, useragents, and creating shortcuts... Pin
dkarlton23-Dec-04 15:36
dkarlton23-Dec-04 15:36 
GeneralRe: suspending layout, useragents, and creating shortcuts... Pin
Heath Stewart23-Dec-04 20:48
protectorHeath Stewart23-Dec-04 20:48 
GeneralRe: suspending layout, useragents, and creating shortcuts... Pin
dkarlton27-Dec-04 14:32
dkarlton27-Dec-04 14:32 
GeneralRe: suspending layout, useragents, and creating shortcuts... Pin
Heath Stewart27-Dec-04 19:19
protectorHeath Stewart27-Dec-04 19:19 
GeneralRe: suspending layout, useragents, and creating shortcuts... Pin
Heath Stewart28-Dec-04 5:09
protectorHeath Stewart28-Dec-04 5:09 
GeneralRe: suspending layout, useragents, and creating shortcuts... Pin
dkarlton28-Dec-04 8:28
dkarlton28-Dec-04 8:28 

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.