Click here to Skip to main content
15,887,338 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: HTML fo uploading image file Pin
Nathan Minier10-Jan-17 6:43
professionalNathan Minier10-Jan-17 6:43 
GeneralRe: HTML fo uploading image file Pin
FilippoCSM10-Jan-17 9:20
FilippoCSM10-Jan-17 9:20 
QuestionWCF Service consumed through browser but NOT with WCFClient Pin
MrKBA5-Jan-17 20:17
MrKBA5-Jan-17 20:17 
AnswerRe: WCF Service consumed through browser but NOT with WCFClient Pin
Nathan Minier6-Jan-17 1:25
professionalNathan Minier6-Jan-17 1:25 
GeneralRe: WCF Service consumed through browser but NOT with WCFClient Pin
MrKBA6-Jan-17 1:57
MrKBA6-Jan-17 1:57 
GeneralRe: WCF Service consumed through browser but NOT with WCFClient Pin
Nathan Minier6-Jan-17 3:50
professionalNathan Minier6-Jan-17 3:50 
GeneralRe: WCF Service consumed through browser but NOT with WCFClient Pin
MrKBA6-Jan-17 4:45
MrKBA6-Jan-17 4:45 
QuestionSignalR on IIS Not Working Pin
Kevin Marois5-Jan-17 13:08
professionalKevin Marois5-Jan-17 13:08 
I have a simple SignalR app that runs fine when self hosted or hosted in VS2015's IIS.

When I attempt to host it in full IIS I don't get very far. Here's my connect code:
public void Connect()
{
    _connection = new HubConnection(ServerUri);

    if (_enableDebugging)  //<== is True for debugging right now
    {
        _connection.TraceLevel = TraceLevels.All;
        _connection.TraceWriter = Console.Out;
    }

    _hubProxy = _connection.CreateHubProxy(HUB_NAME);

    _hubProxy.On<string>("EchoMessage", EchoMessage);
    _hubProxy.On<AssayDashboardInfo>("ResultsAdded", ResultsAdded);
    _hubProxy.On<AssayDashboardInfo>("ResultsChanged", ResultsChanged);

    _connection.Error += _connection_Error;
    _connection.StateChanged += _connection_StateChanged;

    try
    {
        _connection.Start();
    }
    catch (Exception e)
    {
        _logger.Error("*** Connection failed", e);
    }
}

I get no error messages or exceptions. What I DO get is some output in the Console Window:

23:57:41.8538683 - null - ChangeState(Disconnected, Connecting)
23:57:42.0208850 - null - Disconnected
23:57:42.0208850 - null - Transport.Dispose()
23:57:42.0218851 - null - Closed

Again, with no exception or error info I can only assume that it's not finding the hub. The _connection_StateChanged event is called twice - first with "Connecting" then immediately with "Disconnected." And that's as far as I get.

At this point I'm reaching out to see of anyone know what these messages mean or what I'm doing wrong.

Thanks
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

AnswerRe: SignalR on IIS Not Working Pin
ZurdoDev6-Jan-17 5:50
professionalZurdoDev6-Jan-17 5:50 
GeneralRe: SignalR on IIS Not Working Pin
Kevin Marois6-Jan-17 5:51
professionalKevin Marois6-Jan-17 5:51 
GeneralRe: SignalR on IIS Not Working Pin
ZurdoDev6-Jan-17 5:54
professionalZurdoDev6-Jan-17 5:54 
GeneralRe: SignalR on IIS Not Working Pin
Kevin Marois6-Jan-17 6:04
professionalKevin Marois6-Jan-17 6:04 
GeneralRe: SignalR on IIS Not Working Pin
ZurdoDev6-Jan-17 6:57
professionalZurdoDev6-Jan-17 6:57 
GeneralRe: SignalR on IIS Not Working Pin
Kevin Marois6-Jan-17 6:05
professionalKevin Marois6-Jan-17 6:05 
QuestionRe: SignalR on IIS Not Working Pin
ZurdoDev6-Jan-17 6:58
professionalZurdoDev6-Jan-17 6:58 
AnswerRe: SignalR on IIS Not Working Pin
Kevin Marois6-Jan-17 7:02
professionalKevin Marois6-Jan-17 7:02 
GeneralRe: SignalR on IIS Not Working Pin
ZurdoDev6-Jan-17 7:10
professionalZurdoDev6-Jan-17 7:10 
GeneralRe: SignalR on IIS Not Working Pin
Kevin Marois6-Jan-17 7:34
professionalKevin Marois6-Jan-17 7:34 
QuestionSignalR Error Handling Problem Pin
Kevin Marois3-Jan-17 12:00
professionalKevin Marois3-Jan-17 12:00 
AnswerRe: SignalR Error Handling Problem Pin
Kevin Marois3-Jan-17 12:27
professionalKevin Marois3-Jan-17 12:27 
QuestionCSS & Javascript in Accelerated Mobile Pages(AMP) Pages Pin
ali akbar.jpm1-Jan-17 19:50
ali akbar.jpm1-Jan-17 19:50 
QuestionBrowser based application without dependence on a particular browser Pin
Schatak28-Dec-16 19:38
professionalSchatak28-Dec-16 19:38 
AnswerRe: Browser based application without dependence on a particular browser Pin
Kornfeld Eliyahu Peter28-Dec-16 20:26
professionalKornfeld Eliyahu Peter28-Dec-16 20:26 
AnswerRe: Browser based application without dependence on a particular browser Pin
Afzaal Ahmad Zeeshan29-Dec-16 5:56
professionalAfzaal Ahmad Zeeshan29-Dec-16 5:56 
GeneralRe: Browser based application without dependence on a particular browser Pin
Schatak2-Jan-17 2:13
professionalSchatak2-Jan-17 2:13 

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.