Get the boundary of a mesh: the algorithm and C# implementation
Given a mesh, we might occasionally want to filter those internal vertices and keeps only the outline or silhouettes. But how to do that? The problem came to my mind several years ago, when the...
View ArticleVisual Studio 2013 Ultimate ISO download and offline installation:...
Visual Studio 2013 was released, with quite a few exciting features. If you wish to get the offline iso installer, click below links (official iso from Microsoft) to download. However, even if you...
View ArticleEmbedding web browsers in Winform applications
Winform ships with a built-in WebBrowser control where you can use it to embed a web browser in a Winform Application. It is relatively trivial to implement it: In Visual Studio Toolbox, Search “Web...
View ArticleUsing MySQL with C# (I): MySQL Installation
MySQL is a free database and can be easily used in your .Net Applications. This quick-start goes through the typical process that involves installation, up and running your “Hello MySQL” application....
View ArticleUsing MySQL with C# (II): Creating a DB for programming
You might be interested in how to install MySQL in windows, check up this link for details. Run MySQL workbench after clicking Finish In the MySQL workbench, copy below scripts to create a new...
View ArticleUsing 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 ArticleUsing 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 ArticleUsing 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 ArticleVisual 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 ArticleC# 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 ArticleUsing 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 ArticleUsing 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 ArticleUsing 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 ArticleUsing 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 ArticleUsing 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 ArticleUsing 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 ArticleBing 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 ArticleUsing 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 ArticleSequence 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