Visual Basic.NET
  Home arrow Visual Basic.NET arrow Page 4 - Final Steps for Security Optimization with...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Moblin 
JMSL Numerical Library 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
VISUAL BASIC.NET

Final Steps for Security Optimization with Web Services
By: MSDN Virtual Labs
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2006-08-03

    Table of Contents:
  • Final Steps for Security Optimization with Web Services
  • Configuring the Client for Secure Conversation
  • Exercise 5 Routing Secure Messages
  • Configuring the Client for Routing
  • Configuring the Service for Routing

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Final Steps for Security Optimization with Web Services - Configuring the Client for Routing


    (Page 4 of 5 )

      1. Open RouterApp.sln in the before directory. This solution contains two projects: RouterClient and RouterService.

        Note: these applications have various security features enabled through policy files.

      2. Go to the Web References folder of the RouterClient project in Solution Explorer.
      3. Right click on the localhost node, select Properties, and change URL Behavior to Dynamic. Repeat this step for each Web reference node (localhost1, localhost2, and localhost3).

        Note: changing the URL Behavior property to dynamic causes the proxy class to read the endpoint URL from the application configuration file. You'll notice some new elements in the <appSettings> in app.config.

      4. Right click the RouterService project and select Build.
      5. Right click on the localhost node in the RouterClient project and select Update Web Reference. Repeat this step for each Web Reference node.
      6. Open app.config in the RouterClient project and locate the <appSettings> element. Modify each URL mapping so the section looks like this:

        <configuration>
          ...
          <appSettings>
            <add key="RouterClient.localhost. ViewInvoices" 
        value="
        http://localhost/router
        /view.ashx
        "
        />
            <add key="RouterClient.localhost1.
        SubmitInvoice" value="
        http://localhost/router
        /submit.ashx
        " />
            <add key="RouterClient.localhost2.
        ApproveInvoice" value="
        http://localhost/router/
        approve.ashx
        " />
            <add key="RouterClient.localhost3.
        PayInvoice" 
        value="
        http://localhost/router/
        pay.ashx
        "
        />
          </appSettings>
        </configuration>


        Note: these mappings will cause the client application to send its messages to the router virtual directory, which will then route them based on the referral instructions. 

      7. Save app.config.

     

    VISUAL BASIC.NET ARTICLES

    - Create a Sudoku Puzzle Generator using VB.NET
    - Entity Creation and Messaging in a VB.NET Te...
    - Movement and Player Statistics in a VB.NET T...
    - Creating and Drawing a Game Map in VB.NET (F...
    - Working with Classes and Properties for Game...
    - Working with Loops, Arrays, and Collections ...
    - Learning Loops in VB.NET for Game Development
    - Learning VB.NET: Working with Variables, Con...
    - The Basics of VB.NET Through Text Game Devel...
    - Learning VB.NET Through Text Game Development
    - Types of Operators in Visual Basic
    - Operators
    - Understanding Custom Events using Visual Bas...
    - Polymorphism using Abstract Classes in Visua...
    - Shadowing using Shadows in Visual Basic.NET ...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway