Re: webapi versus soap services Programming Web Development by pixelsoul …'t even realize that MSFT actually has a product called WebAPI. Geez... well, isn't that interesting. So apparently their "…;WebAPI" helps with the developement of a RESTful service. This … about using REST would be the same as recommending their WebAPI package I suppose. webapi versus soap services Programming Web Development by skliz During my study on web apli. I learnt that it enables you to create web services that would use HTTP protocol. My question is web api could it be a called the replacement for soap web services. what is the comparative advantage of using webapi over soap services Re: webapi versus soap services Programming Web Development by skliz yes that is what I am refering to. Microsoft's WebAPI. Thanks a lot. How to Add Authentication to ASP.NET Core 2.2 WebAPI Programming Software Development by Rushabh Verma When creating a new WebAPI Project in Visual Studio 2019 and changing authentication to Individual User Accounts, the only option is to connect to Azure but back in WebAPI projects in the .NET Framework, user accounts can be stored in-app. How to achieve this in .NET Core 2.2? MVC Webapi Global Object to be re-used by all the users Programming Web Development by mayyubiradar … can be initialized only once. But, when I try with webapi the first run goes fine and the rest fails as… Re: webapi versus soap services Programming Web Development by pixelsoul SOAP is one of the types of api's that are available. Asking if a web api is better than SOAP is just like asking if a database is better than MySQL, which obviously would not make any sense since MySQL is just a type of database. What I can suggest is, look into a REST api rather. SOAP is something that is being fazed out more and more, where … Re: webapi versus soap services Programming Web Development by skliz Tanks pixelsoul. I get you clearly. SO is web api an example of REST API. Re: webapi versus soap services Programming Web Development by pixelsoul The other way around. A REST api is an example of a web api. I guess any api that is available over the internet could be called a "web api". Like SOAP api is another example of an api that can be used over the internet. Re: MVC Webapi Global Object to be re-used by all the users Programming Web Development by pritaeas You can probably use the `Session_Start` method in `global.asax.cs`. If you need only one instance for all sessions, you can turn your COM instance into a singleton, to make sure it's only instantiated just once. Re: MVC Webapi Global Object to be re-used by all the users Programming Web Development by mayyubiradar Thanks a lot for you reply Pritaeas. I will try that post back the results soon! Re: MVC Webapi Global Object to be re-used by all the users Programming Web Development by mayyubiradar Nope, that didnt help.... Everytime I call the GET service line 5 is executed where I call the singleton instance(New instance of ValuesController will be initiated too). Maybe it requires a method to define object globally(Global.asax) and access it in ValuesController? Re: MVC Webapi Global Object to be re-used by all the users Programming Web Development by pritaeas Create a static class with one static method that returns a private static ComClass instance on demand, and creates/initializes it if it's null (singleton). public static class ComClassSingleton { private static COMClass comClass; public static COMClass GetComClass() { if (comClass == null)… Re: MVC Webapi Global Object to be re-used by all the users Programming Web Development by mayyubiradar I have tried exactly the same method. When I try to debug keeping the breakpoint at Line 3 of your code 'COMClass objCOM = ComClassSingleton.GetComClass();' works fine for first time but when I try GET again without restarting the application, it creates a new object of COMClass. Ideally when the web-api GET request is executed, is it not supposed… Re: MVC Webapi Global Object to be re-used by all the users Programming Web Development by pritaeas Not sure what's wrong then. Hard to say without being able to debug. Hi all. I'm new, have a project and having a hard time where to start. Plea Programming Software Development by cbt13 … days ago I decided to use a WebAPI to make a little program. (Steam WebAPI to be exact) Now, I know you… OAuth help Programming Software Development by IIM … case it is a standalone desktop application interacting with dani webapi's. Do i have to create a webapp and then… Books on certificates Programming by pritaeas I'm looking to build an ASP.NET WebAPI/REST API (not Core) that should accept client certificates as … Re: Is 5MB of SQL to front-end result too much for browser? Programming Web Development by stbuchok … about 70MB worth of data without issue. After 70MB, the webapi calls start to choke, but not because javascript can't… as to how much data can come through a single webapi call. So we ended up chunking the call to be… no problem with 1-5MB of data coming from a WebAPI/webservice/ajax/whatever call. It's now up to the… Re: Problem with getJson in asp.net and c# Programming Web Development by pritaeas …are more up-to-date an MVC controller or WebApi is much easier to use IMO. ASMX: [… JsonResult GetJson() { return Json(your_result_list_here, JsonRequestBehavior.AllowGet); } WebApi: public HttpResponseMessage GetJson() { return Request.CreateResponse(HttpStatusCode.OK, your_result_list_here); } Re: Problem with getJson in asp.net and c# Programming Web Development by philjen Im sorry but i dont have any idea on ASMX, im familiar with the MVC and WebApi, but i think im not using the two, MVC and WebApi.. Re: How to create a REST Service? Programming Software Development by NivekW … Service: This project would be web application with Webapi. You would create a Webapi controller. Once you create one, it has the… Re: Uploading files to server Programming Web Development by AleMonteiro …-upload-jquery-and http://www.encodedna.com/webapi/multiple-file-upload-using-html5-jquery-ajax-webapi.htm Plugin: https://github.com/blueimp… Re: Multipe swing timers Programming Software Development by sirlink99 ….*; import java.awt.event.*; import javax.swing.*; import com.games4j.webAPI.*; public class FractionReaction extends Applet implements KeyListener, ActionListener { Timer timer… Re: Having trouble with API Programming Software Development by sirlink99 I imported this [CODE]import com.games4j.webAPI.*;[/CODE] and this package is coming from games4j.com under the game developers tab under api's (it can be downloaded) It shows what codes to add on the website, but I copy the codes directly from the website to my code and it doesn't work. Re: Having trouble with API Programming Software Development by sirlink99 i have the com/games4j/webAPI folder in the same location as my game, but I still get an error with the (applet) parts and the [,level] part. Why is this I can take a screenshot if you wish. Re: Having trouble with API Programming Software Development by sirlink99 ….applet.*; import java.awt.*; import javax.swing.*; import com.games4j.webAPI.*; import java.awt.event.*; public class SpaceSpam extends Applet implements… Re: Having trouble with API Programming Software Development by sirlink99 ….applet.*; import java.awt.*; import javax.swing.*; import com.games4j.webAPI.*; import java.awt.event.*; public class SpaceSpam extends Applet implements… Re: MVC 4 - Globalization, Resources and URL Routing Programming Web Development by LastMitch …/tutorials/building-an-asp-net-mvc4-application-with-ef-and-webapi/ The question you ask about **Globalization and Localization**, you can… Re: WCF Successful and Failing Programming Software Development by Ketsuekiame Are you using WebAPI or WCF? URI Parameters is a strange way to call WCF (typically you'd use a SOAP object)... Re: Upload HttpPostedFileBase file along with some parameters Programming Web Development by geniusvishal Refer this [link](http://codebetter.com/johnvpetersen/2012/03/22/accessing-a-asp-net-webapi-rest-service-from-asp-net-mvc/)