Click here to Skip to main content
14,661,630 members
Home » Discussions » C#
   

C#

 
GeneralRe: extending an Enum with a function that returns a generic value ? Pin
#realJSOP23-Apr-20 0:58
mva#realJSOP23-Apr-20 0:58 
GeneralRe: extending an Enum with a function that returns a generic value ? Pin
BillWoodruff23-Apr-20 5:25
mveBillWoodruff23-Apr-20 5:25 
QuestionSas.dll Pin
Member 1480415820-Apr-20 4:26
MemberMember 1480415820-Apr-20 4:26 
AnswerRe: Sas.dll Pin
Richard Andrew x6420-Apr-20 4:49
professionalRichard Andrew x6420-Apr-20 4:49 
GeneralRe: Sas.dll Pin
OriginalGriff20-Apr-20 4:51
mveOriginalGriff20-Apr-20 4:51 
AnswerRe: Sas.dll Pin
OriginalGriff20-Apr-20 4:50
mveOriginalGriff20-Apr-20 4:50 
QuestionAccess WebApi remotely - C'mon guys I don't believe no one has a clue ! any hint will do Pin
pkfox20-Apr-20 3:21
professionalpkfox20-Apr-20 3:21 
AnswerRe: Access WebApi remotely - C'mon guys I don't believe no one has a clue ! any hint will do Pin
Peter Shaw22-Apr-20 10:22
professionalPeter Shaw22-Apr-20 10:22 
You shouldn't need to configure anything on your WebAPI to make it work externally vs Internally.

If the endpoint your trying to hit works from the local lan, then it should work from any source that hit's the correct API, if your getting a 404 AND your sure the traffic is getting from the outside to the inside and actually hitting your web API then it's because the routing in the dotnet app is not working.

If the traffic is getting to the internal IP, but NOT being redirected to the WebAPI, then the problem is with your forwarding server, most likely the server is trying to handle the request instead of proxying it out to the required destination.

The FIRST thing to check is the log files for your proxy forwarder, if your using Nginx then these should normally be in something like /var/log/nginx on a linux server (Can't help if it's winyhoos sorry), you should try "tail -f <logfilename>" in an ssh window while you throw a request at the IP so you can see it in real time.

If the access log shows activity, then you don't have your proxy forward configured correctly, but you don't have any config errors either.

If the error log shows activity, then you have a configuration error and the error log should tell you what to do.

My gut feeling from your description is that your going to see activity on your access log, not on your error log....

But I'll leave that until your reply....

Shawty
GeneralRe: Access WebApi remotely - C'mon guys I don't believe no one has a clue ! any hint will do Pin
pkfox22-Apr-20 12:05
professionalpkfox22-Apr-20 12:05 
GeneralRe: Access WebApi remotely - C'mon guys I don't believe no one has a clue ! any hint will do Pin
Peter Shaw22-Apr-20 12:12
professionalPeter Shaw22-Apr-20 12:12 
GeneralRe: Access WebApi remotely - C'mon guys I don't believe no one has a clue ! any hint will do Pin
pkfox22-Apr-20 12:16
professionalpkfox22-Apr-20 12:16 
GeneralRe: Access WebApi remotely - C'mon guys I don't believe no one has a clue ! any hint will do Pin
Peter Shaw22-Apr-20 12:25
professionalPeter Shaw22-Apr-20 12:25 
GeneralRe: Access WebApi remotely - C'mon guys I don't believe no one has a clue ! any hint will do Pin
pkfox22-Apr-20 12:29
professionalpkfox22-Apr-20 12:29 
GeneralRe: Access WebApi remotely - C'mon guys I don't believe no one has a clue ! any hint will do Pin
Peter Shaw22-Apr-20 12:45
professionalPeter Shaw22-Apr-20 12:45 
GeneralRe: Access WebApi remotely - C'mon guys I don't believe no one has a clue ! any hint will do Pin
pkfox23-Apr-20 8:04
professionalpkfox23-Apr-20 8:04 
GeneralRe: Access WebApi remotely - C'mon guys I don't believe no one has a clue ! any hint will do Pin
pkfox25-Apr-20 21:01
professionalpkfox25-Apr-20 21:01 
GeneralRe: Access WebApi remotely - C'mon guys I don't believe no one has a clue ! any hint will do Pin
Peter Shaw27-Apr-20 4:47
professionalPeter Shaw27-Apr-20 4:47 
GeneralRe: Access WebApi remotely - C'mon guys I don't believe no one has a clue ! any hint will do Pin
pkfox27-Apr-20 4:54
professionalpkfox27-Apr-20 4:54 
GeneralRe: Access WebApi remotely - C'mon guys I don't believe no one has a clue ! any hint will do Pin
Peter Shaw27-Apr-20 14:05
professionalPeter Shaw27-Apr-20 14:05 
GeneralRe: Access WebApi remotely - C'mon guys I don't believe no one has a clue ! any hint will do Pin
pkfox28-Apr-20 1:23
professionalpkfox28-Apr-20 1:23 
QuestionHow to read .dbc file in C#? Pin
Member 1480752420-Apr-20 1:06
MemberMember 1480752420-Apr-20 1:06 
AnswerRe: How to read .dbc file in C#? Pin
Pete O'Hanlon20-Apr-20 1:23
subeditorPete O'Hanlon20-Apr-20 1:23 
GeneralRe: How to read .dbc file in C#? Pin
#realJSOP20-Apr-20 2:11
mva#realJSOP20-Apr-20 2:11 
GeneralRe: How to read .dbc file in C#? Pin
Peter Shaw22-Apr-20 12:14
professionalPeter Shaw22-Apr-20 12:14 
AnswerRe: How to read .dbc file in C#? Pin
Gerry Schmitz20-Apr-20 11:26
mveGerry Schmitz20-Apr-20 11:26 

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.