• Home
  • About
  • BestBloggingIdeas
  • DotNetLearningSource
  • FORUM
  • Joblinks
  • Latest News
  • Policy
  • POSTS
  • SimplySqlServer.Com && SimplyAspDotNet.Com
  • Sitemap

Join Ours Forum

Asp.Net,C#,Ajax,Sql server,silverlight,Javascript codes exambles articles,Programming exambles

RSS Feed
  • Bounty Huge Roll [Amazon Frustration-Free Packaging]
  • XML Introduction to XML VHS Video Training, 1 hr., 32 minutes.
  • The Basic Overview of Windows Mobile Development Asp.Net C#
  • Overview of Sql server extended properties Asp.Net C#
  • How to Use Sql Server Extended properties using visual studio Asp.Net C#
  • Adobe Dreamweaver Templates Accelerate Web Development
  • Top Tips for Web Design Projects
  • How to Achieve a Good Web Design Structure
  • To Use Or Not To Use Website Templates
  • Five Tips to a Successful Website
  • Top 10 Articles,


    Silverlight Datagrid Select Update Delete Insert Asp.Net C#

    Differences Similarities Benefits Between Typed Datasets and Untyped Datasets asp.net c#

    Linq to Sql Introduction Entities Ado.Net C# SqlClasses Attributes Linq Mapping

    Linq Programming/How Linq Works?/Linq Implementation In Asp.Net C# Ado.Net

    Performing Developing Using Investigating Asp.Net 2.0 Ajax Application Development Asp.Net C#

    Hosting/Install Wcf Services in a Windows Service Asp.Net C#

    Connecting Silverlight to Wcf Asp.Net C#

    Silverlight Data Grid Data Binding WCF Asp.Net C#

    Invoking/Accessing/Calling WCF Service Without Adding/Creating Proxy/Reference Asp.Net C#

    Performing Doing Creating Insert Update Delete sql data Using Linq Database Asp.Net C#

    How to Deploy and Publish a Web service:

    Posted by on October 27, 2009 Leave a comment (4) Go to comments

    In this article you will learn
    how to deploy and publish a Web service.

    Before you deploy a Web service, you must
    make sure that the Web service specifies a
    unique XML namespace. This name-space is used
    within the Web service WSDL document to
    uniquely identify the callable entry points
    of the service.Initially we set as
    http://tempuri.org/  .Now we need to change,
    with ours custom domain name.

    For Updating namespace,

    Step 1:Open the SampleService.asmx file in text editor.

    Step 2:Add the WebService attribute along with the
    Namespace property (using the appropriate
    language syntax) and set it to the appropriate
    value.
    [WebService(Namespace="http://mydomain.com/SampleService/")]
    public class SampleService: WebService{
        // implementation
    }

    For Deploying Web service to Web server we need to
    copy the following files.

    Servicename.asmx–>The Web service entry point file.
    The folder containing this file should be configured
    as a Web application directory in IIS.

    Global.asax –>The ASP.NET application startup file.

    Web.Config –>The ASP.NET application configuration file.

    Servicename.dll –> The Web service assembly that
    contains the implementation classes for the Web
    service as well as any dependent assemblies
    not a part of the .NET Framework.

    We can use the following methods to deploy the
    Web service.

    Visual Studio Web Setup Project

    Visual Studio Project Copy

    DOS XCOPY command

    Visual Studio Web Setup Project:

    Web setup involves the following steps,

    Create a Web Setup Project using the Web Setup
    Project template in Visual Studio.

    Build the project.

    Copy the installation package to the target Web server.

    Run the installation package on the target Web server.

    Visual Studio Project Copy:

    The following are the three options available for copying files:

    Only Files Needed To Run This Application: Copies all DLLs with
    references in the /bin folder as well as any files marked
    with a BuildAction of Content.

    All Project Files: Copies all project files created
    and managed by Visual Studio.

    All Files In The Source Project Folder: Copies all Visual
    Studio project files as well as other files that reside
    in the project folders.

    The default option is to copy only the files needed
    to run the application.

    XCOPY:

    Xcopy is dos command,for utilizing Xcopy just type in

       XCOPY /? in command prompt,you can find all related
    details about XCOPY.

    Publishing Web Services:

    Publishing a Web service enables potential consumers
    to locate and interrogate service descriptions that
    instruct the consumer on how to interact with the Web
    service. The process of locating and interrogating Web
    service descriptions is referred to as the discovery process.

    The following are the two methods for enabling discovery
    of a Web service:

    DISCO

    UDDI

    You may choose to use one or both of these methods based
    on the consumer audience you are trying to reach.

    If your consumer population is fairly small
    (or well known), you could simply point them
    to the target Web server and deploy the
    DISCO file on this server. In this case,
    the consumers will invoke the discovery process
    against the URL of the target server and locate
    your Web service description. In this situation,
    you only need to deploy your DISCO documents
    to the proper server and inform the consumers of
    the URL to the server.

    On the other hand, if your consumer population
    is relatively large or unknown (in which case
    it is impractical to provide them with a pointer
    to the target Web server where the service is
    located), you will need to provide a mechanism
    for the consumers to find where your DISCO and/or
    Web service descriptions are located, just as
    Web users utilize search engines to find Web
    pages. In this situation, you will need to
    publish your Web service through UDDI.

    DISCO:

    We need disco.exe for deplying web services.

    UDDI:

    For using UDDI we need to register our web
    service in UDDI.org.Just go to UDDI.org/register.html
    for further details,

    fig26_01

    Hope this helps,

    Happy Coding.

    WEB SERVICES
    ← How to Create Web Service Remote Calls Using Ajax:
    How to Create Overloaded Web Methods in Web Services →

    Learn Easily Using Video Tutorials


    How to choose the right Java IDE – explained Eclipse NetBeans BlueJ

    Developing/Creating/Performing/Configuring Java Applications Using Eclipse IDE

    Step By Step Guide for Download/Install Configure Eclipse IDE for Java

    Editing data with the GridView control Asp.Net C#

    Registering/Configuring Web Controls globally in web.config file asp.net c#

    Registering/Configuring Web Controls globally in web.config file asp.net c#

    Best way to prepare asp.net Interview - Success Stories

    Download Important Questions and PPT's:

    Sql Server Important Questions Online free download

    Dotnet Important Questions Online free download

    Exploring Linq to Sql Process Flow

    Learn how to perform silverlight programming

    Learn OOPs concepts in better and well manner

    Learn Ajax in better and well manner

    Leave a comment

    4 Comments.

    1. SmokeEate April 1, 2010 at 11:40 am

      I read a article under the same title some time ago, but this articles quality is much, much better. How you do this?

    2. Grayfox April 16, 2010 at 4:12 pm

      I would appreciate more visual materials, to make your blog more attractive, but your writing style really compensates it. But there is always place for improvement

    3. Issac Maez August 8, 2010 at 12:39 pm

      Hi, i must say fantastic website you have, i stumbled across it in Google. Does you get much traffic?

    4. minority scholarships December 10, 2010 at 8:40 pm

      Superb blog post, I have book marked this internet site so ideally I’ll see much more on this subject in the foreseeable future!

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    *

    *


    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    Enter your email address:

    Delivered by FeedBurner

    • Recent Posts

      • Bounty Huge Roll [Amazon Frustration-Free Packaging]
      • XML Introduction to XML VHS Video Training, 1 hr., 32 minutes.
      • The Basic Overview of Windows Mobile Development Asp.Net C#
      • Overview of Sql server extended properties Asp.Net C#
      • How to Use Sql Server Extended properties using visual studio Asp.Net C#
    • Search by Tags!

      Application AspNet Basic between Black Bluetooth Build Business Collection Consultants Design Development Downloading effective Excel Experts Generics Implement Installing Interview Logic Management Microsoft Minutes Object Outlook Professional Programmer Programming Project Projects Questions Ready Select Server Services Silverlight Source Strings Studio Through using Visual Website Wordpress
    • Archives

      • August 2011
      • June 2011
      • May 2011
      • April 2011
      • March 2011
      • February 2011
      • December 2010
      • November 2010
      • October 2010
      • September 2010
      • August 2010
      • July 2010
      • June 2010
      • May 2010
      • April 2010
      • March 2010
      • February 2010
      • January 2010
      • December 2009
      • November 2009
      • October 2009
      • September 2009

    Copyright © 2012 NetProgrammingHelp.com

    Δ Top