Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

Dinesh92

@Dinesh92
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • I am not able to run the page on browser.
    D Dinesh92

    Hi team, I have made a wcf service with asp.net website. service runs on localhost,but the page default.aspx which is linked to the service doesn't run. please help me in this regards. IService:

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Runtime.Serialization;
    using System.ServiceModel;
    using System.Text;

    // NOTE: If you change the interface name "IService" here, you must also update the reference to "IService" in Web.config.
    [ServiceContract]
    public interface IService
    {
    [OperationContract]
    string hello(string m);

    }

    Service.cs:

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Runtime.Serialization;
    using System.ServiceModel;
    using System.Text;

    // NOTE: If you change the class name "Service" here, you must also update the reference to "Service" in Web.config and in the associated .svc file.
    public class Service : IService
    {
    public string hello(string n)
    {
    return n;
    }

    }

    Default.aspx:

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.ServiceModel;

    namespace MyWebSite
    {
    public partial class _Default : System.Web.UI.Page
    {
    //MyService.ServiceClient client = new MyWebSite.localhost.ServiceClient();
    localhost.Service cl = new MyWebSite.localhost.Service();
    protected void Page_Load(object sender, EventArgs e)
    {

        }
    
        protected void Button1\_Click(object sender, EventArgs e)
        {
            string name = TextBox1.Text;
    
            Response.Write("Hello....."+cl.hello(name));
        }
    }
    

    }

    WCF and WF csharp asp-net wcf linq design

  • Prevent Data theft?
    D Dinesh92

    there is USBreadWriteProtect tool,you can google it,it's free..

    Free Tools com question learning

  • The type or namespace name 'Excel' could not be found
    D Dinesh92

    i think you should use "Add reference", right click on form->Add reference, there you will get all the namespace which are available. :)

    C# com csharp dotnet help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups