Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Not sure if this is the right place for this question but if not, I'd appreciate it if anyone could suggest a better place to get an answer as I've struggled just with researching on the web as there is too much information and disinformation.
I'm designing a large scale social media website and want to get a very in depth and solid understanding and knowledge of Web API, RESTful web services (C#) and issues around performance, scalability, authentication and data protection etc in the modern web environment.
Can anyone recommend any good books/blogs/resources to start with on this?
My background is 13 years as a developer, largely .NET server side and desktop application/WPF so the web side of things is relatively new to me.
I appreciate any help or pointers in the right direction.
Theoretically, in order to understand things, I would suggest to start reading this post comparing REST and SOAP web services regarding performance, security etc. Since you are a professional, you would not need to buy a book (I guess).
Programmatically, I suppose this post would be a good starting point to see an tutorial on creating WCF REST services. This post could guide you on how to build a REST web service using the ASP.NET Web API.
Hope I helped!
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm in a situation where I do not have the option to connect directly to a database (the typical ConnectionString and DBContext way), but instead, I'm forced to use a RESTful API to get and post data from, and to the database.
I difficult to explain, so here's a tiny architectural graph instead.
Easy to see, the web application can talk with the REST API, but it CANNOT connect directly to the database
PROBLEM
I'd love to use the built-in authentication system that ASP.NET Identity provides, but I'm going in completely blind. I have not been able to find any examples with REST API calls to get users, roles, etc.
I hope that some of you might be able to lend a hand. The architecture is as it is, and it's out of my hands to change it.
My team is currently using a similar system. Our solution was to use Authentication Forms, which we found easy to setup using this article. Granted it is a bit outdated, but it works for what we wanted to accomplish with a small amount of time.
Sorry, I know Its not much, but it was a very easy tutorial to follow. Feel free to ask for any more examples as you work through it!
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I have an ASMX web service which is internally calling some Payment related APIs and is currently processing few thousand orders daily. We are planning to upgrade this wrapper service to Asp.Net Web APIs. How can I explain the business the benefits of this upgrade in a non technical way as they might not be able to understand the technical terms? Budget and resources is not an issue for this upgrade.
Web API is better because it is based on HTTP and not SOAP. HTTP contains headers that give information on the content. It is more easier to understand and develop for. Since Web API is in HTTP it means that you are able to reach many more clients. The body of a http message can contain any kind of content.
From a business perspective it is easier to maintain, easier to develop and you are able to reach more clients. It also means that you are able to always extend functionality. With those qualities such as the maintainability and the ease of development means that it is ultimately cheaper and more effective.
In software whatever is easy to maintain and understand is the ultimate king from all angles (financial and technological).
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am looking for the best way to implement, let's say a middle tier.
In the company I working for, we have two systems written with different programming languages. Each one must communicate with a third system via xml (rest and soap).
The first thing that came in my mind was to create a web application which would accept the calls from our internal systems but I stopped this implementation as I faced some issues regards the soap serialization (How could I do this?).
Except this I thought of WCF but I don't know if it is an appropriate solution for my case.
So, I would like to know which is the best way to implement this.
I'll appreciate any comment
Thanks
You should use WCF for the middle-tier since it provides you with everything you need.
Serialization
Interoperability with Other Web Services Platforms
Interaction with Applications built on other technologies, such as J2EE application servers, that support standard Web services. These applications can be running on Windows machines or on machines running other operating systems.
Security
SOAP All Version and REST
Bindings
Protocols
Discovery
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
Let's assume I have some sort of user data, like list of user messages and some metadata (coordinates and etc.)
Right now I have to expose some API for Android clients to get/filter user data. So I am wondering what are the best practices to do that? Should I use WCF Data Services, REST WCF or Atom Feed WCF? or something else? What I need is to create really easy to use API (which is supported by some libraries) in terms of developing for Android clients and for other mobile platform in the future, like WP7.
Thanks
This can be done using KSoap2.
See this tutorial:
http://seesharpgears.blogspot.com/2010/10/ksoap-android-web-service-tutorial-with.html
As Dyonisos said ksoap2, and in the server side ASP.NET web services, it should do the job. BTW there is a lot of examples on the Internet for using those two techs.
http://sarangasl.blogspot.com/2010/09/create-simple-web-service-in-visual.html
How to call a .NET web service from android?
http://bimbim.in/post/2010/10/08/Android-Calling-Web-Service-with-complex-types.aspx
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
I'm looking for a blogging site to host my ASP.Net/C# (and possibly other web related programming) technical blog - where should I create such blog?
BTW, it's a shame that SO does not offer blogging services.
Note: I would create it on http://weblogs.asp.net, but it requires to be a highly active member on their site.
I would personally suggest WordPress if you'd like to get up and running quickly. I am sure a thousand people have a thousand different opinions on what is good and what isn't. I like WordPress because the templates are easy, there are some nice features, they will give you your content in XML form for backup or moving to another service in the future and it links well with LinkedIn and other services to share your posts and drive in traffic.
WordPress, Drupal and Joomla are all good choices for running a blog if you choose to use a dedicated hosting service (e.g. hostclear, etc.), and they're all extremely well supported by their dedicated community.
Here's a good article which offers a high level comparison of the three:
http://www.goodwebpractices.com/other/wordpress-vs-joomla-vs-drupal.html
Speaking from personal experience, I think it's worth getting a decent hosting service like HostClear, they're pretty cheap these days and gives you domain registration for free too. I've been running my blog for about 8 months now, at less than £3 a month and I've been more than happy with the service I got! And having tried both Joomla and WordPress, I found WordPress much easier to get started with.
Toolbox.com is a great site. They have over a million members, so the audience is built in, and they have a revenue sharing program.