August 27, 2015 asvignesh
You can write the power shell modules through scripts (Script Modules) or through c# code (Binary modules) Script modules can have any valid PS code and save as .psm1 Binary modules can be any assembly that contain cmdlet classes (.dll) the assembly would be imported to powershell and use the commands In this post am writing about the how to create a Binary PowerShell module Open Visual Studio 2012 New Project -> Class Library In order to get the powershell runspace inside the programming language and to create the powershell commands we must add reference of “System.management.automation” dll The DLL…
January 8, 2015 asvignesh
HTTP GET The HTTP GET method is used to retrieve (or read) a representation of a web resource. In the non-error ( aka Happy path ) path, GET returns a representation in form of XML or JSON and the HTTP Status code will be 200 (OK). In case of any error in the path, it most often returns a 404 (NOT FOUND) or 400 (BAD REQUEST). According to the design of the HTTP specification, GET requests are used only to read data and not change it. Therefore, when used this way, they are considered safe. That is, they can be…
January 8, 2015 asvignesh 1Comment
Representational State Transfer (REST) has gained widespread acceptance across the Web as a simpler alternative to other Web services ( SOAP and WSDL ). REST is an architecture style or design pattern used as a set of guidelines for creating web services which allow anything connected to a network to communicate with one another via a shared common communications protocol known as Hypertext Transfer Protocol (HTTP). The same HTTP verbs (GET, POST, PUT, DELETE etc.) used by web browsers to retrieve and display web pages, audio/video files, images etc. from remote servers and post data back to them when performing…