can't find any working sample of websocket - asp.net

I shy to ask but I can't fins any working Visual Studio 2012 project/solution for websocket protocol in:
Silverlight
Asp.Net
Pleas help. And thanks in advance.

Have you looked at http://signalr.net/ yet? If you're on the .NET platform it's a fun way to get started with websockets without getting into the details too much. They have some demo projects that you can run out of the box, and a NuGet package installer too. Check it out :)

Related

Application Insight Missing in Visual Studio 2017

I can't seem to find Application Insight in Visual Studio anywhere. The MS documentation tells me to:
Run an Asp.Net core project on IIS Express
Select View > Other Windows > Application Insights Search
But it isn't there. Nore is it anywhere else in Visual Studio.
I have the ASP.NET and web development workload installed (all options checked).
Any help on this matter would be greatly appreciated. (It's driving me absolutely nuts)
Thanks for your help!
Stefan
It turned out that the 'Developer Analytics Tools' extension was disabled.
I probably disabled it previously myself because of al the (pretty annoying) pop-ups at the introduction of AI. Hope this helps anyone with the same issue.

Visual Studio 2017 for mac missing ado.net and Microsoft.Entity.Data.Model

I downloaded the visual studio for mac, but I can not find the same items that I used to find in windows when I clicked on new item. The most important one for me is the ADO.net.
I googled a lot but I did not find any useful solutions.
I was hoping if anybody found a solution or even a hack in order to plug-in the ADO.net functionalities.
Thanks in advance.
P.S. I am not using .net Core

Visual Studio Cordova and SalesforceMobileSDK

Would anybody have a sample project using the SalesforceMobileSDK?
Trying to achieve something similar to https://github.com/developerforce/Force.com-JavaScript-REST-Toolkit - in Visual Studio, but I'm getting stuck in the Salesforce authentication code.
Thanks in advance!
https://github.com/forcedotcom/SalesforceMobileSDK-Samples
I found this guy, he has some sample projects for ios and android.

Windows Phone 8 Debugging-Error using MVVM-Light portable in Express-Editions

this is my first post her on stackoverflow. My english isn't so good, so i hope you understand my issue.
I'm using the Express-Editions of Visual Studio 2013 (Desktop, Web, Windows-Apps) and the Express Edition of Visual Studio 2012 for Windows Phone.
I created a Solution in Web-Developer 2013, created a class library and changed the project-file like mentioned in this post: https://stackoverflow.com/a/8146504/2912109
So now i have a portable class library in my solution. I followed the instructions in this tutorial:
http://blog.tattoocoder.com/2013/01/portable-mvvm-light-move-your-view.html
So in the solution there is a portable class library containing "MainViewModel" and "ViewModelLocator" class. After that i opened the vs 2012 express for windows phone and opened the solutions, add a wp8 project and did the steps mentioned in the tutorial.
In the designer i can see the "Hello"-Message on the MainPage.xaml. But when i try to debugg the wp8 project, i get an error that's saying something like this:
"There is no network connection to 169.254.70.217:8016 anymore. Debugging was canceld".
Anybody an idea what i could try to get this running? Or isn't it possible to run this with the different express editions of visual studio?
i have found the solution. :-)
The problem was, that in the Windows Phone project there was a wrong version of Microsoft.Practices.ServiceLocation.dll. The MVVM-Light Package by default installed there the v2.0 version of the dll. In the MVVM Light PCL project by defaukt it was the v4.0 version. So i changed the reference in WP8-project to the v4.0 and now it's debugging.
So if someone else runs in the same problem as me, here is the solution.
Greetings,
Daniel.

The custom tool 'msdiscocodegenerator' failed

I get this error when attempting to reference a Web Service in my Compact Framework application. Hunting through Google seems to indicate it's a common occurance, but there's been no useful suggestions as to what causes it, and how to fix it. I can successfully access the web service from a WinForms application by adding a Service Reference but the CF project only has the Web Reference option.
I am running Visual Studio 2008 on Vista.
Has anybody actually solved this problem after encountering it?
Thanks
Bill
Maybe yes... I forget as it was over a year ago. I needed to use a WCF service (presented as a web service) on CF 2.0 device. But I had issues with generating the wrapper.
What I think I did in the end was do it on the desktop and then copy that generated code into the device project. I had to remove a few bits to get CF compatability but it worked in the end.
Sorry for being so vague but my memory is like that sometimes. :)
This issue has been identified as BUG from Microsoft and fixed in latest version of visual studio. you can install VS 2013 and try. It was working properly after I upgrade my Visual Studio to 2013 version.

Resources