Questions




Answers
1
Could not load file or assembly 'Microsoft.AspNetCore.Connections.Abstractions, Version=2.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.

Hi. I have installed the package Microsoft.AspNetcore.SignalR.  And when run my project I have faced this error :

Could not load file or assembly 'Microsoft.AspNetCore.Connections.Abstractions, Version=2.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. 

how can I resolve this issue? Thanks.

...
Read More
ASP.NET asp-net-core-2
Answers
1
How to use NuGet Package in Visual Studio Code Linux Ubuntu to add package.(.net core2)

Hi, I'm new at using Visual Studio Code on Linux Ubuntu to create a web site (asp.net core2). I have installed NuGet Package in my Visual Studio Code but want to add some package.

...

Read More
Visual-Studio Visual-studio-code Nuget-package
Answers
1
How to read powershell script file from log parser and save data in sql using c#?

Bascially,LogParser is used to read IIS logs.We upload one log file to log parser, select query and we get results of query like :user agent,ip address(basically hits to particular url).That query is PS(PowerShell Script) file.

Any idea how to read that PS file and save output of that query to db?

...
Read More
C# SQL powershell script
Answers
2
How to add the SignalR client library in ASP.NET Core 2?

Hi, I'm using SignalR with .net core2 in Visual studio 2017 to send message to all users. But I don't know how can I add the SignalR client library.

My current javascript code is :

<script src="Scripts/jquery-1.6.4.min.js"
type="text/javascript"></script>
<script src="Scripts/jquery.signalR-0.5.2.min.js"
type="text/javascript"></script>
<script src="signalr/hubs" type="text/javascript"></script>
<script type="text/javascript">

var myHubProxy = $.connection.hub.CreateHubProxy("MyHub");
myHubProxy.on('ClientsListener', function (msg) {
// alert to test
alert(' message from server');
//$("#messageDisplay").text(msg);
})
$.connection.hub.start().done(function () {
myHubProxy.Invoke('MyServiceFunction');
})

</script>

In Which my project not contains those scripts :

<script src="Scripts/jquery-1.6.4.min.js"type="text/javascript"></script>
<script src="Scripts/jquery.signalR-0.5.2.min.js"type="text/javascript"></script>
<script src="signalr/hubs" type="text/javascript"></script>

Please how can add the SignalR client library. I was try this : But I remarked  no file clled Client_side library to add it .

...

Read More
ASP.NET SignalR adding-client-library
Answers
1
Web service returning 500 failed to load resource error

When I try to call C# Web service using jQurey, I am getting error "Failed to load resource: the server responded with a status of 500 (Internal Server Error)"

I'm trying to send a call using ajax but in Chrome it is raising an error here is my code

JQuery:

...
Read More
C# jQuery-ajax web-method-using-jquery
Answers
1
How to get lat/long using Google address autocompete api using Javascript or jQuery?

I am currently using Google's address autocomplete api to get the locations (address) as shown in example here

https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform

Now I would like to get only Latitude and longitude of address, when user selects the address.

How can I do this using Javascript or jQuery?

...
Read More
Javascript jQuery get latitude-longitude using google address api
Answers
1
How to increase the space of virtual machine without recreating it? Read More
virtual-machine increase disk
Answers
1
How to get lat-long from address (string) using C#?

I have a address in string like "444 NE Ravenna Blvd, Seattle, WA" , now how can I get the lat/long of this address using Google maps or any other services in C#.

Basically need to convert address into Lat-long using C#.

...
Read More
C# lat-long-from-address google-maps-api
Answers
2
How to get notified when a row is added in SQL Server database using asp.net core 2?

Hi, how can I get notification when a new row is added in the database using asp.net core 2.

For example, I have table Posts and have 4 posts, and when the table contains the new post ( post 5) I will get a notification to my view in asp.net core2 says that the new post added. Thanks.

...
Read More
ASP.NET SQL-server adding-row-notification
Answers
3
How to get Facebook page notification new comments/posts via Graph API in ASP.NET

Hi, I have to add a method to get the posts and comments from graph api : But as we know every minute or every 5 minute we have a new posts and comments. And when I move to the view that contains the posts and comments I can't recieve the new posts and comments like a notifications . like facebook when any one post or comment into a page facebook we get a notification and that notification when click on it, the new comments shown or posts.

Please how can I do that ? thanks.

...
Read More
ASP.NET graph-api-comments-posts

Page 1 of 39