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

Image may be NSFW.
Clik here to view.

Rhino C# Development (I) : Get Visual Studio Wizard ready

1. Go to http://www.rhino3d.com/new/dev to download the SDK. Unzip the file, and you will see 4 files: 2. Unzip the file “Rhino4DotNetWizards.zip”, and you will see two files Double click on the...

View Article


Image may be NSFW.
Clik here to view.

Rhino C# Development (II) : HelloRhino

If you have not got Rhino Visual Studio working, see this post to get it done. 1. In Visual Studio, create a new project, in the opened dialog, type “rhino” in the upper right filter field: 2. Click Ok...

View Article


Image may be NSFW.
Clik here to view.

Rhino C# Development (III) : Add Winform UI to Rhino

Rhino C# Development (I) : Get Visual Studio Wizard ready Rhino C# Development (II) : HelloRhino Now that we are able to talk with Rhino, let’s add our own UI to Rhino. In Rhino 5 with RhinoCommon SDK...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio 2012 update: offline / standalone download

1. Go to this Link, to get the latest update. 2. Download the latest update, following the link above. Note: do not install, simply download it. 3. Once the package is downloaded, an iso file will be...

View Article

Image may be NSFW.
Clik here to view.

C#: programmatically get and set non-unicode languages for windows OS

We know that we can use English version of Windows and at the same time to display non-unicode texts such as Chinese and Japanese etc. The procedures are as follows: Control Panel > Region >...

View Article


Image may be NSFW.
Clik here to view.

C# Command Line Parser Library Example

Command Line Parser Library allows CLR applications to define a syntax for parsing command line arguments. It is very easy to incorporate this library into your C# project. To install Command Line...

View Article

Image may be NSFW.
Clik here to view.

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 Article

Text morphing: Rectangle to text

View Article


Image may be NSFW.
Clik here to view.

Visual 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 Article


Image may be NSFW.
Clik here to view.

Embedding 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 Article

Image may be NSFW.
Clik here to view.

Using 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 Article

Image may be NSFW.
Clik here to view.

Using 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 Article

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


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

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
Browsing all 204 articles
Browse latest View live