Click here to Skip to main content
15,923,909 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: doubt in Classic ASP Pin
Ankur\m/27-Jul-10 18:38
professionalAnkur\m/27-Jul-10 18:38 
QuestionGenerate Sequential Number without database Pin
Maikeru200027-Jul-10 9:42
Maikeru200027-Jul-10 9:42 
AnswerRe: Generate Sequential Number without database Pin
Stoffy197227-Jul-10 9:50
Stoffy197227-Jul-10 9:50 
GeneralRe: Generate Sequential Number without database Pin
Yusuf27-Jul-10 10:07
Yusuf27-Jul-10 10:07 
GeneralRe: Generate Sequential Number without database Pin
Stoffy197227-Jul-10 10:21
Stoffy197227-Jul-10 10:21 
AnswerRe: Generate Sequential Number without database Pin
David Mujica27-Jul-10 9:57
David Mujica27-Jul-10 9:57 
AnswerRe: Generate Sequential Number without database Pin
Yusuf27-Jul-10 10:22
Yusuf27-Jul-10 10:22 
GeneralRe: Generate Sequential Number without database Pin
Maikeru20002-Aug-10 5:16
Maikeru20002-Aug-10 5:16 
While there were several good answers, I have decided to go with this one with the slight change that I will write the number to disk each time it's generated. I know that will limit performance to an extent due to IO but I think it is important for to maintain the Durability of the process (i.e. if it crashes at some point, someone doesn't have to scour through every article to find out what the last valid number was).

A follow up question might be how to gently handle situations where people are waiting on the lock but I will try to find more information on this myself first before asking.
AnswerRe: Generate Sequential Number without database Pin
T M Gray27-Jul-10 10:23
T M Gray27-Jul-10 10:23 
GeneralRe: Generate Sequential Number without database Pin
Maikeru200027-Jul-10 10:40
Maikeru200027-Jul-10 10:40 
GeneralRe: Generate Sequential Number without database Pin
T M Gray27-Jul-10 10:44
T M Gray27-Jul-10 10:44 
AnswerRe: Generate Sequential Number without database Pin
Adam R Harris28-Jul-10 8:52
Adam R Harris28-Jul-10 8:52 
Questiontips&tricks template Pin
farokhian27-Jul-10 5:39
farokhian27-Jul-10 5:39 
AnswerRe: tips&tricks template Pin
David Mujica27-Jul-10 6:02
David Mujica27-Jul-10 6:02 
Questionerror in dataRelation in asp.net [modified] Pin
Dhyanga27-Jul-10 3:08
Dhyanga27-Jul-10 3:08 
AnswerRe: error in dataRelation in asp.net Pin
Dhyanga27-Jul-10 7:19
Dhyanga27-Jul-10 7:19 
AnswerREPOST Pin
Not Active27-Jul-10 8:58
mentorNot Active27-Jul-10 8:58 
GeneralProblem not solved yet: error in using dataRelation in asp.net Pin
Dhyanga28-Jul-10 4:23
Dhyanga28-Jul-10 4:23 
QuestionJquery in asp.net Pin
Satish_S27-Jul-10 2:16
Satish_S27-Jul-10 2:16 
AnswerRe: Jquery in asp.net Pin
Yusuf27-Jul-10 4:12
Yusuf27-Jul-10 4:12 
GeneralRe: Jquery in asp.net Pin
Satish_S27-Jul-10 19:33
Satish_S27-Jul-10 19:33 
GeneralRe: Jquery in asp.net Pin
Not Active28-Jul-10 3:35
mentorNot Active28-Jul-10 3:35 
Questionsql backup through asp.net in script format Pin
gautamamit827-Jul-10 1:22
gautamamit827-Jul-10 1:22 
QuestionHow to Load another web site page content into my Web Page Application Pin
Sandilian26-Jul-10 20:37
Sandilian26-Jul-10 20:37 
AnswerRe: How to Load another web site page content into my Web Page Application Pin
Arun Jacob26-Jul-10 21:12
Arun Jacob26-Jul-10 21:12 

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.