Posts

Showing posts with the label C#

Progest System

Image
Try our new application version Béta:

Progest 
it's a Simple application to manage a project ,  create modules, Tasks, affect ressources.. 



url : http://progest.tn Login : user Password: user

there is some functionnlity not available. 
it's will be available in the next version soon 
Thanks for your comments. 

Build a RESTtful Application using C#

Image
Hello Everyone,

we will build a Restful application with C#,
First of all , we should have :
-Visual Studio
-A WebBrowser

-Create a new solution with C#
-Create a new Library project and create an Interface.
IRESTDemoServices.cs

[ServiceContract(Name = "RESTDemoServices")] // specifiy the name of the services in this WS ...
[WebGet(UriTemplate = Routing.GetClientRoute, // the root BodyStyle = WebMessageBodyStyle.Bare // the body style ( encapsulate) ,RequestFormat =WebMessageFormat.Json) // output type JSON ] -create a new Rooting class :
Routing.cs
publicstaticclassRouting{public const stringGetClientRoute = "/Client/{id}";public const stringHelloWorld = "/hello/{value}";