I developed a simple webapp using tomcat/mysql. On the tomcat I use a REST interface to be able to interact with the client (using javascript). Since I have no knowledge of asp.net I would like to know whether asp.net could serve as a substitute for the above. I.e. provide a REST-Interface which I can contact using ajax and connect to a mysql database.
Thank you in advance.
Yes it can. However, Windows Communication Foundation would be a better technology to use for that.
Related
at the moment I'm trying to get into node.js, especially as a web-api with dedicated functions of getting informations from a database.
I use Sequelize on a MySQL-Database, with Sequelize-auto. The database I am using is the example database Sakila. For the web service I will use Express.
I would like to know, if somebody knows good, well-structured GitHub-Projects, that use the same or at least almost the same technologies I mentioned and that I can use as a reference.
Best regards and thanks, Anton.
Sequelize have an example project
https://github.com/sequelize/express-example
Is it possible to use a wordpress website similarly as php or asp.net websites to access jason webservice? If It is possible is there any limitations? Which is better to use knowing that I need to use it to send and receive json objects to and from the db server, and will need it to display events, news, items, buying and booking. Note that I am using the same webservice on a mobile application. Thankyou in advance
Is it possible to use a WordPress website similarly as PHP or ASP.net websites to access JSON webservice?
Yes. WordPress is built with PHP, and PHP provides the necessary tools you need to access a JSON webservice, and convert these into PHP Objects.
Are there any limitations?
No.
Which is better to use? (WordPress vs ASP.net)
WordPress is a content management system, where as ASP.net is a framework. WordPress will, without modifications, be efficient at managing content such as events, news and items. ASP.net will not provide these things for you out of the box.
I've created an Internet application (MVC 4) in VS2012 and I'm trying to connect it to MySQL in a way so that I can have the OAuth functional.
I didn't manage to find anything helpful and I wonder if it's possible without some heavy workaround.
Check this article
Implementaion of SingleMemmbershipProvider in MVC 4 for MySql and supports OAuth additionally.
http://www.mattjcowan.com/funcoding/2012/11/10/simplemembershipprovider-in-mvc4-for-mysql-oracle-and-more-with-llblgen/
OAuth with MVC 4 template uses SimpleMembershipProvider Class which in turn uses MSSQL database. If you need to make it work for MySQL, then you need to override the methods in this class. You can do that as given at this link by Imran but according to me it is very heavy workaround to build your own overridden methods. Instead, drop the inbuilt OAUth and use custom one like sharpOAuth
We are working with Shopify to get a web solution implemented. I am looking into how to get data from Shopify using your web service API. We are going to be using SQL Server Integration Services (SSIS) 2K8R2 to do this. Do you happen to have an example that shows how to connect SSIS to the Shopify API for us to use?
Thank you
I'm not aware of anyone using SSIS to connect to Shopify, so I don't know what that entails. However, Shopify's API is a standard RESTful interface, so I recommend researching how to talk to such services from SSIS.
As far as I know there are no specific examples of this. It is a pretty standard rest API so should be straight forward enough. If you can use c# then there is a library you can use. Other wise all you really need to be ably to do is make http requests.
Making webservice calls through an SSIS was never easy. I am not sure if this changed in 2K8R2. Your best bet is probably to create a web/windows/console application and connect to it. I have used the following .NET shopify wrapper with success:
https://github.com/robconery/ShopifyApi
I am an experienced web programmer that has sadly had little experience with Web Services and technologies like Silverlight - I've done a lot of PHP, Javascript, CSS and MySQL. I recently have been assigned to learn Silverlight and connect a new app to a MySQL database. After a full week of trying to get this working, I'm really hoping someone can answer these questions:
I have found the MySQL .NET Connector - am I correct that this is not compatible with Silverlight and I do not need it?
I understand I must use a Web Service for this. Can I use WCF or WCF RIA, or am I best using a more traditional web service method like REST or SOAP?
What's the best web service method for many quick queries (such as updating a search as the user types in the keywords)
Do I have to use technology like LINQ, Entity SQL, ADO.NET Framework, or a stored procedure? Is one of these the best way to do it or should I just skip them all and create a simple web service?
What's the best source to learn how to do specifically Silverlight VB.NET and MySQL and learn to do it the best way as explained above. Everything I've found (books and websites) seems to be in C#, not a Silverlight product, or just uses built in SQL Server support. Very frustrating!
For our web app, we need to be able to give the buyer not just access to our client side application via a browser but also the server side so they can OPTIONALLY host the entire product themselves. We're hoping to have one installer for them on their server (so they wouldn't have to set up php or mysql to host the product for example). If I use a VB.NET website and web service, will that deploy as just an exe or dll so the user won't have to install anything special? Is installing mysql on their servers unavoidable? Please advise.
Thank you!
Wow, lots of questions in a single question.
You can't use this from Silverlight.
WCF and WCF RIA are both technologies while SOAP and REST are protocols that are both supported by WCF. So yes.
Quick queries require good code and a well tuned database, the protocol won't be an issue.
LINQ, Entity SQL, and ADO.Net are all database access technologies and have nothing to do with web services. You'll need to build a web service and then connect it to a database using some database access technology. Which one you use depends on what backend you have.
C# is much more common. Most of the MSDN content has VB.Net as well. MySQL isn't an MS technology. You can use MySQL with Entity Framework and then expose that using WCF RIA Services.
If you use VB.Net as the server side technology they will need to be running Windows with IIS and have .NET installed. They will also have to install MySQL if they want to host it.