Click here to Skip to main content
15,914,943 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionNetwork Issue Pin
Tauseef A22-Nov-06 5:44
Tauseef A22-Nov-06 5:44 
AnswerRe: Network Issue Pin
Dave Kreskowiak22-Nov-06 6:29
mveDave Kreskowiak22-Nov-06 6:29 
QuestionRe: Network Issue Pin
Tauseef A22-Nov-06 8:11
Tauseef A22-Nov-06 8:11 
AnswerRe: Network Issue Pin
Dave Kreskowiak22-Nov-06 8:23
mveDave Kreskowiak22-Nov-06 8:23 
QuestionWebservice Interface Pin
Nithin Krishna22-Nov-06 3:28
Nithin Krishna22-Nov-06 3:28 
AnswerRe: Webservice Interface Pin
Ganesan Senthilvel23-Nov-06 4:11
Ganesan Senthilvel23-Nov-06 4:11 
GeneralRe: Webservice Interface [modified] Pin
Nithin Krishna28-Nov-06 0:53
Nithin Krishna28-Nov-06 0:53 
QuestionWeb Services implementing interfaces Pin
Guy Harwood22-Nov-06 2:22
Guy Harwood22-Nov-06 2:22 
Hi, here is my scenario...

i have the following in my solution...

App1 - normal application
App2 - normal application
CoreApp - library containing classes and 'core' functionality

App1 and App2 talk to each other via their sql server databases.

now, sometimes app1 and app2 may be installed on the same server, sometimes they are not.

so, if they are installed on the same box there will be a connection string to the other apps db in their web.config file.

if the connection string does not exist then i must call the other apps web service which will perform the db insert for me.

i made an interface, lets says its called IComms

it defines the method signature that allows app1 to put something in app2s database.

so to send a message i write this code in App2..

<br />
<br />
dim proxy as IComms<br />
'see if we have connection string for app1 database<br />
<br />
if getConfigSetting("App1ConnectionString").length = 0 then<br />
'use web service<br />
proxy = new app1.webservice<br />
else<br />
proxy = new CoreApp.dbCalls<br />
end if<br />
<br />
proxy.sendmessageToApp1("hello")


this is all very well, but the reference to app1s web service in app2 does not create an implementation of the interface on the proxy class.

is there any way round this or should i just design the app without the use of an interface?
Unsure | :~





---Guy H (Wink | ;-) ---

QuestionSmtpConnection for smtpclient Pin
logicaldna22-Nov-06 2:08
logicaldna22-Nov-06 2:08 
AnswerRe: SmtpConnection for smtpclient Pin
Dave Kreskowiak22-Nov-06 5:04
mveDave Kreskowiak22-Nov-06 5:04 
QuestionSpeed comparation VB6 vs. C# Pin
Fedor Hajdu22-Nov-06 1:40
professionalFedor Hajdu22-Nov-06 1:40 
AnswerRe: Speed comparation VB6 vs. C# Pin
Dave Kreskowiak22-Nov-06 5:02
mveDave Kreskowiak22-Nov-06 5:02 
AnswerRe: Speed comparation VB6 vs. C# Pin
Guffa22-Nov-06 8:31
Guffa22-Nov-06 8:31 
GeneralRe: Speed comparation VB6 vs. C# Pin
Fedor Hajdu22-Nov-06 21:41
professionalFedor Hajdu22-Nov-06 21:41 
QuestionHow can i call C# interface function from C++ ( visual 6 ) application ? Pin
Yanshof22-Nov-06 0:54
Yanshof22-Nov-06 0:54 
AnswerRe: How can i call C# interface function from C++ ( visual 6 ) application ? Pin
Rob Graham22-Nov-06 5:47
Rob Graham22-Nov-06 5:47 
GeneralRe: How can i call C# interface function from C++ ( visual 6 ) application ? Pin
Yanshof22-Nov-06 6:23
Yanshof22-Nov-06 6:23 
QuestionControlling the focus in WindowsForms Pin
Dobromir Dimitrov21-Nov-06 23:31
Dobromir Dimitrov21-Nov-06 23:31 
QuestionList of forms in project Pin
Rudi Groenewald21-Nov-06 19:01
Rudi Groenewald21-Nov-06 19:01 
AnswerRe: List of forms in project Pin
Ed.Poore22-Nov-06 3:59
Ed.Poore22-Nov-06 3:59 
QuestionDirectoryInfo.GetDirectories exception Pin
CPP_Student21-Nov-06 14:44
CPP_Student21-Nov-06 14:44 
AnswerRe: DirectoryInfo.GetDirectories exception Pin
Ed.Poore22-Nov-06 4:03
Ed.Poore22-Nov-06 4:03 
GeneralRe: DirectoryInfo.GetDirectories exception Pin
CPP_Student22-Nov-06 11:45
CPP_Student22-Nov-06 11:45 
GeneralRe: DirectoryInfo.GetDirectories exception Pin
Ed.Poore22-Nov-06 12:24
Ed.Poore22-Nov-06 12:24 
GeneralRe: DirectoryInfo.GetDirectories exception Pin
CPP_Student22-Nov-06 12:45
CPP_Student22-Nov-06 12:45 

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.