Click here to Skip to main content
15,887,267 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionWhat is the difference between DBContext class and ObjectContext ? Pin
Rockstar_30-May-13 23:29
professionalRockstar_30-May-13 23:29 
AnswerRe: What is the difference between DBContext class and ObjectContext ? Pin
Richard MacCutchan31-May-13 10:42
mveRichard MacCutchan31-May-13 10:42 
QuestionDispaly picture news widh rss reader Pin
mehdin6930-May-13 22:43
mehdin6930-May-13 22:43 
AnswerRe: Dispaly picture news widh rss reader Pin
mehdin6931-May-13 10:09
mehdin6931-May-13 10:09 
QuestionReturning true/false in a boolean function Pin
WickedFooker30-May-13 13:13
WickedFooker30-May-13 13:13 
AnswerRe: Returning true/false in a boolean function Pin
Joshua Omundson30-May-13 13:29
Joshua Omundson30-May-13 13:29 
AnswerRe: Returning true/false in a boolean function Pin
Muhammed Yaseen5-Jun-13 2:46
Muhammed Yaseen5-Jun-13 2:46 
QuestionHTTP requests and Cookies (HTTP Client) - Help pls!! Pin
expertvision30-May-13 2:43
expertvision30-May-13 2:43 
I have just started to learn C# and Asp.Net and I have a specific project in mind but I need to be able to manipulate cookies client side and I can't find good documentation for this so I decided to ask for help to get a starting point.
I want to make a desktop application that is a little to complex for my actual knowledge but I need a starting point: I need to be able to load a list of usernames and passwords and proxies and proxyuser and proxy pass. This little part of the application will use the accounts and proxies to login to a webpage using httpclient. When I send a GET request to the login page I get back a response that contain some hidden parameters that I must assign to some variables and a cookie. I don't know how to save that cookie in a location that I choose (the application folder under the "cookies" folder) with the name that I choose (the username used for login should be the name of that cookie). After I sort thru the response I have to send a POST request to the server with all the hidden parameters and the user and pass parameters and the cookie. The server will send back a response with another cookie that I want to save in the same location as the first one with the same name (overwritten ). This cookie will be used later in the program to do other actions on that server under that login. All this requests must use a certain proxy with its credentials, proxy that will change every time I use a new login.
I managed to find out how to use the HTTP Client from Asp.Net Web API to send the get req or to post but I have no idea how to get such a control over cookies that the site want to store on my computer and how to use different private proxies for each login... I did all the above using PHP and CURL and is very easy to control the cookies using cURL but I need to do it in C# and make a desktop app so ... Asp.Net Web API and HTTP Client is the key I think...
Please give me a hand to start my project and don't dismiss my question just because I'm to noob with .net or c# Smile | :)
Thank You!
Florin Curelaru

QuestionResizing a webpage according to the screen size/ Resolution Pin
revathilavi29-May-13 19:37
revathilavi29-May-13 19:37 
AnswerRe: Resizing a webpage according to the screen size/ Resolution Pin
Jasmine250130-May-13 9:57
Jasmine250130-May-13 9:57 
GeneralRe: Resizing a webpage according to the screen size/ Resolution Pin
revathilavi30-May-13 18:16
revathilavi30-May-13 18:16 
AnswerRe: Resizing a webpage according to the screen size/ Resolution Pin
Bernhard Hiller30-May-13 21:40
Bernhard Hiller30-May-13 21:40 
GeneralRe: Resizing a webpage according to the screen size/ Resolution Pin
revathilavi30-May-13 23:15
revathilavi30-May-13 23:15 
AnswerRe: Resizing a webpage according to the screen size/ Resolution Pin
dusty_dex30-May-13 22:59
dusty_dex30-May-13 22:59 
Questionoracle ref cursor Pin
jeeva9929-May-13 9:14
jeeva9929-May-13 9:14 
QuestionColor.Translator.FromHtml inside off @Html.DisplayFor Issue -Razor Pin
Alem.B28-May-13 3:06
Alem.B28-May-13 3:06 
AnswerRe: Color.Translator.FromHtml inside off @Html.DisplayFor Issue -Razor Pin
Ali Al Omairi(Abu AlHassan)28-May-13 19:41
professionalAli Al Omairi(Abu AlHassan)28-May-13 19:41 
GeneralRe: Color.Translator.FromHtml inside off @Html.DisplayFor Issue -Razor Pin
Alem.B29-May-13 21:48
Alem.B29-May-13 21:48 
JokeRe: Color.Translator.FromHtml inside off @Html.DisplayFor Issue -Razor Pin
Ali Al Omairi(Abu AlHassan)1-Jun-13 21:19
professionalAli Al Omairi(Abu AlHassan)1-Jun-13 21:19 
AnswerRe: Color.Translator.FromHtml inside off @Html.DisplayFor Issue -Razor Pin
poongunrans28-May-13 20:04
poongunrans28-May-13 20:04 
GeneralRe: Color.Translator.FromHtml inside off @Html.DisplayFor Issue -Razor Pin
Alem.B29-May-13 21:51
Alem.B29-May-13 21:51 
AnswerRe: Color.Translator.FromHtml inside off @Html.DisplayFor Issue -Razor Pin
Richard Deeming29-May-13 2:49
mveRichard Deeming29-May-13 2:49 
GeneralRe: Color.Translator.FromHtml inside off @Html.DisplayFor Issue -Razor Pin
Alem.B29-May-13 21:50
Alem.B29-May-13 21:50 
GeneralRe: Color.Translator.FromHtml inside off @Html.DisplayFor Issue -Razor Pin
Alem.B29-May-13 21:50
Alem.B29-May-13 21:50 
QuestionHow to use i frame in asp.net with dynamic height Pin
Chirag Baroliya R28-May-13 1:44
Chirag Baroliya R28-May-13 1:44 

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.