Skip to content

5 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Microsoft visual studio 2010 
    then i have choose
     
    Visual C# 2010
    then
    asp.net web application 
    and these codes i had write them in Defualt.aspx.cs 
    0
  • 0
    Hello - My mistake - I was scanning through your code and saw the following attribute:
    [assembly: OwinStartupAttribute(typeof(SignalR_SQLServer_Notification_MVC.Startup))]
     
    I assumed that this was an MVC application.
     
    I changed the attribute to :
    [assembly: OwinStartupAttribute(typeof(SignalRNotifications.Startup))]
     
    I debugged a few more things and am almost there. The database values in the  database display on the html page but an exception is thrown at the same time.
     Cannot implicitly convert type 'System.Threading.Tasks.Task<object>' to 'string'
     
    The exception is thrown here:
    IHubContext context = GlobalHost.ConnectionManager.GetHubContext<NotificationHub>();
    return context.Clients.All.RecieveNotification(totalNewMessages, totalNewCircles, totalNewJobs, totalNewNotification);
     
     I'll look at the code you sent me in the .rar file and see if the solution to the exception is there. 
     
    Thanks for your efforts.
     
    Rick 
    0
  • 0
    Hello - The code sent to me in your previous response is not related to your SignalR project. It looks like a project in the beginning stage for a log sheet. Ridgewood EGYPT Daily Log
     
    Thanks,
    0
  • 0
    yes iam working there and trying to make log sheet on website using asp.net - c# -sql server . showing sql in web page in texts with insert-update-save btns with navigations btns - but cant make navigation next,previous btns
    0
  • 0
    You project can be easily accomplished. The log can be displayed in a gridview which when paging is turned on will give you the capability to move forward or back. The gridview can also provide edit/update capabilities. How many fields are in your database?
    0