Using Proxy For External Communications?

Feb 24, 2010

Is there a way to configure a proxy for external communications from ASP.NET application ?For example when reading XML file from some other website etc ? If so how would I go about it ?

View 2 Replies


Similar Messages:

Architecture :: Communications Between The Dll's?

Jan 10, 2010

I have to different dll, one dll(data.dll) hold the data in the list and another dll(order.dll) is to get information from outside world. Now when ever the information come out side world the order.dll put it in the data.dll. After that i want it to push it to the client side how is it possible? Is it possible to store the data in the data.dll which is get from the order.dll, so that i can retrive back when it required using webservice?.

View 2 Replies

Class - Handles All Database Communications For The Products Table?

Aug 12, 2010

Coming from PHP it's common to have a simple class that makes talking to a database very easy. Do people use the same approach in .net, or do you have a class for say products, which handles all database communications for the products table?

View 7 Replies

Web Forms :: Createing A New Active Directory Account And Then Activating It For Office Communications Server?

Mar 17, 2011

I would like to make a webpage that enables users to create a new account ina ctive directory from a webpage. I then need the OCS 2007 activation wizard to run, so the user can use Communicator without any human input.

View 1 Replies

What Is A Proxy Web Service

May 12, 2010

What is a proxy web service ?

View 1 Replies

How To Call A Function From The Proxy

Jun 28, 2010

I have created my proxy class from a wsdl file using

wsdl /out:myproxy.cs c:arcodework.wsdl

I have imported it into my windows service application written in c# .net and I want to call a function from the proxy.

It returns an error when I try to call any function from the proxy. How can I make my application to communicate with the proxy file which is myproxy.cs? Here is how the proxy file starts:

using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Xml.Serialization;
//
// This source code was auto-generated by wsdl, Version=2.0.50727.1432.
//
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.1432")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="LifecycleSoapBinding", Namespace="http://service.myservice.workflow.services.barcodework.com")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(UserEdo))]
public partial class BarcodecycleServiceService : System.Web.Services.Protocols.SoapHttpClientProtocol {
...

etc.

View 1 Replies

How To Identify The Request Comes From A Web Proxy In Mvc

Jan 31, 2011

I want to make a statistical record to identify how many visitors come using web proxies to my asp.net mvc site. How to identify them?

View 1 Replies

MVC Controllers Vs Proxy Layer?

Nov 25, 2010

i'm in a project with a service layer (WCF), a proxy layer that are between this service layer and the "controllers". Every controller should call this proxy layer to get data, and instead return a model to be rendered, returns a bigger entity that i've to convert using Linq to a more little model. Then pass it to the view.

Do you think is a good idea that this conversion be done by the controller? In my opinion the controller is not the responsable to shape the incoming object from the proxy layer. This object should be returned by the proxy layer and the controller should pass it to the view directly.

View 1 Replies

Where To Use Proxy Script Manager

May 12, 2010

where do we use proxy script manager

View 1 Replies

MVC :: Reverse Proxy And Authentication?

Feb 21, 2011

We have nearly completed an ASP.NET MVC web application running with SSL in IIS and now find that we must integrate with a third-party product that is supplied as a PHP web app running under lightppd on an alternate port, but still on the same server.

We want to make the integration appear as seamless as possible, so our initial strategy is to do all of the authentication through our application, implement a reverse proxy to expose selected features from the third-party product, and then set-up the third-party product to only be accessible from localhost and (if we can manage it) only from the user our app pool runs as. As a second layer on top of this, we plan on running the third party active content in an IFRAME, so we can surround it with our menus and headers. With the right fonts and colors, hopefully, it won't look grossly out of place.

First question: Is this strategy totally naive? Given the hand we've been dealt, is there a better one?

Second question: What is the best way to implement the reverse proxy? I was thinking of using a routing rule with an Http Handler that invokes our usual authorization just as a controller would and makes the requests to the other site, streaming out the results it receives. Is there something that already does this generically, that I can just hook up and invoke? Maybe some way to specify a controller to handle everything I need to proxy and then use a ViewResult that represents a call to an external URL I construct from the URL I received?

If I can get a few pointers on what to look for, I can trot off to the docs for the details.

View 6 Replies

ADO.NET :: Convert POCO To Proxy?

Jan 7, 2011

In EF4, is it possible to convert a POCO object (created using new MyObject()) to a Dynamic Proxy (like you would get with ObjectContext.CreateObject())?

Using EF4 with T4 template for POCO.

View 3 Replies

C# Webclient - Accessing Web Through Proxy Server?

Apr 21, 2010

I am currently using C# and the webClient class to downloading and uploading images, data, see code below

[code]....

This works fine for a direct internet connection, but fails through a proxy server.

And giving the error "The remote server returned an error: (407) Proxy Authentication Required."

I have tried using the default credentials in the credentials property

[code]....

View 2 Replies

Proxy - Integrate Gmail In Web Application?

Jun 15, 2010

I am using asp.net 3.5 with C#.I want to integrate gmail into my site, just like any widget so that, people can login there and can access their gmail account. Actually gmail is blocked in my organisation & I want to access it via proxy that I can integrate in my website.

View 2 Replies

Way To Define More Than One Proxy In The Web.config For An Application

May 7, 2010

there is a way to define more than one proxy in the web.config for an application?

View 1 Replies

Configuration :: How To Create The WCF Proxy At Runtime

Jun 23, 2010

How we can create a WCF proxy by giving the url in code at runtime??

not with WSDL tool or VS Web reference

View 2 Replies

WCF / ASMX :: Add Web Service Reference From Behind Proxy?

Jan 12, 2011

I want to add web service reference but we are using proxy. Is there a way to bypass proxy and add web service reference?

View 1 Replies

Catch IP From Which Receiving A Connection (With Proxy)?

Dec 2, 2010

Catch IP from which receiving a connection (With proxy)?

View 4 Replies

Web Forms :: IE 7 With Webforms And Proxy Server?

Sep 8, 2010

I have started having problems with our asp.net webform applications running behind a proxy since the user base have upgraded to IE7. Some postbacks seem to drop out and at times it is difficult to make controls on a page raise an event. It appears to be intermittant and I have been told there are issues around using IE7 behind a proxy with post requests. Is this the case and what are the options? Rewite in MVC? Does the issue of post requests behind a proxy remain in IE8?

View 3 Replies

WCF / ASMX :: Give A Strong Name To Proxy Dll?

May 28, 2010

I have an asmx file that was created using notepad. Then I created the proxy class using wsdl.exe. Now I have a dll that I want to put it in GAC. GAC needs the DLL to have a strong name. How can I create a strong name for the web service?

View 2 Replies

HttpHandlers / Modules :: Get The Html Through Proxy?

Aug 27, 2010

I am looking for the solution of how do I get the html of a web page through proxy. I have an input of proxy server name, port number, url of web page and accelerated_pac_base.pac file which contains FindProxyForURL(url, host) method. [URL] has more information about PAC file. How do I do this in c#.

View 5 Replies

Build Proxy Site That Renders Any URL?

Sep 27, 2010

I want to build a proxy site that renders any URL. Given an url, I need to replace all html links, css links and js urls from href="/original.htm" to [URL] sort of. How can I do? is there a ready-to-use framework? I use ASP.NET and C#.

View 1 Replies

C# - Dispose A Web Service Proxy Class?

May 13, 2010

When you create and use a Web Service proxy class in the ASP.Net framework, the class ultimately inherits from Component, which implements IDisposable. I have never seen one example online where people dispose of a web proxy class, but was wondering if it really needs to be done. When I call only one method, I normally wrap it in a using statement, but if I have a need to call it several times throughout the page, I might end up using the same instance, and just wondered what the ramifications are of not disposing it.

View 4 Replies

WCF / ASMX :: Use Xsd Directly Rather Than Using Proxy Class?

May 11, 2010

When I do server side soap service programming, I create proxy classes first using some xsd schemas.

Xsd schemas are already defined by another company.my problem is these schemas have master xsds and child xsds which means on master xsds there are references to child xsds.

In this case I have 2 different questions.

1) Is it possible to use xsd schemas directly to build soap service without generating proxy classes.

2) If it is not possible, I am using vs command prompt by typing xsd /c /l:vb nameofmasterfile.xsd

but while there references to child xsds, I am getting an error msg. thats why I had to flatten these xsds in the past. Is it possible to generate all classes in one shot. any external program also ok.

View 2 Replies

Web Forms :: Send E-mail Through Proxy?

Jan 21, 2010

Is it possible to send an e-mail in my Asp.Net application through a Proxy server?

I tried using system.net configuration on my web.config but it seems that it accepts only URL proxies. Here's what I'm using:

[Code]....

I tried to disable the defaultProxy setting but I still couldn't send e-mails. I was able to get a remote web page content through my code using System.Net's WebProxy, WebResponse, WebRequest and NetworkCredential.

Unfortunately, SmtpClient does not provide a Proxy property. Is there any technology available to send e-mails through a proxy server? Currently I'm using .Net Framework 2.0 but if it's possible using 3.0, 3.5, Ajax Extensions or anything like that I'll start using it. But so far I couldn't find anything related to it anywhere.

If it's not possible then I'm gonna have to place a system requirement for a direct connection to the internet... I don't like it very much, but if its not possible....

View 2 Replies

Web Forms :: WebService JS Proxy Is Not Cached?

Mar 16, 2011

I have several JS proxies generated on the page through using code like:

scriptManager.Services.Add(new ServiceReference("~/Service.asmx"));

This code generates the following JS proxy on ASPX page where it is used:

<script src="../../Service.asmx/js" type="text/javascript"></script>

This file is not being cached in browser cache. I checked in firebug and in header it says:

Cache control: private

All other JS and CSS files are being cached with "Cache-Control: public,max-age=8640000". In web.config I have:

<staticContent>
<clientCache cacheControlCustom="public" cacheControlMode="UseMaxAge" cacheControlMaxAge="100.00:00:00" />
</staticContent>

How can I get JS Proxy files to cache?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved