Click here to Skip to main content
15,897,291 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questiondefault settings SQL Server does not allow remote connections Pin
Amit Agarrwal8-Jul-08 6:56
Amit Agarrwal8-Jul-08 6:56 
AnswerRe: default settings SQL Server does not allow remote connections Pin
N a v a n e e t h8-Jul-08 17:08
N a v a n e e t h8-Jul-08 17:08 
GeneralRe: default settings SQL Server does not allow remote connections Pin
Amit Agarrwal8-Jul-08 18:25
Amit Agarrwal8-Jul-08 18:25 
Questionusing sqldatasource Pin
strawberrysh8-Jul-08 6:48
strawberrysh8-Jul-08 6:48 
AnswerRe: using sqldatasource Pin
Kschuler8-Jul-08 11:36
Kschuler8-Jul-08 11:36 
AnswerRe: using sqldatasource Pin
N a v a n e e t h8-Jul-08 17:09
N a v a n e e t h8-Jul-08 17:09 
QuestionHow can i create a SiteMap for my website Pin
Member 45999728-Jul-08 5:38
Member 45999728-Jul-08 5:38 
QuestionASP.NET interact with windows service Pin
adam_smith_20038-Jul-08 5:08
adam_smith_20038-Jul-08 5:08 
Hello all,

I posted a question recently on using a SDK from an ASP.NET application and got some answers that made me rethink how i should approach an application i need to build.

Basically I have an ASP.NET application that needs to interact with a piece of hardware when either a user wants to interact (they tell the hardware to do something e.g. turn on turn off) or periodically (we poll for information from the hardware). Unfortunately the SDK only allows one call at a time so I need to provide my own locking around the SDK to ensure firstly that two asp clients attempt to interact with the hardware at the same time and secondly that a user doesn’t try to interact whilst a periodic action is taking place.



After some research and some questions on various forums I have decided to create a windows service which will create static instance of the SDK and the call these methods from the ASP.NET application through IPC remoting channels. From what I have read I will need to create two DLL’s one to interact with the SDK and contain the business logic and a DLL which will be used for the remoting objects.



Am just wondering if this seems the most logical way to tackle this problem or if anyone can think of a different/more efficient way or can see any holes in my solution. Am completely lost by this now as i can't find any examples of doing this it all seems to be about using web services but because i want to keep the state of the SDK object i didnt think i could use these??!!



Thanks,



Adam
Questionresponse.redirect Pin
Lonnie R Thomas8-Jul-08 4:47
Lonnie R Thomas8-Jul-08 4:47 
AnswerRe: response.redirect Pin
Christian Graus8-Jul-08 4:53
protectorChristian Graus8-Jul-08 4:53 
AnswerRe: response.redirect Pin
Lonnie R Thomas8-Jul-08 4:56
Lonnie R Thomas8-Jul-08 4:56 
AnswerRe: response.redirect Pin
windhopper8-Jul-08 4:55
windhopper8-Jul-08 4:55 
GeneralRe: response.redirect Pin
Lonnie R Thomas8-Jul-08 5:19
Lonnie R Thomas8-Jul-08 5:19 
AnswerRe: response.redirect Pin
Lonnie R Thomas8-Jul-08 6:20
Lonnie R Thomas8-Jul-08 6:20 
AnswerRe: response.redirect Pin
Adam Jasper8-Jul-08 6:28
Adam Jasper8-Jul-08 6:28 
AnswerRe: response.redirect Pin
Lonnie R Thomas8-Jul-08 6:31
Lonnie R Thomas8-Jul-08 6:31 
GeneralRe: response.redirect Pin
Guffa8-Jul-08 8:32
Guffa8-Jul-08 8:32 
AnswerRe: response.redirect Pin
Lonnie R Thomas8-Jul-08 9:51
Lonnie R Thomas8-Jul-08 9:51 
AnswerRe: response.redirect Pin
leoinfo8-Jul-08 9:04
leoinfo8-Jul-08 9:04 
QuestionUnable to connect to visual Studio's Local webhost server Pin
kibromg8-Jul-08 4:25
kibromg8-Jul-08 4:25 
Questionhow to disable imagebutton ? Pin
kathyani8-Jul-08 3:38
kathyani8-Jul-08 3:38 
AnswerRe: how to disable imagebutton ? Pin
Herman<T>.Instance8-Jul-08 4:07
Herman<T>.Instance8-Jul-08 4:07 
GeneralRe: how to disable imagebutton ? Pin
kathyani8-Jul-08 4:10
kathyani8-Jul-08 4:10 
GeneralRe: how to disable imagebutton ? Pin
Christian Graus8-Jul-08 4:27
protectorChristian Graus8-Jul-08 4:27 
GeneralRe: how to disable imagebutton ? Pin
kathyani8-Jul-08 4:29
kathyani8-Jul-08 4:29 

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.