|
Hi all,
I have an app service that works fine for most folks. This one client is having an issue and I'm 95% sure they're sending something wrong. So I need to see exactly what payload they're sending. What's the best way to do this in Azure? I thought about Fiddler but doesn't that need to sit on the same machine as the webserver? Anyway... if you could give me some ideas on how I can see this payload I'd greatly appreciate it.
Denise
Hypermommy
|
|
|
|
|
Hypermommy wrote: I thought about Fiddler but doesn't that need to sit on the same machine as the webserver?
No, Fiddler sits on the client computer.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
That is exactly why you use logging. Elmah can be a good place to start if your application is .NET based. ELMAH—Home
You need to check what is being input, and maintain that as a token. If I had to do this, I would most likely maintain a trace of the exception thread, store the states, or the request object that they had sent including query strings, headers etc, or the account information, and provide the user with a token, Guid.NewGuid() , in the response along with a message stating something went wrong and ask them to reach me out with that token in order to have that fixed for their account.
Using Postman won't help at all, because you are still working on the client-side and not check what is going wrong, and exposing error information on the public internet—even for personal understanding—never results in a good way. Someone might just understand the workflow and use that for nefarious purposes.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Thanks, y'all! Now it seems I just have to learn how to get my setup right on here so I can see answers. But seriously, I do appreciate the help.
Hypermommy
|
|
|
|
|
First, if this isn't the right forum, my apologies, and please direct me to the correct one...
I have read, and searched for a week now, and I just don't seem to get it.
I have a Microsoft Partner Center Global Admin User; "SvcUser"
Using the Partner Center API with this user, I can list all our customers, and get their tennantIds.
Using a TennantId, I gan get the customers users and subscriptions, and all is well.
The App registered in Azure have all the permissions set up...
Now I need to get all domains of a specific tennant... The Partner Center API does not support this, so I turn to Microsoft Graph.
The concept, as I understand it, is to use the "common" endpoint to log in with my "SvcUser" and get a Autherntication code. Then connect to the specific tennant endpoint, supplying the code from the previous step, to get an Authorization token.
Once I have this "Authorization token", I should be home free...
A.) Can anyone provide me with a clear example on how to implement the Authentication and Authorization calls (C# preferably ) ?
B.) secondary; straighten me out, if all of the above is completely rubbish ?
Thanks!
|
|
|
|
|
We do not have a specific Microsoft Graph forum, neither a Partner Center one, so this one sounds good enough.
The thing is, as far as I remember, we needed to do a project similar to this one, and we realized that most of the auth was done using Azure AD. That step you are talking about is the steps for Azure AD.
For the Partner Center, check the following links for reference to see how you authenticate,
Partner Center authentication | Microsoft Docs. Once done with the authentication, you can use the same token and authenticate yourself against that token, see the headers for reference Partner Center REST headers | Microsoft Docs. The domains for the account can be checked, List domains - Documentation - Microsoft Graph and as I briefed you a bit earlier, the tokens are mostly captured using the Azure AD and so did Microsoft do that read the complete documentation here, Get auth tokens - Documentation - Microsoft Graph.
Most of the scenarios that revolve around the Partner Center are mentioned here, check if you can find your scenario here as well: Scenarios | Microsoft Docs
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
<pre>Hi,
I have been using Discount ASP.Net to host my site for the last 6 years+.
Really pleased with them, great support and works well and they have a UK data centre option.
I was looking at their Everleap service (built on MS Azure), which looks great as it isolates you from most of the brain ache of having a VPS or MS Azure.
But they don't have a UK data centre option for this service, big disappointment!
I am worried that if I use the west coast (I think) US based Everleap service my websites page load times will increase significantly.
So I have two questions....
1 Does anyone know of a similar service to Everleap that has a UK data centre option?
2 Are my concerns regarding increased page load times of a west coast US hosted site overblown?
I already use a CDN for all my static content.
Many thanks to everyone in advance,
Will</pre>
|
|
|
|
|
Will Stanley wrote: I am worried that if I use the west coast (I think) US based Everleap service my websites page load times will increase significantly. Yes, they will increase, but not significantly. There is a minor increase in the page loading, and after all that will only affect if you are building a real time application or have to respond back in less then 10ms. Most of Azure services guarantee less than that response.
I would personally state that the fact is a bit overoverblown, as the fact that you are also using CDN services, then your service will be cached around the CDN network itself. If you are not expecting a real time solution, then I suggest this service is enough and you can lift the performance or decrease the response time using the CDN providers (that you already have).
But I am not an EverLeap user and I am personally inclined towards Azure, so please wait until someone else also answers the question to compare the reviews.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Hi,
Many thanks for the reply.
I think I just have to do a 30 day trial.
Will
|
|
|
|
|
When a Azure-WebJob fails at startup/runtime i can get thos Information also saved in the Azure-file system at data/jobs/continuous/jobName.
How can i get this Information/File in C# to read the information (success/failed) ?
Best Regards
Nicole
|
|
|
|
|
|
1: never spend all day Sunday doing this.
2: Help!
3: Serves me right: got lost in the weeds...
Ok, so I have setup my azure web site. Pretty straightforward, got the SSL working and all is sweet, works like a charm. Now for the bit I am struggling with...
Let's say my main site is called www.robots.life (a legit domain, btw).
Now I want to do admin.robots.life. I have setup the CNAME record and azure is fine with admin.robots.life as an application setup as /Admin, site/admin (where the files reside).
I have also added a rewrite rule to send users to admin/robots.life.
But it is not working. Firstly, where do I physically locate the files? I have it as site/Admin and robots.life, the main site, as site/wwwroot. Is that correct?
It appears to be displaying a path that has an extra "Admin" and goes straight to a blank page. Nothing appears in the azure log or my log to show what the error might be and switching custom errors off does nothing. It does get to the login page if I enter the url manually but then hangs after entering user id, password and submitting.
I can only imagine I am doing something monumentally stupid. Like breathing.
Would really appreciate some direction here. If this isn't enough info, be happy to supply several reams of closely scrawled gibberish.
Thanks
|
|
|
|
|
|
That was the easy bit. Getting it to work appears somewhat more difficult.
Thanks for the response though.
Anyway, after a night away from it, I'll look again when I get home. I have a feeling it's me being as dumb as a box of rusty spanners that's the problem.
|
|
|
|
|
|
Is that supposed to mean something?
|
|
|
|
|
Done. Thank you.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
i have lots of doubt in deduplication in cloud storage anyone please guide and help me
|
|
|
|
|
If you want help, then you need to ask a question.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Best of luck. Presumably you have seen these two articles ?
|
|
|
|
|
Storage of what? Deduping what? What do you need help with?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Another post from you, and yet another unattributed quote - this time from Wikipedia[^].
Trying to present other people's work as your own is called plagiarism. It is not accepted on this site. Keep it up, and your account will be terminated.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
You can subscribe the important blogs or tutorial points to clear your doubts.
|
|
|
|
|
One of the biggest advantages of cloud computing technology in the cloud hosting turns out to be a potential security threat for the sites hosted in the cloud environment. Yes! You heard it right, the benefit of accessing the cloud platform from anywhere of the world with the aid of any internet accessing devices now turns to be a nightmare for the potential security attack in the cloud.
Not all the Interfacing platforms and APIs (Application Programming Interfaces) handled by the developers in the cloud environment are not safe. It leads the exposure of the privacy data and this could be because of the internal application used by any site hosted in the cloud platform.
|
|
|
|
|
I am a C# programmer, which try to extent my horizon.
So a while ago, I decided to try to make a database application in Google AppEngine. Instead of making a desktop application, that only runs in Windows.
I bought a book called something like "Get started with Google AppEngine" or whatever name it was. However, after a few chapters I realized that the book was written in 2009 and very version specific. So I relied on Googles articles and whatever I could find, about the subject.
I created my Google account and started. First thing in my mind was creating a MySQL database. This went fine no problems, I have been working with MySQL in many years, and I think that is a god and reliable database. I normally use MySQL Workbench as my administration tool, and it works fine.
I then try to connect to my Google MySQL to Workbench. Then all my frustrations start.
It is impossible to connect Workbench to a Google MySQL database. I then after a lot of search found that I need to have an IPv6 address. If I want to connect from my PC to the database, it can only happen via IPv6. Otherwise, I will have to provide an IPv4 address for MySQL Instance. In addition, that cost money per hour. I am willing to pay, but until now, I have not had any thing running. In addition, I feel that Google should show me something before starting billing me. My internet provider is not giving me an IPv6 address when I use MyIP.dk it says No IPv6 address found. I tried using my PC’s IPv6 address. Nothing works and I have provided that My PC is allowed to connect to database, My Pc’s IPv6 is allowed to connect, My IPv4 is allowed etc. etc. No connection what so ever.
I then thought that It might be easier to use MyPHPAdmin instead. I have also god experience with MyPHPAdmin. In addition, I expected that it was just to switch it on like other web hotel providers. Again, I was wrong, you have to install it yourself and write config-file etc. Some nice person has made a description of how to do it. I follow the recipe and uploaded MyPHPAdmin. I get a login screen(success), everything is fine. Then it all started over again, wandering in circles in Google tutorials etc. The only message I get when login MyPHPAdmin: “MySQL has gone away” and then an error code.
After searching at least 50 web-pages I found one that wrote the you are not able to connect from an application to database if it’s not on the same location. That make sense. But how on earth am I supposed to know that. Why does Google not make sure, that Site and Database is placed on the same location??
I then deleted the database and created a new in European Area1, but I’m not able to see which site my application is located in. Now it looks different. I am not able to apply applications that has access. I’m not able to add users that can log on to the database. And it has an IPv4 address, even though I haven’t asked for a IPv4 address. I then for a moment thought that Workbench could come into play again. But no!
I have updated MyPHPAdmin App so it is pointing to the correct database etc. etc. But I still get the message “MySQL has gone away”.
Now that I have used (I guess) three full days trying to connect some administration to MySQL, I wander what Google thinks about this. I am told that Googles AppEngine is so user friendly etc. And that it is the best cloud engine in the world. I think that it is Google them self that write these articles. Right now, I think going back to Microsoft, because it at least works, and is user friendly.
I think that Google AppEngine is one of the worst internet experience I have had. My impression is that Google AppEngine is in beta and have not been finished yet.
|
|
|
|
|