Click here to Skip to main content
15,922,630 members
Home / Discussions / C#
   

C#

 
JokeRe: use apider in asp.net Pin
Peter_in_278018-Aug-11 21:40
professionalPeter_in_278018-Aug-11 21:40 
GeneralRe: use apider in asp.net Pin
Mycroft Holmes18-Aug-11 22:24
professionalMycroft Holmes18-Aug-11 22:24 
JokeRe: use apider in asp.net Pin
Manfred Rudolf Bihy18-Aug-11 23:15
professionalManfred Rudolf Bihy18-Aug-11 23:15 
AnswerRe: use apider in asp.net Pin
V.18-Aug-11 21:07
professionalV.18-Aug-11 21:07 
AnswerRe: use apider in asp.net Pin
Manfred Rudolf Bihy18-Aug-11 23:18
professionalManfred Rudolf Bihy18-Aug-11 23:18 
AnswerRe: use apider in asp.net Pin
Not Active19-Aug-11 2:16
mentorNot Active19-Aug-11 2:16 
Questionmulti inh Pin
apadana_198918-Aug-11 18:44
apadana_198918-Aug-11 18:44 
AnswerRe: multi inh Pin
unknowndentified1011118-Aug-11 18:49
unknowndentified1011118-Aug-11 18:49 
AnswerRe: multi inh Pin
Eddy Vluggen18-Aug-11 20:56
professionalEddy Vluggen18-Aug-11 20:56 
GeneralRe: multi inh Pin
BobJanova18-Aug-11 23:14
BobJanova18-Aug-11 23:14 
GeneralRe: multi inh Pin
Eddy Vluggen19-Aug-11 6:49
professionalEddy Vluggen19-Aug-11 6:49 
AnswerRe: multi inh Pin
Pete O'Hanlon18-Aug-11 23:49
mvePete O'Hanlon18-Aug-11 23:49 
QuestionMSMQ Pin
CodingYoshi18-Aug-11 18:07
CodingYoshi18-Aug-11 18:07 
AnswerRe: MSMQ Pin
Luc Pattyn18-Aug-11 18:20
sitebuilderLuc Pattyn18-Aug-11 18:20 
AnswerRe: MSMQ Pin
PIEBALDconsult18-Aug-11 18:28
mvePIEBALDconsult18-Aug-11 18:28 
GeneralRe: MSMQ Pin
Mycroft Holmes18-Aug-11 20:25
professionalMycroft Holmes18-Aug-11 20:25 
GeneralRe: MSMQ Pin
PIEBALDconsult19-Aug-11 2:59
mvePIEBALDconsult19-Aug-11 2:59 
GeneralRe: MSMQ Pin
Mycroft Holmes19-Aug-11 3:08
professionalMycroft Holmes19-Aug-11 3:08 
GeneralRe: MSMQ Pin
PIEBALDconsult19-Aug-11 15:18
mvePIEBALDconsult19-Aug-11 15:18 
AnswerRe: MSMQ Pin
RobCroll19-Aug-11 6:49
RobCroll19-Aug-11 6:49 
GeneralRe: MSMQ Pin
CodingYoshi19-Aug-11 11:52
CodingYoshi19-Aug-11 11:52 
GeneralRe: MSMQ Pin
RobCroll19-Aug-11 13:20
RobCroll19-Aug-11 13:20 
GeneralRe: MSMQ Pin
PIEBALDconsult19-Aug-11 15:33
mvePIEBALDconsult19-Aug-11 15:33 
GeneralRe: MSMQ Pin
RobCroll19-Aug-11 17:15
RobCroll19-Aug-11 17:15 
QuestionUse a static method / class? Pin
gmhanna18-Aug-11 8:29
gmhanna18-Aug-11 8:29 
Hi,

I am in the middle of writing an ASP.Net program that will hand off a software key when the Web Server is called. I am receiving information from the caller in a "Query String" and saving it in a common class. After I have saved all the Query Strings, I am calling a Web Service to generate the key, using properties in the common class. If I successfully generate a key, I save the properties in the common class and the key to a SQL database on the server.

My question is should I use a static class or should I instantiate a new instance of the class? I'm concerned about the properties getting overlaid by the next caller before the key is generate and the information about the buyer is written to the SQL database. At least hopefully thinking that I will be selling that much software Wink | ;)

Thank you,
Glenn

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.