This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| web-integration:c-sharp-example [2019/08/05 11:24] tjotov | web-integration:c-sharp-example [2019/08/05 11:27] (current) tjotov | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| C# relies on Web services for ADUCID - or WSA, see [[web-integration: | C# relies on Web services for ADUCID - or WSA, see [[web-integration: | ||
| - | === Import WSDL into your project in Visual Studio. | + | Import WSDL into your project in Visual Studio. | 
| Create an instance of **AducidApiJsonServiceClient**. | Create an instance of **AducidApiJsonServiceClient**. | ||
| Line 56: | Line 56: | ||
| Just simple " | Just simple " | ||
| <sxh csharp> | <sxh csharp> | ||
| - | //We have to " | + |  | 
| var aducid = new AducidApiServiceClient(); | var aducid = new AducidApiServiceClient(); | ||
| context.Response.ContentType = " | context.Response.ContentType = " | ||
| Line 89: | Line 89: | ||
| <sxh csharp> | <sxh csharp> | ||
| - | var aducid = new AducidApiServiceClient(); | + |  | 
| string query = context.Request.QueryString.ToString(); | string query = context.Request.QueryString.ToString(); | ||
| var queryParsed = HttpUtility.ParseQueryString(query); | var queryParsed = HttpUtility.ParseQueryString(query); | ||
| Line 125: | Line 125: | ||
| === Prepare a web page === | === Prepare a web page === | ||
| - | This page should contain [[integration-api:start|ADUCID Integration | + | This page should contain [[web-integration:client-side|Client | 
| Provide start, check and proxy Url. | Provide start, check and proxy Url. | ||
| Override what should be done after authentication / operation: | Override what should be done after authentication / operation: | ||
| - | <sxh> | + | < | 
| - | <script type=" | + |  | 
| var aducid = new ADUCID(); | var aducid = new ADUCID(); | ||
| Line 193: | Line 193: | ||
| <sxh html> | <sxh html> | ||
| - | |||
| - | |||
| <div class=" | <div class=" | ||
| < | < | ||