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

.NET (Core and Framework)

 
GeneralRe: Types of JIT Pin
Vega0222-Jun-08 1:15
Vega0222-Jun-08 1:15 
Questionhow to generate report in hindi language? Pin
Member 405460918-Jun-08 1:12
Member 405460918-Jun-08 1:12 
Question.NET Compact Framework 6.0 - Integration with VS 2005 - CE - Mobile - Embeddded Pin
scottdj17-Jun-08 11:11
scottdj17-Jun-08 11:11 
QuestionEmployee tracking Pin
BLOEDHOND17-Jun-08 7:01
BLOEDHOND17-Jun-08 7:01 
AnswerRe: Employee tracking Pin
Christian Graus17-Jun-08 17:54
protectorChristian Graus17-Jun-08 17:54 
GeneralRe: Employee tracking Pin
BLOEDHOND17-Jun-08 20:13
BLOEDHOND17-Jun-08 20:13 
GeneralRe: Employee tracking Pin
Brady Kelly18-Jun-08 3:29
Brady Kelly18-Jun-08 3:29 
QuestionCOM+ Transaction scope in .Net Pin
Daniel Jansson17-Jun-08 4:38
Daniel Jansson17-Jun-08 4:38 
I've just started to work on a windows service with distributed transactions using com+ and have stumbled upon a design question: When is a transaction started?

Is it when the class is created or when a method is invoked. Consider the example below:
[Transaction(TransactionOption.Required)]
    public class TransactionTest : ServicedComponent
    {
        public TransactionTest()
        {

        }

        public void BeginLoop(int count)
        {
            for (int i = 0; i < count; ++i)
                MakeTransactions();
        }

        [AutoComplete]
        private void MakeTransactions()
        {
            //Make some transactions
            if ((new Random()).Next(10) < 4)
                ContextUtil.SetAbort();
            else
                ContextUtil.SetComplete();
        }
    }


A simple transaction based class with a method that is being invoked multiple times internally. Are all calls to MakeTransactions() in the same transaction or is a new transaction started each time SetAbort/Complete is invoked?
AnswerRe: COM+ Transaction scope in .Net Pin
led mike17-Jun-08 6:59
led mike17-Jun-08 6:59 
AnswerRe: COM+ Transaction scope in .Net Pin
Mike Dimmick17-Jun-08 7:42
Mike Dimmick17-Jun-08 7:42 
QuestionGAC Pin
Siva1917-Jun-08 2:10
Siva1917-Jun-08 2:10 
AnswerRe: GAC Pin
Christian Graus17-Jun-08 2:54
protectorChristian Graus17-Jun-08 2:54 
QuestionWeb Reference and Client Proxy Pin
cobelens216-Jun-08 22:44
cobelens216-Jun-08 22:44 
AnswerRe: Web Reference and Client Proxy Pin
Karandeep Malik20-Aug-08 23:33
Karandeep Malik20-Aug-08 23:33 
QuestionPopular dotNet Desktop apps [modified] Pin
codeprojecter_16-Jun-08 6:00
codeprojecter_16-Jun-08 6:00 
AnswerRe: Popular dotNet Desktop apps Pin
led mike16-Jun-08 6:57
led mike16-Jun-08 6:57 
GeneralRe: Popular dotNet Desktop apps PinPopular
Pete O'Hanlon16-Jun-08 8:18
mvePete O'Hanlon16-Jun-08 8:18 
GeneralRe: Popular dotNet Desktop apps Pin
led mike16-Jun-08 9:04
led mike16-Jun-08 9:04 
QuestionGAC Pin
Siva1915-Jun-08 23:50
Siva1915-Jun-08 23:50 
AnswerRe: GAC Pin
led mike16-Jun-08 6:59
led mike16-Jun-08 6:59 
GeneralRe: GAC Pin
Siva1916-Jun-08 17:43
Siva1916-Jun-08 17:43 
GeneralRe: GAC Pin
Scott Dorman16-Jun-08 17:48
professionalScott Dorman16-Jun-08 17:48 
GeneralRe: GAC Pin
Siva1916-Jun-08 18:29
Siva1916-Jun-08 18:29 
GeneralRe: GAC Pin
Siva1916-Jun-08 18:30
Siva1916-Jun-08 18:30 
GeneralRe: GAC Pin
led mike17-Jun-08 6:00
led mike17-Jun-08 6:00 

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.