PageRenderTime 53ms queryFilters 56ms Sphinxql 2536ms GetByIds 72ms meta 0ms repositoryFilters 50ms languageFilters 0ms sourceFilters 2ms

889,502 results for 'using System.Linq; repo:mwasham/wasvcmgmntapi' (53 ms)

Source

Language

Repository

using-wcf-to-access-flickr-json-api.aspx https://github.com/pvencill/amptools.git | ASP.NET | 429 lines
51			 <div class="blog-content">
52				<p>Even though there are quite a few opensource .Net libraries REST API out there, and a really impressive one for Flickr, they tend to never evolve or fork to use the newer framework technologies.&#160; I think its great that they support 1.0, 2.0, and mono, but why not fork and support WCF?&#160; I think part of the problem that .Net 3.5 use is not wide spread as it should be is not only information overload and bad naming for extension libraries, but also lack of opensource support to provide libraries and basis for current technology.&#160; </p>  <p>Flickr tends to be a little more tricky to use when calling it than some other REST APIs. WCF is a cool technology, but needs to be massaged when using it with Flickr due to a couple of gotchas and not so obvious things about WCF. In order to use Flickr, you need to register for an api_key and a shared secret code which is used to create an MD5 hash. You also need to create that MD5 each time you call a method, using the url parameters in a certain way. </p>  <p>There are also a few not so obvious factors about using the JSON part of Flickr. All of the .Net libraries I've seen so far, use XML. While C# is king of parsing&#160; XML, JSON tends to be more compact, which means less expense over the wire, though it might mean more time parsing once on the developers end point. So there are tradeoffs to using it. </p>  <p>When I created the classes needed to use WCF to call Flickr, I have the actual &quot;DataContract&quot; object (DTO, Data Transfer Object), A Hash (Dictionary&lt;string, object&gt;) for adding the parameters to create the MD5 signature, A base class for creating the WCF proxy, a custom &quot;WebContentTypeMapper&quot;, The &quot;ServiceContract&quot; interface, the actual &quot;Client class&quot;, and a mixins class for creating the MD5. </p>  <p>Here are some of the gotchas that I ran into while getting WCF to work with Flickr. </p>  <p></p>  <ol>   <li>Flickr makes you create a md5 hash to send with every call for ALL parameters in alphabetical order using your &quot;Shared Secret&quot; Code as part of the md5.&#160;&#160; </li>    <li>Flickr's Json response &quot;Content-Type&quot; header is sent not as &quot;application/json&quot; but as &quot;text/plain&quot; which equates to &quot;Raw&quot; in WCF lingo.&#160; </li>    <li>The response object is wrapped and not obvious when it comes to json how the DataContract object should be formed.&#160; </li>    <li>Flickr will wrap the json response in a javascript function unless you pass in the parameter &quot;nojsoncallback=1&quot; </li> </ol>  <p>To get around number one, I created an extension method that takes a Hash (Dictionary&lt;string, object&gt;) and adds method that converts the parameters into a MD5 string. </p>  <pre class="code csharp">namespace Amplify.Linq
53{
74	using System.Collections.Generic;
75	using System.Linq;
76	using System.Security.Cryptography;
187	using System.Collections.Generic;
188	using System.Linq;
189	using System.Text;
220	using System.Collections.Generic;
221	using System.Linq;
222	using System.Text;
248	using System.Collections.Generic;
249	using System.Linq;
250	using System.Text;
cloud-services-dotnet-hybrid-app-using-service-bus-relay.md https://github.com/jeffwilcox/azure-content.git | Markdown | 800 lines
1<properties urlDisplayName="Hybrid Application" pageTitle="Hybrid On-Premises/ Cloud Application (.NET) - Azure" metaKeywords="Azure Service Bus tutorial,hybrid .NET" description="Learn how to create a .NET On-Premises/Cloud Hybrid Application Using the Azure Service Bus Relay." metaCanonical="" services="service-bus" documentationCenter=".NET" title=".NET On-Premises/Cloud Hybrid Application Using Service Bus Relay" authors="sethm" solutions="" manager="timlt" editor="mattshel" />
2
51Service Bus also protects those services from unauthorized access by
52using Azure Active Directory Access Control.
53
86
873. 	Choose the link for the version of Visual Studio you are using. The steps in this tutorial use Visual Studio 2013:
88
113
114###To create a service namespace using the portal:
115
282            using System;
283            using System.Linq;
284            using System.Collections.Generic;
569            {
570                using System.Linq;
571                using System.ServiceModel;
System.Reactive.Joins.generated.cs https://github.com/gshackles/mono-reactive.git | C# | 2,490 lines
1
2using System;
3using System.Collections.Generic;
3using System.Collections.Generic;
4using System.Linq;
5using System.Linq.Expressions;
5using System.Linq.Expressions;
6using System.Reactive;
7using System.Reactive.Disposables;
7using System.Reactive.Disposables;
8using System.Reactive.Linq;
9using System.Reactive.Subjects;
cloud-services-dotnet-hybrid-app-using-service-bus-relay.md https://github.com/ahmad2x4/azure-content.git | Markdown | 797 lines
1<properties linkid="dev-net-tutorials-hybrid-solution" urlDisplayName="Hybrid Application" pageTitle="Hybrid On-Premises/ Cloud Application (.NET) - Azure" metaKeywords="Azure Service Bus tutorial,hybrid .NET" description="Learn how to create a .NET On-Premises/Cloud Hybrid Application Using the Azure Service Bus Relay." metaCanonical="" services="service-bus" documentationCenter=".NET" title=".NET On-Premises/Cloud Hybrid Application Using Service Bus Relay" authors="sethm" solutions="" manager="dwrede" editor="mattshel" />
2
49Service Bus also protects those services from unauthorized access by
50using Azure Active Directory Access Control.
51
84
853. 	Choose the link for the version of Visual Studio you are using. The steps in this tutorial use Visual Studio 2013:
86
111
112###To create a service namespace using the portal:
113
280            using System;
281            using System.Linq;
282            using System.Collections.Generic;
567            {
568                using System.Linq;
569                using System.ServiceModel;
cloud-services-dotnet-hybrid-app-using-service-bus-relay.md https://github.com/akoken/azure-content.git | Markdown | 799 lines
1<properties linkid="dev-net-tutorials-hybrid-solution" urlDisplayName="Hybrid Application" pageTitle="Hybrid On-Premises/ Cloud Application (.NET) - Azure" metaKeywords="Azure Service Bus tutorial,hybrid .NET" description="Learn how to create a .NET On-Premises/Cloud Hybrid Application Using the Azure Service Bus Relay." metaCanonical="" services="service-bus" documentationCenter=".NET" title=".NET On-Premises/Cloud Hybrid Application Using Service Bus Relay" authors="sethm" solutions="" manager="dwrede" editor="mattshel" />
2
51Service Bus also protects those services from unauthorized access by
52using Azure Active Directory Access Control.
53
86
873. 	Choose the link for the version of Visual Studio you are using. The steps in this tutorial use Visual Studio 2013:
88
113
114###To create a service namespace using the portal:
115
282            using System;
283            using System.Linq;
284            using System.Collections.Generic;
569            {
570                using System.Linq;
571                using System.ServiceModel;
cloud-services-dotnet-hybrid-app-using-service-bus-relay.md https://github.com/alexey-ernest/azure-content.git | Markdown | 797 lines
1<properties linkid="dev-net-tutorials-hybrid-solution" urlDisplayName="Hybrid Application" pageTitle="Hybrid On-Premises/ Cloud Application (.NET) - Azure" metaKeywords="Azure Service Bus tutorial,hybrid .NET" description="Learn how to create a .NET On-Premises/Cloud Hybrid Application Using the Azure Service Bus Relay." metaCanonical="" services="service-bus" documentationCenter=".NET" title=".NET On-Premises/Cloud Hybrid Application Using Service Bus Relay" authors="sethm" solutions="" manager="dwrede" editor="mattshel" />
2
49Service Bus also protects those services from unauthorized access by
50using Azure Active Directory Access Control.
51
84
853. 	Choose the link for the version of Visual Studio you are using. The steps in this tutorial use Visual Studio 2013:
86
111
112###To create a service namespace using the portal:
113
280            using System;
281            using System.Linq;
282            using System.Collections.Generic;
567            {
568                using System.Linq;
569                using System.ServiceModel;
cloud-services-dotnet-hybrid-app-using-service-bus-relay.md https://github.com/andrerod/azure-content.git | Markdown | 799 lines
1<properties linkid="dev-net-tutorials-hybrid-solution" urlDisplayName="Hybrid Application" pageTitle="Hybrid On-Premises/ Cloud Application (.NET) - Azure" metaKeywords="Azure Service Bus tutorial,hybrid .NET" description="Learn how to create a .NET On-Premises/Cloud Hybrid Application Using the Azure Service Bus Relay." metaCanonical="" services="service-bus" documentationCenter=".NET" title=".NET On-Premises/Cloud Hybrid Application Using Service Bus Relay" authors="sethm" solutions="" manager="dwrede" editor="mattshel" />
2
51Service Bus also protects those services from unauthorized access by
52using Azure Active Directory Access Control.
53
86
873. 	Choose the link for the version of Visual Studio you are using. The steps in this tutorial use Visual Studio 2013:
88
113
114###To create a service namespace using the portal:
115
282            using System;
283            using System.Linq;
284            using System.Collections.Generic;
569            {
570                using System.Linq;
571                using System.ServiceModel;
cloud-services-dotnet-hybrid-app-using-service-bus-relay.md https://github.com/AndyRanZhao/azure-content.git | Markdown | 799 lines
1<properties linkid="dev-net-tutorials-hybrid-solution" urlDisplayName="Hybrid Application" pageTitle="Hybrid On-Premises/ Cloud Application (.NET) - Azure" metaKeywords="Azure Service Bus tutorial,hybrid .NET" description="Learn how to create a .NET On-Premises/Cloud Hybrid Application Using the Azure Service Bus Relay." metaCanonical="" services="service-bus" documentationCenter=".NET" title=".NET On-Premises/Cloud Hybrid Application Using Service Bus Relay" authors="sethm" solutions="" manager="dwrede" editor="mattshel" />
2
51Service Bus also protects those services from unauthorized access by
52using Azure Active Directory Access Control.
53
86
873. 	Choose the link for the version of Visual Studio you are using. The steps in this tutorial use Visual Studio 2013:
88
113
114###To create a service namespace using the portal:
115
282            using System;
283            using System.Linq;
284            using System.Collections.Generic;
569            {
570                using System.Linq;
571                using System.ServiceModel;
cloud-services-dotnet-hybrid-app-using-service-bus-relay.md https://github.com/arnieraju/azure-content.git | Markdown | 797 lines
1<properties linkid="dev-net-tutorials-hybrid-solution" urlDisplayName="Hybrid Application" pageTitle="Hybrid On-Premises/ Cloud Application (.NET) - Azure" metaKeywords="Azure Service Bus tutorial,hybrid .NET" description="Learn how to create a .NET On-Premises/Cloud Hybrid Application Using the Azure Service Bus Relay." metaCanonical="" services="service-bus" documentationCenter=".NET" title=".NET On-Premises/Cloud Hybrid Application Using Service Bus Relay" authors="sethm" solutions="" manager="dwrede" editor="mattshel" />
2
49Service Bus also protects those services from unauthorized access by
50using Azure Active Directory Access Control.
51
84
853. 	Choose the link for the version of Visual Studio you are using. The steps in this tutorial use Visual Studio 2013:
86
111
112###To create a service namespace using the portal:
113
280            using System;
281            using System.Linq;
282            using System.Collections.Generic;
567            {
568                using System.Linq;
569                using System.ServiceModel;
cloud-services-dotnet-hybrid-app-using-service-bus-relay.md https://github.com/asadrao/azure-content.git | Markdown | 799 lines
1<properties linkid="dev-net-tutorials-hybrid-solution" urlDisplayName="Hybrid Application" pageTitle="Hybrid On-Premises/ Cloud Application (.NET) - Azure" metaKeywords="Azure Service Bus tutorial,hybrid .NET" description="Learn how to create a .NET On-Premises/Cloud Hybrid Application Using the Azure Service Bus Relay." metaCanonical="" services="service-bus" documentationCenter=".NET" title=".NET On-Premises/Cloud Hybrid Application Using Service Bus Relay" authors="sethm" solutions="" manager="dwrede" editor="mattshel" />
2
51Service Bus also protects those services from unauthorized access by
52using Azure Active Directory Access Control.
53
86
873. 	Choose the link for the version of Visual Studio you are using. The steps in this tutorial use Visual Studio 2013:
88
113
114###To create a service namespace using the portal:
115
282            using System;
283            using System.Linq;
284            using System.Collections.Generic;
569            {
570                using System.Linq;
571                using System.ServiceModel;
cloud-services-dotnet-hybrid-app-using-service-bus-relay.md https://github.com/aseldawy/azure-content.git | Markdown | 799 lines
1<properties linkid="dev-net-tutorials-hybrid-solution" urlDisplayName="Hybrid Application" pageTitle="Hybrid On-Premises/ Cloud Application (.NET) - Azure" metaKeywords="Azure Service Bus tutorial,hybrid .NET" description="Learn how to create a .NET On-Premises/Cloud Hybrid Application Using the Azure Service Bus Relay." metaCanonical="" services="service-bus" documentationCenter=".NET" title=".NET On-Premises/Cloud Hybrid Application Using Service Bus Relay" authors="sethm" solutions="" manager="dwrede" editor="mattshel" />
2
51Service Bus also protects those services from unauthorized access by
52using Azure Active Directory Access Control.
53
86
873. 	Choose the link for the version of Visual Studio you are using. The steps in this tutorial use Visual Studio 2013:
88
113
114###To create a service namespace using the portal:
115
282            using System;
283            using System.Linq;
284            using System.Collections.Generic;
569            {
570                using System.Linq;
571                using System.ServiceModel;
cloud-services-dotnet-hybrid-app-using-service-bus-relay.md https://github.com/Auguronomics/azure-content.git | Markdown | 804 lines
1<properties linkid="dev-net-tutorials-hybrid-solution" urlDisplayName="Hybrid Application" pageTitle="Hybrid On-Premises/ Cloud Application (.NET) - Windows Azure" metaKeywords="Azure Service Bus tutorial,hybrid .NET" description="Learn how to create a .NET On-Premises/Cloud Hybrid Application Using the Windows Azure Service Bus Relay." metaCanonical="" services="service-bus" documentationCenter=".NET" title=".NET On-Premises/Cloud Hybrid Application Using Service Bus Relay" authors=""  solutions="" writer="sethm" manager="dwrede" editor="mattshel"  />
2
49Service Bus also protects those services from unauthorized access by
50using Windows Azure Active Directory Access Control.
51
85
863. 	Choose the link for the version of Visual Studio you are using. The steps in this tutorial use Visual Studio 2012:
87
178all of the Service Bus dependencies. For details about using NuGet and
179the Service Bus package, see [Using the NuGet Service Bus Package][].
180
270            using System;
271            using System.Linq;
272            using System.Collections.Generic;
559            {
560                using System.Linq;
561                using System.ServiceModel;
cloud-services-dotnet-hybrid-app-using-service-bus-relay.md https://github.com/azuresdkci/azure-content.git | Markdown | 799 lines
1<properties linkid="dev-net-tutorials-hybrid-solution" urlDisplayName="Hybrid Application" pageTitle="Hybrid On-Premises/ Cloud Application (.NET) - Azure" metaKeywords="Azure Service Bus tutorial,hybrid .NET" description="Learn how to create a .NET On-Premises/Cloud Hybrid Application Using the Azure Service Bus Relay." metaCanonical="" services="service-bus" documentationCenter=".NET" title=".NET On-Premises/Cloud Hybrid Application Using Service Bus Relay" authors="sethm" solutions="" manager="dwrede" editor="mattshel" />
2
51Service Bus also protects those services from unauthorized access by
52using Azure Active Directory Access Control.
53
86
873. 	Choose the link for the version of Visual Studio you are using. The steps in this tutorial use Visual Studio 2013:
88
113
114###To create a service namespace using the portal:
115
282            using System;
283            using System.Linq;
284            using System.Collections.Generic;
569            {
570                using System.Linq;
571                using System.ServiceModel;
cloud-services-dotnet-hybrid-app-using-service-bus-relay.md https://github.com/bdacode/azure-content.git | Markdown | 797 lines
1<properties linkid="dev-net-tutorials-hybrid-solution" urlDisplayName="Hybrid Application" pageTitle="Hybrid On-Premises/ Cloud Application (.NET) - Azure" metaKeywords="Azure Service Bus tutorial,hybrid .NET" description="Learn how to create a .NET On-Premises/Cloud Hybrid Application Using the Azure Service Bus Relay." metaCanonical="" services="service-bus" documentationCenter=".NET" title=".NET On-Premises/Cloud Hybrid Application Using Service Bus Relay" authors="sethm" solutions="" manager="dwrede" editor="mattshel" />
2
49Service Bus also protects those services from unauthorized access by
50using Azure Active Directory Access Control.
51
84
853. 	Choose the link for the version of Visual Studio you are using. The steps in this tutorial use Visual Studio 2013:
86
111
112###To create a service namespace using the portal:
113
280            using System;
281            using System.Linq;
282            using System.Collections.Generic;
567            {
568                using System.Linq;
569                using System.ServiceModel;
cloud-services-dotnet-hybrid-app-using-service-bus-relay.md https://github.com/berlstone/azure-content.git | Markdown | 799 lines
1<properties linkid="dev-net-tutorials-hybrid-solution" urlDisplayName="Hybrid Application" pageTitle="Hybrid On-Premises/ Cloud Application (.NET) - Azure" metaKeywords="Azure Service Bus tutorial,hybrid .NET" description="Learn how to create a .NET On-Premises/Cloud Hybrid Application Using the Azure Service Bus Relay." metaCanonical="" services="service-bus" documentationCenter=".NET" title=".NET On-Premises/Cloud Hybrid Application Using Service Bus Relay" authors="sethm" solutions="" manager="dwrede" editor="mattshel" />
2
51Service Bus also protects those services from unauthorized access by
52using Azure Active Directory Access Control.
53
86
873. 	Choose the link for the version of Visual Studio you are using. The steps in this tutorial use Visual Studio 2013:
88
113
114###To create a service namespace using the portal:
115
282            using System;
283            using System.Linq;
284            using System.Collections.Generic;
569            {
570                using System.Linq;
571                using System.ServiceModel;
cloud-services-dotnet-hybrid-app-using-service-bus-relay.md https://github.com/bgoldy/azure-content.git | Markdown | 799 lines
1<properties linkid="dev-net-tutorials-hybrid-solution" urlDisplayName="Hybrid Application" pageTitle="Hybrid On-Premises/ Cloud Application (.NET) - Azure" metaKeywords="Azure Service Bus tutorial,hybrid .NET" description="Learn how to create a .NET On-Premises/Cloud Hybrid Application Using the Azure Service Bus Relay." metaCanonical="" services="service-bus" documentationCenter=".NET" title=".NET On-Premises/Cloud Hybrid Application Using Service Bus Relay" authors="sethm" solutions="" manager="dwrede" editor="mattshel" />
2
51Service Bus also protects those services from unauthorized access by
52using Azure Active Directory Access Control.
53
86
873. 	Choose the link for the version of Visual Studio you are using. The steps in this tutorial use Visual Studio 2013:
88
113
114###To create a service namespace using the portal:
115
282            using System;
283            using System.Linq;
284            using System.Collections.Generic;
569            {
570                using System.Linq;
571                using System.ServiceModel;
cloud-services-dotnet-hybrid-app-using-service-bus-relay.md https://github.com/bhalchandratk/azure-content.git | Markdown | 799 lines
1<properties linkid="dev-net-tutorials-hybrid-solution" urlDisplayName="Hybrid Application" pageTitle="Hybrid On-Premises/ Cloud Application (.NET) - Azure" metaKeywords="Azure Service Bus tutorial,hybrid .NET" description="Learn how to create a .NET On-Premises/Cloud Hybrid Application Using the Azure Service Bus Relay." metaCanonical="" services="service-bus" documentationCenter=".NET" title=".NET On-Premises/Cloud Hybrid Application Using Service Bus Relay" authors="sethm" solutions="" manager="dwrede" editor="mattshel" />
2
51Service Bus also protects those services from unauthorized access by
52using Azure Active Directory Access Control.
53
86
873. 	Choose the link for the version of Visual Studio you are using. The steps in this tutorial use Visual Studio 2013:
88
113
114###To create a service namespace using the portal:
115
282            using System;
283            using System.Linq;
284            using System.Collections.Generic;
569            {
570                using System.Linq;
571                using System.ServiceModel;
System.Boolean.ascx.cs https://github.com/aheroaa/mono.git | C# | 22 lines
1using System;
2using System.Data;
2using System.Data;
3using System.Configuration;
4using System.Collections;
5using System.Collections.Specialized;
6using System.Linq;
7using System.Web;
7using System.Web;
8using System.Web.Security;
9using System.Web.UI;
9using System.Web.UI;
10using System.Web.UI.WebControls;
11using System.Web.UI.WebControls.WebParts;
11using System.Web.UI.WebControls.WebParts;
12using System.Web.UI.HtmlControls;
13using System.Xml.Linq;
System.Byte.ascx.cs https://github.com/aheroaa/mono.git | C# | 22 lines
1using System;
2using System.Data;
2using System.Data;
3using System.Configuration;
4using System.Collections;
5using System.Collections.Specialized;
6using System.Linq;
7using System.Web;
7using System.Web;
8using System.Web.Security;
9using System.Web.UI;
9using System.Web.UI;
10using System.Web.UI.WebControls;
11using System.Web.UI.WebControls.WebParts;
11using System.Web.UI.WebControls.WebParts;
12using System.Web.UI.HtmlControls;
13using System.Xml.Linq;
System.Byte[].ascx.cs https://github.com/aheroaa/mono.git | C# | 22 lines
1using System;
2using System.Data;
2using System.Data;
3using System.Configuration;
4using System.Collections;
5using System.Collections.Specialized;
6using System.Linq;
7using System.Web;
7using System.Web;
8using System.Web.Security;
9using System.Web.UI;
9using System.Web.UI;
10using System.Web.UI.WebControls;
11using System.Web.UI.WebControls.WebParts;
11using System.Web.UI.WebControls.WebParts;
12using System.Web.UI.HtmlControls;
13using System.Xml.Linq;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21