Click here to Skip to main content
15,888,521 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionSecuring a Web Project Using ASP.Net Pin
MadDashCoder30-Apr-20 20:01
MadDashCoder30-Apr-20 20:01 
AnswerRe: Securing a Web Project Using ASP.Net Pin
Richard MacCutchan30-Apr-20 21:37
mveRichard MacCutchan30-Apr-20 21:37 
GeneralRe: Securing a Web Project Using ASP.Net Pin
MadDashCoder1-May-20 2:39
MadDashCoder1-May-20 2:39 
GeneralRe: Securing a Web Project Using ASP.Net Pin
Richard MacCutchan1-May-20 4:16
mveRichard MacCutchan1-May-20 4:16 
QuestionGenerate an MVC Project Folder and Files Using Web API 2.2 Pin
Liagapi30-Apr-20 19:42
Liagapi30-Apr-20 19:42 
AnswerRe: Generate an MVC Project Folder and Files Using Web API 2.2 Pin
Richard MacCutchan30-Apr-20 21:36
mveRichard MacCutchan30-Apr-20 21:36 
GeneralRe: Generate an MVC Project Folder and Files Using Web API 2.2 Pin
MadDashCoder1-May-20 2:29
MadDashCoder1-May-20 2:29 
GeneralRe: Generate an MVC Project Folder and Files Using Web API 2.2 Pin
Richard MacCutchan1-May-20 3:23
mveRichard MacCutchan1-May-20 3:23 
GeneralRe: Generate an MVC Project Folder and Files Using Web API 2.2 Pin
Mycroft Holmes1-May-20 12:05
professionalMycroft Holmes1-May-20 12:05 
QuestionC++,Jquery, SQL MVC, produce Excel pie graph? Pin
Member 1464122429-Apr-20 20:47
Member 1464122429-Apr-20 20:47 
GeneralRe: C++,Jquery, SQL MVC, produce Excel pie graph? Pin
Richard MacCutchan29-Apr-20 23:29
mveRichard MacCutchan29-Apr-20 23:29 
GeneralRe: C++,Jquery, SQL MVC, produce Excel pie graph? Pin
Member 1464122429-Apr-20 23:44
Member 1464122429-Apr-20 23:44 
AnswerRe: C++,Jquery, SQL MVC, produce Excel pie graph? Pin
Richard Deeming30-Apr-20 0:26
mveRichard Deeming30-Apr-20 0:26 
GeneralRe: C++,Jquery, SQL MVC, produce Excel pie graph? Pin
Member 1464122430-Apr-20 0:45
Member 1464122430-Apr-20 0:45 
AnswerRe: C++,Jquery, SQL MVC, produce Excel pie graph? Pin
pkfox9-Jun-20 5:33
professionalpkfox9-Jun-20 5:33 
QuestionMVC4 using JWT tokens Pin
Simon_Whale29-Apr-20 0:46
Simon_Whale29-Apr-20 0:46 
AnswerRe: MVC4 using JWT tokens Pin
jkirkerx29-Apr-20 12:46
professionaljkirkerx29-Apr-20 12:46 
GeneralRe: MVC4 using JWT tokens Pin
Simon_Whale29-Apr-20 20:49
Simon_Whale29-Apr-20 20:49 
GeneralRe: MVC4 using JWT tokens Pin
jkirkerx30-Apr-20 7:21
professionaljkirkerx30-Apr-20 7:21 
GeneralRe: MVC4 using JWT tokens Pin
MadMyche30-Apr-20 10:57
professionalMadMyche30-Apr-20 10:57 
QuestionI can not connect to the web service Pin
gr_nik28-Apr-20 1:36
gr_nik28-Apr-20 1:36 
I need to get data from a web service described as:
PHP
curl --header 'Authorization: Bearer fxTWi96Uxe97gsstB3kh99VNKRuuaW3s_1615442626' -X GET 'https://api.muztorg.ru/xvendor'


When calling a function:
C#
HttpClient client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "Bearer SR-OM5Bvb8Fh61S4jaRUktaOs8D5rv5C_1618658296");
client.DefaultRequestHeaders.Add("ContentType", @"application/json-rpc;charset=utf-8");
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", @"SR-OM5Bvb8Fh61S4jaRUktaOs8D5rv5C_1618658296");

HttpResponseMessage response = await client.GetAsync(@"https://api.muztorg.ru/xvendor");
response.EnsureSuccessStatusCode();
string responseBody = await response.Content.ReadAsStringAsync();

I get a 502 error.
When I make a call from Fiddler, I get the same error.
But a call from Insomnia is successful.
Questionproblem when publishing asp.net core project on a server Pin
ElenaRez18-Apr-20 22:15
ElenaRez18-Apr-20 22:15 
AnswerRe: problem when publishing asp.net core project on a server Pin
Mycroft Holmes19-Apr-20 12:25
professionalMycroft Holmes19-Apr-20 12:25 
AnswerRe: problem when publishing asp.net core project on a server Pin
jkirkerx20-Apr-20 8:07
professionaljkirkerx20-Apr-20 8:07 
QuestionMVC Core 3.1 I need to display multiple images (with transparency) on top of each other as 1 image Pin
clemenslinders13-Apr-20 21:19
clemenslinders13-Apr-20 21:19 

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.