Click here to Skip to main content
15,909,591 members
Home / Discussions / C#
   

C#

 
AnswerRe: CreateChildView vs GetChildRows Pin
leppie30-Nov-06 4:11
leppie30-Nov-06 4:11 
GeneralRe: CreateChildView vs GetChildRows Pin
KeesVer30-Nov-06 4:28
KeesVer30-Nov-06 4:28 
QuestionHow to add KeyUp Event to Label Control in C# Pin
VijayaRam30-Nov-06 2:47
VijayaRam30-Nov-06 2:47 
AnswerRe: How to add KeyUp Event to Label Control in C# Pin
Martin#30-Nov-06 3:04
Martin#30-Nov-06 3:04 
AnswerRe: How to add KeyUp Event to Label Control in C# Pin
ednrgc30-Nov-06 6:18
ednrgc30-Nov-06 6:18 
Questiondata table row state unchanged after i changed its values Pin
gus_br30-Nov-06 1:32
gus_br30-Nov-06 1:32 
AnswerRe: data table row state unchanged after i changed its values Pin
gus_br30-Nov-06 1:50
gus_br30-Nov-06 1:50 
QuestionMembership/role providers vs. transaction! Pin
Mehdi Mousavi30-Nov-06 1:13
Mehdi Mousavi30-Nov-06 1:13 
Hi folks,
I got a general question that I cannot find the answer for. Consider a 3-tier application architecture with a Web Service handling the business layer (BL) logic. The BL provides the client the facility to create/update/delete or query any given Employee account within the system. Each employee has got a username/password pair that's supposed to be stored in the *aspnetdb* database using the Membership API. The question is that how a client is supposed to create an employee account with one web method, and create a new user name with another web method, *transactionally* under a *stateless* web service???

[WebMethod] void CreateEmployee(Employee employee) { }<br />
<br />
[WebMethod] void CreateUser(string username, string password) {}<br />


How am I supposed to keep the integrity of the system? Maybe, you suggest the following WebMethod instead of those two:

void CreateEmployee(Employee employee, string username, string password) {}

However, this introduces a new bunch of problems under the UpdateEmployee/DeleteEmployee and the like methods.

What should be done to handle the issue rationally?

Thank you for your time,
Mehdi
AnswerRe: Membership/role providers vs. transaction! Pin
ednrgc30-Nov-06 6:20
ednrgc30-Nov-06 6:20 
AnswerRe: Membership/role providers vs. transaction! Pin
Mehdi Mousavi1-Dec-06 8:01
Mehdi Mousavi1-Dec-06 8:01 
AnswerRe: Membership/role providers vs. transaction! Pin
ednrgc30-Nov-06 6:22
ednrgc30-Nov-06 6:22 
QuestionDataDisplay Issue Pin
Deepasubramanian29-Nov-06 23:51
Deepasubramanian29-Nov-06 23:51 
QuestionXML attributes in columns [plz guide] Pin
h@s@n29-Nov-06 23:34
h@s@n29-Nov-06 23:34 
AnswerRe: XML attributes in columns [plz guide] Pin
Christian Graus30-Nov-06 0:14
protectorChristian Graus30-Nov-06 0:14 
QuestionHow to retrieve Index and Checked properties of ToolStripMenuItem/ToolStripDropdownItem Pin
Siamginsuan Ngaihte29-Nov-06 23:12
Siamginsuan Ngaihte29-Nov-06 23:12 
AnswerRe: How to retrieve Index and Checked properties of ToolStripMenuItem/ToolStripDropdownItem Pin
graycodelive1-Jun-10 22:23
graycodelive1-Jun-10 22:23 
AnswerRe: How to retrieve Index and Checked properties of ToolStripMenuItem/ToolStripDropdownItem Pin
miminono21-May-13 20:48
miminono21-May-13 20:48 
QuestionCommunication using Soket Pin
MaheshRastogi00529-Nov-06 23:12
MaheshRastogi00529-Nov-06 23:12 
AnswerRe: Communication using Soket Pin
Colin Angus Mackay30-Nov-06 0:22
Colin Angus Mackay30-Nov-06 0:22 
QuestionUsing or Implementing Volume Meter created by Jacob Klint Pin
Siamginsuan Ngaihte29-Nov-06 23:05
Siamginsuan Ngaihte29-Nov-06 23:05 
AnswerRe: Using or Implementing Volume Meter created by Jacob Klint Pin
Stefan Troschuetz29-Nov-06 23:42
Stefan Troschuetz29-Nov-06 23:42 
Questionhow to export datagrid into excel in winform in C# ? Pin
karimbassiouny29-Nov-06 22:11
karimbassiouny29-Nov-06 22:11 
AnswerRe: how to export datagrid into excel in winform in C# ? Pin
Nader Elshehabi29-Nov-06 22:34
Nader Elshehabi29-Nov-06 22:34 
AnswerRe: how to export datagrid into excel in winform in C# ? Pin
eggsovereasy30-Nov-06 4:01
eggsovereasy30-Nov-06 4:01 
QuestionMS Office System Color? Pin
god4k29-Nov-06 22:11
god4k29-Nov-06 22:11 

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.