TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
narasiman rao
NA
519
771.8k
Microsoft.AspNet.SignalR.JS 2.2.2' to 'Microsoft.AspNet.Sign
Nov 3 2017 10:06 AM
Microsoft.AspNet.SignalR.JS 2.2.2' to 'Microsoft.AspNet.SignalR.JS 1.0.0-rc1' failed
i am doing the signalR chat box using asp.net web application in visual studio 2010.
when i install the Install-Package Microsoft.AspNet.SignalR.SystemWeb -Version 2.2.2 using Nuget gallery shows following error
Microsoft.AspNet.SignalR.JS 2.2.2' to 'Microsoft.AspNet.SignalR.JS 1.0.0-rc1' failed. Unable to find a v
ersion of 'Microsoft.AspNet.SignalR' that is compatible with 'Microsoft.AspNet.SignalR.JS 1.0.0-rc1'.
how to solve please do the needful
My code as follows
Global.asax code as follows
void Application_Start(object sender, EventArgs e)
{
RouteTable.Routes.MapHubs();
}
LetChat.cs page code as follows
[HubName("myChatHub")]
public class LetsChat : Microsoft.AspNet.SignalR.Hub
{
public void send(string message)
{
Clients.All.addMessage(message);
}
}
Chat.aspx code as follows
<script src="Scripts/jquery-1.6.4.min.js" type="text/javascript"></script>
<script src="Scripts/jquery.signalR-2.2.2.js" type="text/javascript"></script>
<script src="SignalR/Hubs" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
var IWannachat = $.connection.hub;
IWannachat.client.addMessage = function (message) {
}
</script>
in the above code chat.aspx page the Iwannachat. client after iwannachat .client intellegence is not showing. the client is not showing i only typed manually
how to solve this error.
Reply
Answers (
0
)
How Create cart In Restaurant Website ?..
C# searching a Access Database