0

I wrote a "ASP.NET Web Service application" some time ago in .NET 3.5 framework.

Now the number of requests to this app grows a lot and I started to have real problems with server's bandwith.

My first idea for lighten the app it was change transfer language for data from HTTP to JSON.

Is this easy to do and realizable?

Thanks!

tur
  • 33
  • 3
  • 1
    http://stackoverflow.com/questions/211348/how-to-let-an-asmx-file-output-json – CodeCaster Oct 05 '15 at 09:21
  • 1
    Sorry for the dupplication. I'm going to see this answer! – tur Oct 05 '15 at 09:27
  • 1
    No problem. I think with search terms like "asmx json output" you'll get more results. ASMX is the name of ASP.NET Web Services. – CodeCaster Oct 05 '15 at 09:29
  • or you could switch to `REST` based services. – Amit Kumar Ghosh Oct 05 '15 at 09:29
  • 1
    @Amit the answer to _"How can I change the output of an existing implementation"_ is not _"By reimplementing the whole shebang in a different framework"_. I do agree that for new development of web services you should pick something like WCF or ASP.NET WebAPI. – CodeCaster Oct 05 '15 at 09:30
  • @CodeCaster - that was just another suggestion to move forward. – Amit Kumar Ghosh Oct 05 '15 at 09:31
  • try read on "how to optimize web service" for example : [Improving Web Services Performance](https://msdn.microsoft.com/en-us/library/ff647786.aspx) || [Web Service optimization](http://www.codeproject.com/Articles/12892/Web-Service-optimization) – Sherif Ahmed Oct 05 '15 at 10:06

1 Answers1

-1

Yes,

That is much appreciated one, you will be feel real difference of JSON data that comes from server. change your service as REST.

Velkumar
  • 446
  • 1
  • 8
  • 20