.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

sending SMS over HTTP/HTTPS in vb.net

Posted By:      Posted Date: October 08, 2010    Points: 0   Category :ASP.Net

i want to send sms by using http/https,can nay one tell me hoe can i do this ?

View Complete Post

More Related Resource Links

How to switch between HTTP and HTTPS in ASP.NET MVC2


ASP.NET MVC2 has the new RequireHttpsAttribute that you can use to decorate any action to force any non-secure request to come through HTTPS (SSL).  It can be used as simply as this:

        public ActionResult LogOn()

Now any request to the LogOn action that is not over HTTPS will automatically be redirected back to itself over HTTPS.  This is very useful and easy to implement.

Unfortunately though, once the scheme is changed to HTTPS, all following requests will also be under HTTPS, which is not necessarily what you want.  In most cases you do not need all requests to your site to be secure but only certain ones such as the logon page or pages that accept credit card information. 

To handle this you can override the Controller.OnAuthorization method.  From within this method, you can check to see if the RequireHttps attribute is set on the Controller Action by searching the Attributes collection of the ActionDescriptor object. If the RequireHttpsAttribute is not set AND the request is under SSL, then return a redirect result to the HTTP (no

workflows on https: versus http:

I have a production site that uses https:.  I noticed that if I access the site with http instead, the workflows don't start.  Can anyone explain that to me please?

why does WSDL file have httpS? i just need http

I built my c# web service.  Tested it.  I built my android app.  Tested it.  All is well.  I tried to get these things to talk to each other...FAIL.  I found these lines in my wsdl. <wsdl:service name="Service1"> - <wsdl:port name="Service1Soap" binding="tns:Service1Soap"> <soap:address location="" /> </wsdl:port> - <wsdl:port name="Service1Soap12" binding="tns:Service1Soap12"> <soap12:address location="" /> </wsdl:port> </wsdl:service> What decided that the path should be https?  I never told it that.  It is overriding IIS which says everything should be http.  Someone please help me before I go ballistic.  Oh and for others developing on android 2.2, it won't take unsigned certs, so you either have to configure a local certificate authority or go http. 

switch between http to https

What is the best way to switch to https from http for some of my aspx pages. Currently, I"m using relative page for all pages.

User permissions in SharePoint 2010 act differently in http and https

I installed SharePoint 2010, created a site (complete with a document library), and assigned user permissions.  Additionally, I set up certificate authentication for all users.  Two problems occur: 1. As the system administrator, when I access the https site, I no longer have permissions to add/edit users 2. When user's, who have permissions to edit/add a document/folder click on "Add document" or the folder icon to add a new folder, they get an error. Any help is much appreciated.

WCF fails to work for HTTPS & HTTP

Currently I am having an issue with getting my WCF ajax calls to work with HTTPS. I get a javascript error telling me the service cannot be found. We need to be able to be able to access the site through http and https. We have some of our consultants who cannnot access the site via their client site without using https. We need both http and https to work. Here is my web.config as is now...   <system.serviceModel> <behaviors> <endpointBehaviors> <behavior name="Time.AjaxServiceAspNetAjaxBehavior"> <enableWebScript /> </behavior> </endpointBehaviors> </behaviors> <bindings> <webHttpBinding> <binding name="webHttpBindingAuthenticated" sendTimeout="00:04:00"> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Ntlm" /> </security> </binding> </webHttpBinding> </bindings> <serviceHostingEnvironment aspNetCompatibilityEnabled="true" > <baseAddressPrefixFilters> <add prefix="http://www.ourdomain.com"/> </baseAddressPrefixFilters> </serviceHostingEnvironment> <services> <service name="Time.AjaxService"> <endpoint address="" behaviorConfiguratio

WCF webservice: HTTP/1.1 400 Bad Request while sending large input

I am connecting to a WCF based webservice. For certain methods, the input contains a list of objects/structures. When the number of items in this list increases beyond a certain number, the service fails with HTTP/1.1 400 Bad Request when I try to test the same using SOAPUI. I tried changing the web.config file with the following changes: <httpRuntime maxRequestLength="2097151" /> <binding name="basicHTTP" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:01:00" sendTimeout="00:01:00" maxReceivedMessageSize="4194304" maxBufferSize="98547" maxBufferPoolSize="258547"> <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> </binding>   Kangkan

Yahoo Contacts API causes problems (HTTP to HTTPS and back to HTTP)


Dear All, 

I have an asp.net website hosted in a shared hosting environment. I also registered my site to have Yahoo and Google App IDs so that I can user their Social APIs to import my user's contacts (via OAuth). So everything was running fine until I've installed a SSL certificate. My site uses forms authentication which redirects each request to http://mysite.com/account/login.aspx now I wanted this page to be delivered via HTTPS so I wrote the following code in the Page_Init event of the login.aspx page:

    Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
        If Not Request.IsSecureConnection Then
            Dim RetUrl As String = Request.Url.ToString.Replace("http", "https")
        End If
    End Sub

so it did the right thing for me. When user is authenticated using Forms Authentication it redirects the user to the UserHome.aspx page but with the HTTPS

URL is: https://mysite.com/userhome.aspx

so now each and every request is served using HTTPS and this is not a big problem but the Y

Sending multiple HTTP requests asynchronously using .NET



  Is it possible to send multiple HTTP requests asynchronously to an ASP.NET web site or any other web server using .NET ? And, then. collect responses from those requests as they come using .NET asynchronous paradigm ? Is it possible ? Or would there still be limit of max 2 HTTP connections from .NET using HTTP ?

Thanks in advance and regards



error sending SOAP data to http://localhost/myWCFService/MyWCFService.svc


I am a beginner with WCF services, trying to learn. I created a WCF service where MyWCFServiceInterface has service and data contracts. MyWCFService class implements this interface and has two methods that connect to sqlServer DB to run Sprocs to fetch data. I am hosting this WCFService using IIS6.0. I created a webclient to test the service, which works fine. When I call the service using soap request I get the following error: Could not POST file MyWCFService/MyWCFService.svc on server localhost(415). error sending SOAP data to http://localhost/MyWCFService/MyWCFService.svc


Please check the following wsdl and the soap request and suggest corrections. I greatly appreciate your help. Thanks.



<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap12=&q

Does SSL activation in Reporting Services 2005 exclude the use of http in favor of https ?


Hello SSRS Community,

I would like to know if the activation of SSL (Secure Socket Layer) allow the use of both HTTP and HTTPS to access the report server

I have been asked by a web developer in my company to check if in SQL Server 2005 reporting services the activation SSL makes it possible to access the Report Server with both HTTP and HTTPS.
For example:
1. Without SSL activation you can use http://ServerName/ReportServer to access your report server
2. Once SSL is activated, we are wondering if it will be possible to access the Report Server with the following two links:
a. https//ServerName:443/ReportServer

Thank you


Force SharePoint 2010 Webapplications to use https intead of Http



Environment :

Sharepoint 2010 server enterprise, Website uses host headers, impleted wild cart cert and reqeusts over http and https are both working fine.

i want to force user to use https instead of http so that any request comming in over http is automatically redirected to https, i have tried the following but did not work for me :

1. IIS>SSL Settings>  select Require SSL, but with this option all requests with http are dropped.

2. IIS>http Redirect> enter the same url but with HTTPS, this bring the IE request in a loop, might be becuase i am using host headers but IE keeps thinking forever.

Can any one suggest what is the best way to handle this issue.



Do Session Variables Persist between HTTP and HTTPS?


Hey guys,

Just wondering whether or not Session Variables that are declared and set while in a HTTP session will continue to exist if the users session moves to HTTPS?


Hope I'm making sense.



Report Access over HTTP and HTTPS


We have a strange issue with our sharepoint server in that when accessing the sharepoint site through http reports work, when accessing through https, reports dont work.  I am not a sharepoint expert by any means but have been tasked with fixing the problem.  here is what  I have observed:

Scenario 1

When accessing sharepoint via http://FQDN_of_Site I am taken to the login page to login.  Once authenticated, the client portal (non-secure, http) is displayed and I have the option to run several reports.  Clicking the report link displays the report as expected.

Scenario 2

When accessing sharepoint via https://FQDN_of_Site I an taken to the login page to login.  Once authenticated, the client portal (secure, https) is dispalyed and I have the option to run several reports.  Clicking the report link results in the following error:

The item 'https://FQDN_of_Site/Reports/Report_Name.rdl' cannot be found. (rsItemNotFound)

The server does have a vaild SSL cert.

There are three serveres being used.  One server for SQL, One Server for Sharepoint, One Server for Reports

As a recap:

http://FQDN_of_Site/Client_Name/ReportList.aspx works
https://FQDN_of_Site/Client_Name/ReportList.aspx does not work

Any hel

How to change my web url for HTTP to HTTPS in windows server 2008


I am planning my web url secured by changing it HTTPS. For this i went to IIS and created a CCR and i went to one of the site and i pasted this to generate a free certificate. But it is showing domain already existing. Please suggest complete details of how to create a certificate and to change the link from HTTP to HTTPS.


Thanks in Advance

Only http OR https works after installing new SSL



I have MOSS 2007 and it is published through an ISA 2006 Server. My SSL recently expired, so I purchased a new SSL and installed it on my MOSS server on the SharePoint - 80 server. I then exported it and installed it on my ISA Server using these instructions (http://www.isaserver.org/articles/exportsslcert.html).

Everything works fine if users log in through the ISA Server (these users are external to our Network).

However, internal users navigating directly to SharePoint could no long reach http:// links. When I remove the SSL, http:// links work, but https:// links do not.

I don't believe I changed anything except installing the new SSL. How can I get both http and https traffic working again with the SSL installed on the SharePoint box?


Thanks in advance.

No Endpoint exception on large file sending through https




I have a WCF webservice. I'm using https for communication between client and server. Everithyng works fine till the file I send through WCF is smaller then ~20MB.

When I want to attach a larger file I get exception. I turned on the diagnostic logging and saw this exception:

<ExceptionString>System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at https://MyServer/MyWebApp/MyService.svc/ws that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---&gt; System.Net.WebException: The remote server returned an error: (404) Not Found.
  at System.Net.HttpWebRequest.GetResponse()
  at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
  --- End of inner exception stack trace ---</ExceptionString>
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend