|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using PortableLibrary;
namespace WcfService
{
// NOTA: è possibile utilizzare il comando "Rinomina" del menu "Refactoring" per modificare il nome di classe "Login" nel codice, nel file svc e nel file di configurazione contemporaneamente.
// NOTA: per avviare il client di prova WCF per testare il servizio, selezionare Login.svc o Login.svc.cs in Esplora soluzioni e avviare il debug.
public class Login : ILogin
{
public UserContext UserLogin(String username, String password)
{
return new UserContext()
{
Username = "mike",
Email = "mikezip@gmail.com"
};
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.