Quantcast
Channel: Dotnet/C# – Xinyustudio
Browsing all 204 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Using MySQL with C# (III): Coding in C#

Install the nuget package: in the nuget management console, type below line and run Install-Package MySql.Data Let’s create a class SqlUtils, and in the static constructor, type below code:...

View Article


Image may be NSFW.
Clik here to view.

Using Redis with C# (I): Installation of Redis

Download Redis binaries from http://ruilopes.com/redis-setup/  Run the installer, follow the instructions   You might wish to get the latest windows installer for Redis here as well. Run redis-service...

View Article


Image may be NSFW.
Clik here to view.

Using Redis with C# (II): Coding

Now that you have installed Redis on your system, let’s jump to the actual coding using C#. If you wish to get the detailed procedures to install Redis, click here. Create a winform project in Visual...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio 2015 RTM ISO/offline download links: official links

Visual Studio Enterprise 2015 (x86 and x64) – DVD (English)SHA1:07C949078F895CE0D9C03A1B8D55571A8C90AC94 Visual Studio Professional 2015 (x86 and x64) – DVD...

View Article

Image may be NSFW.
Clik here to view.

C# Websocket programming: the simplest example

Create a winform Application: Download the Websocket-Sharp from Nuget: PM> Install-Package WebSocketSharp -Pre Add below code:         private WebSocket client;        const string host =...

View Article


Image may be NSFW.
Clik here to view.

Using RabbitMQ in C# (I) Installation of RabbitMQ

Go to https://www.rabbitmq.com/ and click the download link:     Select the server software on the desired platform and download the setup package. In this example, I will use windows installer. Run...

View Article

Image may be NSFW.
Clik here to view.

Using RabbitMQ in C# (II) Sending message to RabbitMQ

Create a Winform application, add below UI to the form: Add RabbitMQ .net client library in Visual Studio by using Nuget: to install RabbitMQ.Client, run the following command in the Package Manager...

View Article

Image may be NSFW.
Clik here to view.

Using RabbitMQ in C# (III) Consuming messages from RabbitMQ

It can be found that In earlier posts, setup RabbitMQ and sending messages are a piece of cake using RabbitMQ C# client. Let’s take a further step and see how to consume messages from RabbitMQ. Create...

View Article


Image may be NSFW.
Clik here to view.

Using SmartFox with C# (I) : Installations and 1st handshaking

Despite that SmartFox has offered a Unity3D package for easy access SmartFox functionalities for game developers, however it is not very straightforward to directly get to know how to consume SmartFox...

View Article


Image may be NSFW.
Clik here to view.

Using SmartFox with C# (II) : Login and join room

The next step after connection with SmartFox server might be login to SmartFox.  If you wish to know how to connect to SmartFox server, refer to this post. Try below code to login to SmartFox: using...

View Article

Image may be NSFW.
Clik here to view.

Using SmartFox with C# (III) : Frequently used functions

If you haven’t read below posts, you might wish to have a quick go through: Using SmartFox with C# (I) : Installations and 1st handshakingUsing SmartFox with C# (II) : Login and join room If you are...

View Article

Image may be NSFW.
Clik here to view.

Bing Search in C#: A step by step walk-through tutorial

This blog is the 3rd article of the series Search in C# example demonstration. If you are interested in my earlier blogs in this series, please refer to below blogs: Google Search in C#: A step by step...

View Article

Image may be NSFW.
Clik here to view.

Using Hoops in C# (I) : HelloHoops

Hoops is a good 3D Visualization toolkit with OOP model enabled. In this tutorial, Hoops will be used in combination of .net. C# language will be used to demostrate the typical usage. Createa a new...

View Article


Image may be NSFW.
Clik here to view.

Sequence Diagram of Visual Studio 2010

Just found a new useful feature of VisualStudio 2010, to generate the sequence diagram for a particular function. Right click a function, select “Generate Sequence Diagram” in the popup menu: VS will...

View Article

UGNX .net API: How to get the parameter range of a curve?

static public void GetCurveParamRange(Tag CurveTag, out double MinPara, out double MaxPara) { UFSession gUfSession = UFSession.GetUFSession(); IntPtr evaluator; double[] pararm_range = new double[2];...

View Article


Image may be NSFW.
Clik here to view.

Message: Unable to load DLL ‘libpart’: The specified procedure could not be...

In a recent project, I was required to develop a .Net assembly DLL and use it together with COMSOL with Matlab, where Matlab serves as the hub, and the .Net Assembly provides some services, Matlab...

View Article

Microsoft LightSwitch standalone download Link (ISO)

http://go.microsoft.com/fwlink/?LinkId=201345

View Article


WCF Learning Note (I)

How to: Define a Windows Communication Foundation Service Contract using System; // Step 5: Add the using statement for the System.ServiceModel namespace using System.ServiceModel; namespace...

View Article

Image may be NSFW.
Clik here to view.

Intel AppUp .Net SDK

The Intel AppUpSM developer program: Provides developers with everything they need to create and then sell their applications to users of millions of Intel Atom-based devices. Gives developers, OEMs,...

View Article

WebMatrix: A cool tool for lightweight asp.net web design

Your First Website Using WebMatrix Create an ASP.NET Website from Scratch Create a website from a WebMatrix site template Add and edit ASP.NET web pages Create an open-source wiki website from the Web...

View Article
Browsing all 204 articles
Browse latest View live