Click here to Skip to main content
15,899,825 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionMultiple Field Validation - VB.NET Pin
Patrice in Irvine8-Jun-07 8:50
Patrice in Irvine8-Jun-07 8:50 
AnswerRe: Multiple Field Validation - VB.NET Pin
Not Active8-Jun-07 9:08
mentorNot Active8-Jun-07 9:08 
Questionlearning ASP.NET Pin
jds12078-Jun-07 8:03
jds12078-Jun-07 8:03 
AnswerRe: learning ASP.NET Pin
ToddHileHoffer8-Jun-07 8:21
ToddHileHoffer8-Jun-07 8:21 
GeneralRe: learning ASP.NET Pin
Kevin McFarlane8-Jun-07 11:09
Kevin McFarlane8-Jun-07 11:09 
Questionhttp BASIC authentication question Pin
Bkaufman438-Jun-07 7:13
Bkaufman438-Jun-07 7:13 
AnswerRe: http BASIC authentication question Pin
Felipe Dalorzo8-Jun-07 11:22
Felipe Dalorzo8-Jun-07 11:22 
GeneralRe: http BASIC authentication question Pin
Bkaufman438-Jun-07 11:34
Bkaufman438-Jun-07 11:34 
Thank you very much Felipe!

Ok - here come the "dumb" questions - sorry!

Where do I place this code?:

String auth = userID + ":" + password;
byte[] binaryData = Encoding.UTF8.GetBytes(auth);
auth = Convert.ToBase64String(binaryData); // Using base64 encoding

auth = "Basic " + auth; //This specifies it to use Basic Authentication

Does this go in the web.config file? If not where?

Same question for:

// Prepare web request

HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(myURL);

Where do I place this code?

And lastly are the standard (and additional) headers added in the document headers section of IIs in the virtual directory that contains the asp.net form page? If not where?

Thanks for your patience.


Bruce K.

QuestionClient-side validation of All fields on form Pin
Patrice in Irvine8-Jun-07 6:56
Patrice in Irvine8-Jun-07 6:56 
AnswerRe: Client-side validation of All fields on form Pin
Not Active8-Jun-07 8:01
mentorNot Active8-Jun-07 8:01 
GeneralRe: Client-side validation of All fields on form Pin
Patrice in Irvine8-Jun-07 9:00
Patrice in Irvine8-Jun-07 9:00 
GeneralRe: Client-side validation of All fields on form Pin
Not Active8-Jun-07 9:06
mentorNot Active8-Jun-07 9:06 
GeneralRe: Client-side validation of All fields on form Pin
Patrice in Irvine8-Jun-07 9:11
Patrice in Irvine8-Jun-07 9:11 
Questionhow the child controls of custom server cntrl wil be rendered? Pin
Balaji.K8-Jun-07 3:15
Balaji.K8-Jun-07 3:15 
AnswerRe: how the child controls of custom server cntrl wil be rendered? Pin
Not Active8-Jun-07 3:22
mentorNot Active8-Jun-07 3:22 
AnswerRe: how the child controls of custom server cntrl wil be rendered? Pin
Sathesh Sakthivel8-Jun-07 3:24
Sathesh Sakthivel8-Jun-07 3:24 
QuestionHelp with refactoring [modified] Pin
But_Im_a_Lady8-Jun-07 2:59
But_Im_a_Lady8-Jun-07 2:59 
AnswerRe: Help with refactoring Pin
But_Im_a_Lady8-Jun-07 3:14
But_Im_a_Lady8-Jun-07 3:14 
QuestionHow to create and use assemblies in .net? Pin
softengg1238-Jun-07 2:40
softengg1238-Jun-07 2:40 
AnswerRe: How to create and use assemblies in .net? Pin
Manas Bhardwaj8-Jun-07 3:04
professionalManas Bhardwaj8-Jun-07 3:04 
AnswerRe: How to create and use assemblies in .net? Pin
Nouman Bhatti8-Jun-07 3:18
Nouman Bhatti8-Jun-07 3:18 
AnswerRe: How to create and use assemblies in .net? Pin
Sandeep Akhare8-Jun-07 4:26
Sandeep Akhare8-Jun-07 4:26 
GeneralRe: How to create and use assemblies in .net? Pin
softengg1238-Jun-07 18:19
softengg1238-Jun-07 18:19 
QuestionHow to access session using the instance of another page? Pin
Ashokkuma8-Jun-07 2:10
Ashokkuma8-Jun-07 2:10 
AnswerRe: How to access session using the instance of another page? Pin
Chetan Ranpariya8-Jun-07 2:42
Chetan Ranpariya8-Jun-07 2:42 

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.