Jump to content

List of web services that work with .NET web app

leodiavata
Go to solution Solved by Franck,
1 hour ago, leodiavata said:

I have have created my own apis for different uni projects before , but this one professor asks for some web services to work with .NET web apps. He needs some oddly specific stuff like only working with visual studio and making .Net projects.  Just looking up Web services for .NET apps just brings up tutorials to create web services etc. What I need is simple things like time conversion , currency conversion ,simple translators etc. A friend of mine  sent me the ones he used last year. I will post the links here so you know what I am looking for cause I can't even figure out what to look for 🤦‍♂️ 

https://www.dataaccess.com/webservicesserver/numberconversion.wso
http://webservices.daehosting.com/services/datesservice.wso
http://services.aonaware.com/DictService/DictService.asmx

 

I figured I could use any api since most of them return a json with results . 

Well by default .Net web service return as XML but it's just 1 simple change in the webservice to choose what format each method return (plain text, json, xml, etc).

 

Your 3rd example is an "asmx" services which is .net 2.0 and is by default a restful webservice which mean any languages that can do a web call can request information from it. .net app will have an easier time as it also integrate much easier as it can automatically make the wrapper for you. As long as your web services are restful you will have no problem making request to it from any languages including .NET apps.

 

If you have VS2015 or higher the default web service template already come with a method as example and it's easy to understand (image below is for VS2019).

 

Capture.thumb.PNG.107fe616c7e28354c944e20e8b606a60.PNG

 

Then it's simple, you code the methods structure in the IService interface. And code the implementation in the SVC file.

The project will contain 2 method example once with a int parameter returning a string the other return a custom class object. So it's 2 great example. The example is the same as the one that was in VS2010 for an ASMX webservice and the code is written the same way. Only difference is WCF is .NET 4.0 and up and it's not restful byt default so only .NET can connect to it (easily it's hackable from other language but it's a mess)

I have have created my own apis for different uni projects before , but this one professor asks for some web services to work with .NET web apps. He needs some oddly specific stuff like only working with visual studio and making .Net projects.  Just looking up Web services for .NET apps just brings up tutorials to create web services etc. What I need is simple things like time conversion , currency conversion ,simple translators etc. A friend of mine  sent me the ones he used last year. I will post the links here so you know what I am looking for cause I can't even figure out what to look for 🤦‍♂️ 

https://www.dataaccess.com/webservicesserver/numberconversion.wso
http://webservices.daehosting.com/services/datesservice.wso
http://services.aonaware.com/DictService/DictService.asmx

 

I figured I could use any api since most of them return a json with results . 

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, leodiavata said:

I have have created my own apis for different uni projects before , but this one professor asks for some web services to work with .NET web apps. He needs some oddly specific stuff like only working with visual studio and making .Net projects.  Just looking up Web services for .NET apps just brings up tutorials to create web services etc. What I need is simple things like time conversion , currency conversion ,simple translators etc. A friend of mine  sent me the ones he used last year. I will post the links here so you know what I am looking for cause I can't even figure out what to look for 🤦‍♂️ 

https://www.dataaccess.com/webservicesserver/numberconversion.wso
http://webservices.daehosting.com/services/datesservice.wso
http://services.aonaware.com/DictService/DictService.asmx

 

I figured I could use any api since most of them return a json with results . 

Well by default .Net web service return as XML but it's just 1 simple change in the webservice to choose what format each method return (plain text, json, xml, etc).

 

Your 3rd example is an "asmx" services which is .net 2.0 and is by default a restful webservice which mean any languages that can do a web call can request information from it. .net app will have an easier time as it also integrate much easier as it can automatically make the wrapper for you. As long as your web services are restful you will have no problem making request to it from any languages including .NET apps.

 

If you have VS2015 or higher the default web service template already come with a method as example and it's easy to understand (image below is for VS2019).

 

Capture.thumb.PNG.107fe616c7e28354c944e20e8b606a60.PNG

 

Then it's simple, you code the methods structure in the IService interface. And code the implementation in the SVC file.

The project will contain 2 method example once with a int parameter returning a string the other return a custom class object. So it's 2 great example. The example is the same as the one that was in VS2010 for an ASMX webservice and the code is written the same way. Only difference is WCF is .NET 4.0 and up and it's not restful byt default so only .NET can connect to it (easily it's hackable from other language but it's a mess)

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×