As a IT guy, a Software Developer, a Microsoft technologies developer (from C++ to .NET ) with over 24 years development history, I still have to face to some awkward (embarrassed ? ) situations such as job interviews. I left school so many years, but some interviews still needed me to give correct answers for some basic computer and programming acknowledges, such as: What is C# ? What features does OO have ? or I was asked for writing code to give a good performance program to implement a scanning or searching case based on stack or queue ….
We updated CodeEase.com due to new technologies and new devices. More and more people are using mobile devices now, some people will never use computer then, so the website should follow the new times.
The old face of CodeEase.com was the following one, It was OK for any computers, but might not perfect for cell phone.
Good Bye, old CodeEase face !
Compared with MODBUS protocol, if your device will be on Web, you might better consider use WSD protocol: Web Services on Devices.
We often see the words “Microsoft patterns & practices” on Microsoft development websites.
About Microsoft patterns & practices
The following explain content was copied from Microsoft official site:
DI: Dependency Injection.
What is Dependency Injection ?
Wiki: Dependency injection is a software design pattern that allows the removal of hard-coded dependencies and makes it possible to change them, whether at run-time or compile-time
IoC: Inversion of Control principle
1: Web Socket Protocol Support:
– IIS 7.5, IIS 7.0 and previous versions were NOT supported;
– IIS 8.0 Support Web Socket Protocol;
– Windows Server 2012 required because IIS 8.0 is ONLY available in Windows Server 2012 and Windows 8
– IIS 8.0 Express can be installed in Windows 7, Windows Server 2008, Windows Server 2008 R2, but we can NOT give IIS 8.0 Express to customers; we can use IIS 8.0 Express as development environment though;
– .NET 4.5 Frameworks required;
there are some concepts map between old WCF Web API and new ASP.NET Web API.
(From WCF Official page)
|WCF Web API||ASP.NET Web API|
|Service||Web API controller|
|Service contract||Not applicable|
|URI templates||ASP.NET Routing|
|Operation handlers||Filters, model binders|
When we installed a web platform, for example, we installed a PHP or IIS version, How were you going to do if they released PHP or IIS new version? Normally you had to their update guide to do the update manually step by step. And another problem is that all the existing edition on your computer can not let you know current installation version and current release version directly. also, sometimes you did not know whether you had already installed some stuff or not (you had to go to control panel to check the installed software list, but sometimes you still could not see some web platform from control panel).
The Microsoft Web Platform Installer 3.0 (Web PI) is a free tool that makes getting the latest components of the Microsoft Web Platform, including Internet Information Services (IIS), SQL Server Express, .NET Framework and Visual Web Developer easy. The Web PI also makes it easy to install and run the most popular free web applications for blogging, content management and more with the built-in Windows Web Application Gallery.
Check Microsoft site to know more about Web Platform Installer and find download URL there. If you do not want to install the Web Platform Installer separately, you can install with other product such as the Visual Studio SP1 directly, the Web Platform Installer will be installed with them together if system found you have not installed Web Platform Installer.
After you install Web Platform Installer, you can find it easily at the next time to use it. Just input searching words in Searching box like the following screen shot:
When you open Web Platform Installer, it will search the existing software which you have installed on your Windows system, and finally it give you a list to web stuff installed or not installed yet list:
If the software which you have not installed yet, just click the Add button to add this software into install list to install later.
Since Visual Studio 2008, We can see there are two different web projects: ASP.NET Web Application and ASP.NET Web Site. Actually in Visual Studio 2005, Microsoft tried to remove the web application and replaced it with web site project, but there were many feedbacks indicated programmers need web application project. Later Microsoft released the package for web application project which was for Visual Studio 2005, at that time, some of earlier VS users needed to install the package separately.
Web Application project:
1: There is a project file (.csproj or .vbproj) so that you can just double click it to open the project in Visual Studio;
2: You can easily exclude any file using mouse click without file name changed;
3: You must explicitly compile the source code before deployment, By default, compilation of code files (excluding .aspx and .ascx files) produces a single assembly.
4: You can not update individual ASP.NET Web pages (.aspx files) without having to recompile the entire Web site.
5: You can establish project dependencies between multiple web projects;
6: MVC application must use Web Application project;
1: No project file (.csproj or .vbproj). You have to browse to the folder to open the project using Visual Studio;
2: All files within the site’s directory are included in the site. If you want to exclude a file, you have to rename the file with an extension .exclude;
3: You do not have to explicitly compile the project in order to deploy it. But you can still precompile the site. When you compile, the site will be generated by separate assemblies for each page or each control, or one or more assemblies per folder;
4: You are able to update individual ASP.NET Web pages (.aspx files) without having to recompile the entire Web site.
5: The site can easily be deployed or shared by copying the folder simply without precompile, but the source code will be copied to remote server;
Here we found some great Chinese share services that are similar with AddThis share services.
Above services is from a famous Chinese Twitter clone site: DiGu.com (btw: it is Twitter clone but it is much different )
From this blog your will learn how to use this kind of Chinese Share services.