Click here to Skip to main content
15,886,110 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Message box in asp.net Pin
pmarfleet2-Feb-08 4:51
pmarfleet2-Feb-08 4:51 
GeneralRe: Message box in asp.net Pin
Navdeep Bhardwaj4-Feb-08 23:34
Navdeep Bhardwaj4-Feb-08 23:34 
GeneralRegarding certification....... Pin
tasumisra31-Jan-08 19:34
tasumisra31-Jan-08 19:34 
GeneralRe: Regarding certification....... Pin
pmarfleet1-Feb-08 23:12
pmarfleet1-Feb-08 23:12 
AnswerRe: Regarding certification....... Pin
Vasudevan Deepak Kumar5-Feb-08 22:09
Vasudevan Deepak Kumar5-Feb-08 22:09 
GeneralMonitor creation of threads or message queues Pin
schwiemn31-Jan-08 13:44
schwiemn31-Jan-08 13:44 
GeneralRe: Monitor creation of threads or message queues Pin
S. Senthil Kumar1-Feb-08 19:21
S. Senthil Kumar1-Feb-08 19:21 
GeneralWCF Pin
hichamveo31-Jan-08 11:07
hichamveo31-Jan-08 11:07 
hello,I have this exception when i run my host service:
"HTTP was unable to enter the URL http:// +: 2605/SolutionWCF/WCFLibrarie. The process does not have access rights to that namespace"

host code:

namespace Host
{
class Program
{
static void Main(string[] args)
{
Uri baseAdresse = new Uri("http://localhost:2605/SolutionWCF/WCFLibrarie");
ServiceHost monHost = new System.ServiceModel.ServiceHost(typeof(WCFLibrarie.Class1),baseAdresse);
try
{
monHost.AddServiceEndpoint(typeof(monPremierWCF.interfaceWCF), new WSHttpBinding(), "WCFLibrarie.Class1");
ServiceMetadataBehavior smb = new ServiceMetadataBehavior();
smb.HttpGetEnabled = true;
monHost.Description.Behaviors.Add(smb);

monHost.Open();

Console.WriteLine("les services sont maintenant disponibles.............. ");
Console.WriteLine("Cliquer sur <ENTRER> pour fermer les services!!!");
Console.WriteLine();
Console.ReadLine();

monHost.Close();
}
catch (CommunicationException ex)
{
Console.WriteLine("Une Exception est generée{0}", ex.Message);
monHost.Abort();
}

}
}
}

Contract:

amespace monPremierWCF
{
[System.ServiceModel.ServiceContract]
public interface interfaceWCF
{
[System.ServiceModel.OperationContractAttribute]
string majiscule(string chaine);

[System.ServiceModel.OperationContractAttribute]
string mainiscule(string chaine);

}
}

service:

namespace WCFLibrarie
{

public class Class1 : monPremierWCF.interfaceWCF
{


#region interfaceWCF Members

string monPremierWCF.interfaceWCF.majiscule(string chaine)
{

return string.Format("hello {0}", "hicham").ToUpper();
}

string monPremierWCF.interfaceWCF.mainiscule(string chaine)
{
return string.Format("hello {0}", "hicham").ToLower();
}

#endregion
}
}

my App turn on :
Win vista ultimate

Thanks.

sdfrt

GeneralRe: WCF Pin
Joachim Kerschbaumer6-Feb-08 4:07
Joachim Kerschbaumer6-Feb-08 4:07 
QuestionYour thoughts about .Net Reactor Pin
Jiaan31-Jan-08 8:29
Jiaan31-Jan-08 8:29 
GeneralRe: Your thoughts about .Net Reactor Pin
Mark Churchill1-Feb-08 3:18
Mark Churchill1-Feb-08 3:18 
GeneralRe: Your thoughts about .Net Reactor Pin
Jiaan1-Feb-08 3:30
Jiaan1-Feb-08 3:30 
GeneralRe: Your thoughts about .Net Reactor Pin
Mark Churchill1-Feb-08 3:47
Mark Churchill1-Feb-08 3:47 
GeneralRe: Your thoughts about .Net Reactor Pin
Jiaan1-Feb-08 3:55
Jiaan1-Feb-08 3:55 
GeneralRe: Your thoughts about .Net Reactor Pin
Mark Churchill1-Feb-08 3:56
Mark Churchill1-Feb-08 3:56 
GeneralWCF service question-detect shutdown inside the service Pin
Chris Bardon31-Jan-08 3:05
Chris Bardon31-Jan-08 3:05 
GeneralMSBuild Problem Pin
Mbire30-Jan-08 23:39
Mbire30-Jan-08 23:39 
GeneralRe: MSBuild Problem Pin
Scott Dorman2-Feb-08 3:47
professionalScott Dorman2-Feb-08 3:47 
QuestionSSL Client side certificates are killing me Pin
JoeJoe10130-Jan-08 9:53
JoeJoe10130-Jan-08 9:53 
GeneralRe: SSL Client side certificates are killing me Pin
led mike30-Jan-08 10:48
led mike30-Jan-08 10:48 
QuestionHow to convert a web application fr0m 1.1 to 2.0? Pin
Gandalf_TheWhite30-Jan-08 2:13
professionalGandalf_TheWhite30-Jan-08 2:13 
GeneralRe: How to convert a web application fr0m 1.1 to 2.0? Pin
TJoe30-Jan-08 7:13
TJoe30-Jan-08 7:13 
GeneralSocket Problems Pin
J. Holzer29-Jan-08 22:58
J. Holzer29-Jan-08 22:58 
GeneralRe: Socket Problems Pin
Mark Churchill30-Jan-08 2:07
Mark Churchill30-Jan-08 2:07 
GeneralRe: Socket Problems Pin
J. Holzer30-Jan-08 3:46
J. Holzer30-Jan-08 3:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.