Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Improve XML Web Services' Performance by Compressing SOAP into C# languge

Improve XML Web Services' Performance by Compressing SOAP into C# languge

Scheduled Pinned Locked Moved ASP.NET
wcfxmlcsharpcomperformance
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aref87
    wrote on last edited by
    #1

    hello i finded this link about this subject http://www.dotnetjunkies.com/PrintContent.aspx?type=tutorial&id=46630AE2-1C79-4D5F-827E-6C2857FF1D23 but its language is not C#. i searched this subject into C#, but i did not find C# code about it. pleses help me. thanks

    M B 2 Replies Last reply
    0
    • A aref87

      hello i finded this link about this subject http://www.dotnetjunkies.com/PrintContent.aspx?type=tutorial&id=46630AE2-1C79-4D5F-827E-6C2857FF1D23 but its language is not C#. i searched this subject into C#, but i did not find C# code about it. pleses help me. thanks

      M Offline
      M Offline
      Manas Bhardwaj
      wrote on last edited by
      #2

      aref87 wrote:

      but its language is not C#. i searched this subject into C#, but i did not find C# code about it.

      Do you expect someone to sit and write the C# version for you? :wtf: Anyway, there are many online code translators. This[^] is one of those.

      Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

      A 1 Reply Last reply
      0
      • A aref87

        hello i finded this link about this subject http://www.dotnetjunkies.com/PrintContent.aspx?type=tutorial&id=46630AE2-1C79-4D5F-827E-6C2857FF1D23 but its language is not C#. i searched this subject into C#, but i did not find C# code about it. pleses help me. thanks

        B Offline
        B Offline
        Blue_Boy
        wrote on last edited by
        #3

        here is one convertor from vb.net to C#[^]


        I Love T-SQL "Don't torture yourself,let the life to do it for you."

        A 1 Reply Last reply
        0
        • M Manas Bhardwaj

          aref87 wrote:

          but its language is not C#. i searched this subject into C#, but i did not find C# code about it.

          Do you expect someone to sit and write the C# version for you? :wtf: Anyway, there are many online code translators. This[^] is one of those.

          Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

          A Offline
          A Offline
          aref87
          wrote on last edited by
          #4

          hello thank you i want anyone,if it possible,to write this c# code

          1 Reply Last reply
          0
          • B Blue_Boy

            here is one convertor from vb.net to C#[^]


            I Love T-SQL "Don't torture yourself,let the life to do it for you."

            A Offline
            A Offline
            aref87
            wrote on last edited by
            #5

            Hello I converted vb.net to C#,I thank you about your help. also,i tried about programming. this result is: I produced two classes 1-class1 2-myextension in main web service project according to the following link: http://www.dotnetjunkies.com/PrintContent.aspx?type=tutorial&id=46630AE2-1C79-4D5F-827E-6C2857FF1D23 and put following code in webservice.cs,but after debuging ,i did not see anything,but in Form1 in "Improve XML Web Services' Performance by Compressing SOAP's Figure 2 " there is a pictuer with a datagrid that shows orders table from Nortwind. also i used from #ZipLib . what is [webmethod] in this project? using System; using System.Web; using System.Web.Services; using System.Data; using System.Data.SqlClient; using System.Web.Services.Protocols; using System.Configuration; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.ComponentModel; using System.Diagnostics; using System.Xml.Serialization; using ClientSoapExtension; [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.Diagnostics.DebuggerStepThroughAttribute(), System.ComponentModel.DesignerCategoryAttribute("code"), System.Web.Services.WebServiceBindingAttribute(Name = "Service1Soap", Namespace = "http://tempuri.org/")] public class Service : System.Web.Services.Protocols.SoapHttpClientProtocol { public Service ():base() { //Uncomment the following line if using designed components //InitializeComponent(); } [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/getproducts", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped), ClientSoapExtension.myextensionattribute()] public System.Data.DataSet getproducts() { object[] results = this.Invoke("getproducts", new object[-1 + 1]); return (System.Data.DataSet)results[0]; } public System.IAsyncResult Begingetproducts(System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("getproducts", new object[-1 + 1], callback, asyncState); } public System.Data.DataSet Endgetproducts(System.IAsyncResult asyncResult) { object[] results

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups