Showing posts with label #siriglobaltech. Show all posts
Showing posts with label #siriglobaltech. Show all posts

Thursday, January 31, 2019

Website Builders: WordPress vs Squarespace



WordPress and Squarespace are the two most popular website building platforms among small business owners. WordPress is a free, open source, and perhaps the most flexible website builder you’ll find out there. Squarespace is no pushover either. Boasting high-quality designer templates to easily build a site, it has a large number of dedicated users who keep increasing by the day. Below, we compare the two platforms side by side to help you pick the best website platform for your organization.



Wednesday, January 30, 2019

C# Invoice post in tally XML format connect to web to tally - Static IP Configuration

Asp.net C# application invoice post in tally in XML format - Web base application connect to tally ERP using static IP 

public string xmlPosting(string xml)
    {
       
        WebRequest request = WebRequest.Create("http://00.000.00.000:9000");​//Static IP

        request.Method = "POST";
        request.Timeout = 99000;
        byte[] byteArray = Encoding.UTF8.GetBytes(xml);
        request.ContentType = "application/x-www-form-urlencoded";
        request.ContentLength = byteArray.Length;
        Stream dataStream = request.GetRequestStream();
        dataStream.Write(byteArray, 0, byteArray.Length);
        dataStream.Close();
        WebResponse response = request.GetResponse();
        Response.Write(((HttpWebResponse)response).StatusDescription);
        dataStream = response.GetResponseStream();
        StreamReader reader = new StreamReader(dataStream);
        string responseFromServer = reader.ReadToEnd();
        //Response.Write(responseFromServer);
        // Clean up the streams.
        reader.Close();
        dataStream.Close();
        response.Close();
        StringBuilder output = new StringBuilder();
        return XmlError(responseFromServer);
    }