I am new to dotnet core 2 API, need to find a way to enable fiddler for this.
I do not find sufficient references online. Looking for help from the community.
Related
I have an Dotnet Core API application which uses IdentityServer4 as IDP. The frontend is built in Angular.
Now, I need to connect to Successfactors of one of my client. I understand SAML is the best federation protocol there.
Please suggest what should be my approach here and relevant tutorials that I can follow. I am not getting good google results.
You need a SAML stack.
Microsoft does not have one. So you need to integrate a third-party product.
There are a number of examples here.
AWS AppSync enables us to use AWS Lambda to resolve any GraphQL field. I followed the link https://docs.aws.amazon.com/appsync/latest/devguide/tutorial-lambda-resolvers.html
But, I want an example code for the DotNet Core using C#.
AppSync currently does not have that particular tutorial in .NET, we will take this feedback into consideration for future tutorials. In the interim, I suggest you search through the .NET SDK repo and/or file an issue with particular questions you have that are specific to .NET where the above tutorial in another language does not suffice.
https://github.com/aws/aws-sdk-net/issues
I understand that there is an API... but how do I implement it? I have a working node.js application but now I have to bring it over to asp.net. I think working from scratch on my asp.net web app is the best option now but I do not know how to start.
I agree that knowing the exact issues you run into will help us give a better answer, but to get you started here is the .net sdk
https://github.com/watson-developer-cloud/dotnet-standard-sdk
and the standard api reference with examples
https://console.bluemix.net/apidocs/assistant
I just started working on WebMatrix 2 recently, I've been reading that socket.io is a great tool to send and receive events in my application.
The thing is I'm completely new to socket.io and I don't know where can I install it, I tried NugGet but I can't find a helper that offers the support for socket.io. I read that I should create a project from the Node.js templates but I want to work on ASP.NET and I'm not familiar with Node.js.
How can I install socket.io into my WebMatrix? What are the guidelines to use socket.io in a ASP.NET project?
Any help will be appreciated. Thanks in advance.
You're a little turned around :) Socket.io is a NPM module that's used with nodejs. This is different from writing an ASP.NET Web Pages site. If you want to use socket.io, you need to be using node. The Node Starter site in WebMatrix has an example of using socket.io to do a basic chat app. To see how to use this:
http://www.youtube.com/watch?v=aUT0ez6B-5w
If you would like to use ASP.NET, you should be using SignalR. Here's a good tutorial to get you started:
http://www.mikesdotnetting.com/Article/206/SignalR-And-Knockout-In-ASP.NET-Web-Pages-Using-WebMatrix
You can also check out this video:
http://channel9.msdn.com/Shows/Web+Camps+TV/WebcampsTV-Justin-and-Vishal-Build-an-Image-sharing-Site-with-Windows-Azure-Web-Sites
Happy Coding!
I need a bit of help implementing an OAuth 2 provider for a rest service built on the new ASP.NET Web API. I'm aware there are some similar questions on Stack Overflow but they're more or less links to OAuth libraries. What I'd really like is some sample code or a sample project to get my started. Can anyone point me in the right direction?
I'm looking at DotNotOpenAuth and I believe the 4.0 beta supports OAuth 2 providers. Unfortunately I can't seem to find any code demonstrating how to implement it.
What I need some assistance with is actually getting a 2.0 provider up and running. Once I have that it should be easy enough to integrate it via a HTTP Module or a filter.
I'm interested in 2 legged authentication for API to API communication.
Until DotNetOpenAuth ships a distribution that includes OAuth 2 and the samples together, the best you can do is install the DNOA 4.0 resource server and authorization server roles via NuGet, and then check out the resource server and authorization server samples on GitHub.
But there are currently no samples for the "client secret" grant type, which is the one that best fits your "2 legged" concept for API-to-API communication. In fact the library itself doesn't (yet) support it, but the next NuGet release will and should be available in the next week or so.