Click here to Skip to main content
15,891,473 members
Home / Discussions / C#
   

C#

 
AnswerRe: Beginner c# question Pin
Luc Pattyn14-May-11 16:57
sitebuilderLuc Pattyn14-May-11 16:57 
GeneralRe: Beginner c# question Pin
SFORavi14-May-11 18:34
SFORavi14-May-11 18:34 
AnswerRe: Beginner c# question Pin
Luc Pattyn14-May-11 18:39
sitebuilderLuc Pattyn14-May-11 18:39 
GeneralRe: Beginner c# question Pin
Roger Wright14-May-11 20:11
professionalRoger Wright14-May-11 20:11 
GeneralRe: Beginner c# question Pin
Richard MacCutchan14-May-11 21:32
mveRichard MacCutchan14-May-11 21:32 
AnswerRe: Beginner c# question Pin
PIEBALDconsult14-May-11 18:52
mvePIEBALDconsult14-May-11 18:52 
GeneralRe: Beginner c# question Pin
jschell16-May-11 8:37
jschell16-May-11 8:37 
AnswerRe: Beginner c# question Pin
jschell16-May-11 8:39
jschell16-May-11 8:39 
Questionhow to disable and enable network access with simple c# code Pin
MohammedMahmoud14-May-11 10:41
MohammedMahmoud14-May-11 10:41 
AnswerRe: how to disable and enable network access with simple c# code Pin
jschell14-May-11 11:31
jschell14-May-11 11:31 
GeneralRe: how to disable and enable network access with simple c# code Pin
MohammedMahmoud14-May-11 11:44
MohammedMahmoud14-May-11 11:44 
GeneralRe: how to disable and enable network access with simple c# code Pin
jschell16-May-11 8:29
jschell16-May-11 8:29 
AnswerRe: how to disable and enable network access with simple c# code Pin
Luc Pattyn14-May-11 12:11
sitebuilderLuc Pattyn14-May-11 12:11 
GeneralRe: how to disable and enable network access with simple c# code Pin
dybs17-May-11 16:11
dybs17-May-11 16:11 
AnswerRe: how to disable and enable network access with simple c# code Pin
Richard MacCutchan14-May-11 21:37
mveRichard MacCutchan14-May-11 21:37 
QuestionHow can my hosted asp.net website access my local machine database Pin
akosidandan14-May-11 2:15
akosidandan14-May-11 2:15 
AnswerRe: How can my hosted asp.net website access my local machine database Pin
Luc Pattyn14-May-11 2:45
sitebuilderLuc Pattyn14-May-11 2:45 
GeneralRe: How can my hosted asp.net website access my local machine database Pin
akosidandan14-May-11 3:28
akosidandan14-May-11 3:28 
AnswerRe: How can my hosted asp.net website access my local machine database Pin
Luc Pattyn14-May-11 3:39
sitebuilderLuc Pattyn14-May-11 3:39 
GeneralRe: How can my hosted asp.net website access my local machine database Pin
akosidandan15-May-11 2:34
akosidandan15-May-11 2:34 
AnswerRe: How can my hosted asp.net website access my local machine database Pin
Luc Pattyn15-May-11 3:08
sitebuilderLuc Pattyn15-May-11 3:08 
GeneralRe: How can my hosted asp.net website access my local machine database Pin
akosidandan15-May-11 4:32
akosidandan15-May-11 4:32 
AnswerRe: How can my hosted asp.net website access my local machine database Pin
Luc Pattyn15-May-11 4:38
sitebuilderLuc Pattyn15-May-11 4:38 
GeneralRe: How can my hosted asp.net website access my local machine database Pin
akosidandan15-May-11 4:57
akosidandan15-May-11 4:57 
AnswerRe: How can my hosted asp.net website access my local machine database Pin
Expert Coming14-May-11 5:16
Expert Coming14-May-11 5:16 
It is actually entirely possible to do what you are trying to do. Most large companies do not host the database and the web server on the same physical server. It is best practice to have them at the same location so they can be on the fastest possible network however.

First make sure you have a static IP Address where you wish to host your SQL server (you can also look at a dynamic IP solution more complex though)

Open the port for your chosen SQL software

Have you web service connect to the SQL server using the static IP Address from above.

I have done this before, several times, and results vary. You almost always want a very fast connection to your database, usually on the same LAN, sometimes it doesn't matter. You'll find out pretty quick.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo

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.