I am new to these concepts so I just wanted help on some simple information to get started with ASP.NET Web API and oData.
I have been searching in google and for sure I am getting lots of resources but a little confused where to start from.
I have gone through the information w.r.t difference between a traditional web service and a web API.
I request you to give me information/any useful articles to get started with on below:
Real Life example of Web API - I read somewhere that Paypal is the best example. Is it correct? Any other easy examples which help me in relating Web API with our day to day life?
What is oData and how we can leverage this with Web API? Why do we need oData?
What is Restful and real life usage (example) of the same.
Please note I am a beginner in this area, my questions might be very basic, kindly bear with me.
Thanks in Advance
About Web Api, Microsoft Virtual Academy can be a good start. Because they are covering web api with Odata, so here is the link
Web Api Jump Start in Microsoft Virtual Academy
Related
I have had no luck whatsoever finding any example code for ASP.NET Web Forms that I can use to let customers sign up for subscriptions. It has been a long while since I've used Stripe, and all references to Web Forms implementations are gone from their docs.
I contacted their support people and still get pointed to using the .NET smaples that implement MVC, but I'm not doing an MVC-based site and have no desire to learn MVC simply to decipher and port the samples over for a Web Forms project.
Does ANYONE have a sample of code for a Web Forms project page (and code-behind) that lets someone sign up for a Stripe subscription??? I have code for a webhook, but how to do this for the web page is proving to be problematic.
Thanks for any help you can give, guys!
There's no specific example for that, but there are a couple of 'Stripe with Webforms' videos that might help:
https://www.youtube.com/watch?v=CGpMRtdxvmQ
https://www.youtube.com/watch?v=6DDNgYxLHvU
So I had a set up with PHP using Laravel passport, I want to achieve the same thing with my ASP.NET core web api.
Researched it a lot and came back with nothing, there just isn't much material out there, at least not much that is simple to understand for a beginner like me.
I have come across Identity Server 4 but for this I have been told it is overkill.
All of the tutorials, blog posts, videos, etc are showing how to do this with an external provider, I don't want an external provider, I just want to do it on my own server, my own API.
Can someone help in where I start for this? What packages are availble? I am using ASP.NET 3.0 with a JS framework based frontend.
I am using Spring Social Twitter in a project at the moment and everything is going well. Status update's post and there's no issues. I'm not 100% sure if it's possible but does anybody know if you can use this API to post Emoji's to Twitter?
I am new to APIs development and have to start building a REST API for the e-commerce website to be built and can be used by 3rd party: mobile app development company.
The eCommerce site is written in C#, ASP.net.
I have read about SOAP, REST, RESTFul on google.
My doubts are :
Where do I start? I have never created any API's before. Please mention the steps to start over.
The REST API is to be used with both Android and iOS mobile app. So, do we have to create a different client application for both?
Do we use some frameworks? If yes, then which frameworks to use?
As the website is written in dot net. Do we use Java or dotnet for REST API development?
What is the best way to create the REST API for mobile apps?
Please help me with my doubts.
Thanks in advance.
Here is Tutorial to build RESTFUL API in .NET.
My knowledge is in ASP.NET so I leave the Java guide for experts in that field.
RESTful API provided by Microsoft - which is called Web API - is a part of ASP.NET MVC, so you should start learning ASP.NET MVC, it's pretty easy for ASP.NET guys to learn ASP.NET MVC.
No, when you developed your Web Service, both iOS and Android would be able to communicate with your Web Service.
For Authentication, you gonna need libraries like Owin.
Since your main website is in .NET and not MVC, you should keep the Web Service files separate, for this, you can put Web Service file in a separate folder on the same host which the main website is, then create a sub domain to access the Web Service. By the way, you can create your Web Service using Java too, since it is separate from the main website, it makes no difference which technology you use.
The best way to create a REST API for a mobile app is if it is done by an expert! ;) There are many tools and frameworks out there that can be used to create RESTful Web Services, each one of them has some pros and cons, I prefer to use the one I know the best, which is Microsoft ASP.NET Web API, you should choose based on your current expertise.
P.S. If you gonna start learning ASP.NET MVC, I recommend to learn ASP.NET Core, which is the latest version of ASP.NET MVC, and is the future of this technology.
I am looking to write an auth service using Web Api, and SQL Server for authenticating and authorizing users on my .net site, but ios and Android apps as well. I'm speculating that basic authentication over SSL is the easiest way to go, but I'm pretty new to this whole section of .net. I'm having trouble finding some clear tutorials that explain how to write such a service. Can anyone point me to some resources on how to do this? I'd appreciate it.
I think you need to look OAuth implementation in .NET.
Here is a video to give you some background on Web API security.
I also suggest getting a trial subscription to Pluralsight training and check out the courses on Web API security.
You may want to target the latest release of Web API 2.0 from Microsoft, it has the most features you'll need.
I think this might be useful for you:
http://www.asp.net/web-api/overview/security/authentication-and-authorization-in-aspnet-web-api