Edi Wang

All Posts 285


edi.wang 域名被端事件始末

针对这几天网站无法使用http://edi.wang的域名访问的事件,我对我们国家工信部的政策以及国内域名注册商的服务表示非常的愤怒和失望。特此记录,以警示各位想要注册域名,或者已经在国内服务商注册域名的站长。 强烈建议大家尽快把手头的国际域名转移到国外注册商(如Godaddy),以防突然有一天被不可描述了。 最新状态: [2018-4-19 07:50] edi.wang 域名状态为:OK,全球DNS恢复正常解析。 背景: edi.wang这个域名是2014年6月在时代互联(now.cn)注册的,因为当时它是国内唯一一家开放.wang域名的注册商。之前我也用过这家的服务,因为印象非常不好,所以也不是特别愿意选这家的,然而edi.wang这个3字符的域名必须得抓紧时间注册,才导致了...

EdiDomainDNS

Create QR Code in Windows 10 UWP

A year ago, I wrote an UWP application that can generate QR Code. However, at that time, the QR Code library I used was ZXing.Net, the last update for this package was in 2014. Now, time has changed, the author of ZXing.Net seems not to update the package any more. However, we have to move on, so I found a fantastic new library to generate QR Code...

UWPQR Code

UWP App for the Raspberry Pi Azure Surveillance Camera

I wrote a post about Raspberry Pi Surveillance Camera with Linux and Azure, it was using an ASP.NET website for displaying the photos. I made an UWP client App these days, you can download from here https://www.microsoft.com/store/apps/9nblgggzfnv0 (Because WP is already finished, so I don't provide Windows 10 Mobile package) It doesn't allow u...

MVVMPINMicrosoft PassportBinding

Read AppSettings in ASP.NET Core

Today, I was rewriting an old ASP.NET MVC5 Demo project to ASP.NET Core, and found that the way we used to read Web.config by ConfigurationManager.AppSettings[] is no longer working. .NET Core has many new ways to achieve this. I picked one that suitable for my project. Here is how I do it. The old...

ASP.NET.NET Core

Raspberry Pi Surveillance Camera with Linux and Azure

Because Windows 10 IoT Core is not supporting Pi Camera, I can only use Linux instead. These days, I made a surveillance camera, the functionality is simple, when a person passed by the camera, it will take a picture and upload to Microsoft Azure Storage. It also got a website to remotely view the photos. 1. Hardware A PIR Sensor, a Pi Camera, a...

AzureIoTRaspberry PiLinuxPi CameraPython

Uploading PiCamera images to Azure

Recently Windows 10 IoT Core Build 14393 is coming, but still without PiCamera support, WTF. So I can only choose Linux for my project. When I was using Windows, I use C# + Azure SDK to upload photos to Microsoft Azure. So how to do it on Linux? After some research, here's how to do it. My system is Raspbian Linux. First, we need to install Azure...

AzureLinuxPi CameraPython

How to use Windows RDP to connect Raspbian Linux

Because Windows 10 IoT Core is not yet ready to replace Raspbian, in some case, we have to use Linux. The remote operation on Linux is usually done by SSH. If you want remote desktop like the one on Windows. There are two options: tightvnc or xrdp. I used to  use tightvnc, it does not have any problem with daily use. But I have to install a tightvn...

IoTRaspberry PiRaspbianLinuxxrdp

Windows 10 IoT: How to Drive an SSD1306 I2C Display

I bought a 128x64 0.96 inch OLED display, like this one: The driver chip for this screen is called SSD 1306, typically, this chip will have 2 layouts, SPI or I2C. However, the examples fo how to drive I2C with SSD 1306 is very rare, and they run on Raspbian not Windows. Luckly, with the help from a Microsoft Staff in US, we finally got the code...

IoTRaspberry PiSSD 1306I2C

Raspberry Pi 3 and Windows 10 IoT Core Basics

最近有时间,总结了一下关于树莓派3及Windows 10 IoT的基础知识。适合没有接触过硬件但有一定编程经验的读者入门。我自己刚刚买树莓派的时候花了很长时间入门,搞清楚各种概念和属于。很多网上的帖子都是分散在各个角落的,并且是英文的,有些还是过时的,有些是爆的,所以我觉得有必要总结一篇基础入门帖子。这篇文章讲的都是抛砖引玉的概念,并不包括End-To-End的Case,想要做一个完整实验的文章,请看我博客的物联网开发系列文章:http://edi.wang/category/list/iot  如果有错误和补充,欢迎在评论里指出。 一、树莓派3 树莓派是基于ARM芯片的卡片电脑,大小和一张信用卡一样。今年推出了第三代,集成了板载蓝牙和WIFI。之前的树莓派1和2都是需要用USB WI...

IoTRaspberry Pi