Click here to Skip to main content
15,913,685 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionTimeTable with GridView Pin
Prakaz2525-Jan-14 2:59
professionalPrakaz2525-Jan-14 2:59 
QuestionWant to learn ASP.NET Pin
Snehasish_Nandy24-Jan-14 17:25
professionalSnehasish_Nandy24-Jan-14 17:25 
AnswerRe: Want to learn ASP.NET Pin
Richard MacCutchan24-Jan-14 22:05
mveRichard MacCutchan24-Jan-14 22:05 
AnswerRe: Want to learn ASP.NET Pin
trooper081429-Jan-14 3:00
trooper081429-Jan-14 3:00 
QuestionHow to create connection pool in asp.net? Pin
Brijesh Kumar Prajapati24-Jan-14 2:35
Brijesh Kumar Prajapati24-Jan-14 2:35 
AnswerRe: How to create connection pool in asp.net? Pin
Peter Leow24-Jan-14 3:19
professionalPeter Leow24-Jan-14 3:19 
QuestionHow to Show Multi Color Text Box In Asp .net Pin
rajaraman 00724-Jan-14 0:26
rajaraman 00724-Jan-14 0:26 
AnswerRe: How to Show Multi Color Text Box In Asp .net Pin
Ashok Natarajan27-Jan-14 23:03
professionalAshok Natarajan27-Jan-14 23:03 
QuestionError: 404 for webservice in mvc3 website Pin
rohan tangade23-Jan-14 20:10
rohan tangade23-Jan-14 20:10 
QuestionHow to send sms via asp.net(c#)? Pin
Sharath Surendran23-Jan-14 15:34
Sharath Surendran23-Jan-14 15:34 
QuestionRealtime event notification in ASP.NET NVC 4 and C# Pin
Member 1053535323-Jan-14 5:51
Member 1053535323-Jan-14 5:51 
AnswerRe: Realtime event notification in ASP.NET NVC 4 and C# Pin
Richard Deeming23-Jan-14 7:13
mveRichard Deeming23-Jan-14 7:13 
Questionbus reservation - creating dynamic layout for bus seat structur. Pin
Dnyaneshwar@Pune22-Jan-14 21:50
Dnyaneshwar@Pune22-Jan-14 21:50 
AnswerRe: bus reservation - creating dynamic layout for bus seat structur. Pin
thatraja22-Jan-14 23:00
professionalthatraja22-Jan-14 23:00 
AnswerRe: bus reservation - creating dynamic layout for bus seat structur. Pin
Shameel22-Jan-14 23:30
professionalShameel22-Jan-14 23:30 
AnswerRe: bus reservation - creating dynamic layout for bus seat structur. Pin
Bernhard Hiller23-Jan-14 22:14
Bernhard Hiller23-Jan-14 22:14 
AnswerRe: bus reservation - creating dynamic layout for bus seat structur. Pin
Ashok Natarajan28-Jan-14 0:39
professionalAshok Natarajan28-Jan-14 0:39 
QuestionRegarding web hosting Pin
Member 1025895222-Jan-14 21:10
Member 1025895222-Jan-14 21:10 
QuestionWCF in ASP.NET with authentication Pin
JD8622-Jan-14 15:32
JD8622-Jan-14 15:32 
I'm creating a WCF service to go in my ASP.NET application. I'm at the beginning stages so mostly what I have is design questions.

So basically there is data that I would like people to pull out but only if they are authenticated. (Everyone pulling data would be external). The way my application is designed is I have a certain ID that associates users with a specific company. So my end goal is to allow people with those companies to query data for their company only.

So my thought was to create a table in my database that would have three columns. CompanyID, UserKey, UserSecret. My thought was that they would somehow pass the userkey and usersecret when they first initiate the connection to WCF. On the backend it will retrieve the CompanyID based off the key and secret.

The reason for doing this is so when they call GetAllUsers() it will only get all users for their company and not other companies.

So my questions are:
* Is my design wrong or is there a better way to accomplish this?
* I chose not to use active directory authentication due to the added time it will take to authenticate a user against AD vs SQL

I was thinking along the lines of the way SoapHeaders work. They set the SoapHeader when they create teh connection. Then each method on the web service would compare the key & secret against the database to make sure it existed (if it did I would get the CompanyID back and use that for the methods such as GetAllUsers() )

Thanks in advanced!
AnswerRe: WCF in ASP.NET with authentication Pin
JD8622-Jan-14 15:59
JD8622-Jan-14 15:59 
QuestionLinux clients and ASP .NET on a Windows Server Pin
MikeAngel22-Jan-14 12:28
MikeAngel22-Jan-14 12:28 
AnswerRe: Linux clients and ASP .NET on a Windows Server Pin
Richard Deeming23-Jan-14 1:43
mveRichard Deeming23-Jan-14 1:43 
GeneralRe: Linux clients and ASP .NET on a Windows Server Pin
MikeAngel23-Jan-14 9:05
MikeAngel23-Jan-14 9:05 
Questionquestions of .net Pin
Member 1054081921-Jan-14 22:37
Member 1054081921-Jan-14 22:37 
AnswerRe: questions of .net Pin
Shameel21-Jan-14 22:52
professionalShameel21-Jan-14 22:52 

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.