Quantcast
Channel: Programming – Xinyustudio
Browsing all 284 articles
Browse latest View live

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.

MySQL: Table ‘SOME_TABLE’ doesn’t exist whereas it does exist

In recent development, I tried to connect MySQL database locally in my C# application, and it worked fine. But when I created the same database and tables using sql script in Ubuntu, and using the same...

View Article

Image may be NSFW.
Clik here to view.

Unity3D: using ReorderableList in Custom Editor

ReorderableList is not a widely used class in Unity3D, but good use of it can make your custom editor more professional. This article walks through the typical use of ReorderableList. Create a class,...

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.

Unity3D: Progressbar using new UI system

Before Unity 4.6 new UI system came out, to create a progress bar, the typical process involve writing the OnGUI() function as follows: public Texture2D emptyProgressBar; // Set this in inspector....

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.

Android: How to play RTSP or HLS video streams

Playing rtsp video streams seems to be a complex task in Android, but actually it is insane easy. Here is how. Create a new project using Android Studio Drag a VideoView control to the UI or add below...

View Article

Image may be NSFW.
Clik here to view.

Android: How to play RTMP video streams

In the post Android: How to play RTSP or HLS video streams, there is one missing video streaming issue leaving unresolved: the RTMP videos. This post outlines how to implement rendering RTMP videos on...

View Article


Image may be NSFW.
Clik here to view.

Unity3D: using Visual Studio Code and hide meta and other unwanted files

Go to Visual Studio Code preference, click “Preference” > “User Settings” or “Project Settings”, add below code in the “Settings.Json” file: // Place your settings in this file to overwrite the...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio 2015 Update 1 offline iso download link

Official ISO download link from Microsoft, enjoy! Visual Studio Enterprise 2015 with Update 1 (x86 and x64) – DVD (English) SHA1:EB8DFC731EA4822E57483516BC059BC990260549 Direct ISO Link Visual Studio...

View Article


Image may be NSFW.
Clik here to view.

How to package native library (*.so) in Android Studio

Recently I was working on some projects where the native library (*.so) is used. It builds in Android Studio without any problem, but when I run it on the Android devices, it crashes with the following...

View Article

Image may be NSFW.
Clik here to view.

Packaing Unity3D MonoBehaviour script into DLL

You might have dozens or even hundreds of MonoBehaviour based scripts in your typical Unity3D projects. For some reasons, either you want to protect your source code from direct access by others, or...

View Article

Image may be NSFW.
Clik here to view.

Step-by-Step guide for developing Android Plugin for Unity3D (I)

This series of post outlines the development of Android plugins for Unity3D. I had been asked to develop Android plugins for Unity3D every few days or months, each time following similar paths which I...

View Article
Browsing all 284 articles
Browse latest View live