Tuesday, August 27, 2013

Hello World, Basic Server/Client Example of WCF (Tham khảo cho các bạn LTV môn WCF)

Các bạn học lập trình viên Aptech có thể tham khảo thêm vài viết này (nguồn từ codeproject)

Hello World, Basic Server/Client Example of WCF

[caption width="400" align="aligncenter"]Hello World, Basic Server/Client Example of WCF Hello World, Basic Server/Client Example of WCF[/caption]

Và bài viết này Creating and Consuming a Simple WCF Service without using configuration files

Goodluck !

Sunday, August 18, 2013

Friday, August 2, 2013

Subversion -hệ thống quản lý phiên bản SVN

Subversion(viết tắt là SVN) là một hệ thống quản lí version (version control system(VCS)) được giới thiệu vào năm 2000 bởi công ty CollabNet.



Kiến trúc cở bản của SVN.
Hệ thống SVN là một hệ thống quản lý tài nguyên của một dự án. Hệ thống có khả năng tự cập nhật, so sánh và kết hợp tài nguyên mới vào tài nguyên cũ.

  1. Hổ trợ nhóm làm việc trên cùng một project, việc nhiều người cùng chỉnh sửa nội dung của một file là điều không thể tránh khỏi. SVN cung cấp các chức năng để có thể thực hiện việc này một cách đơn giản và an toàn.

  2. Subversion là hệ thống quản lý source code tập trung (Centralized).

  3. Subversion quản lý tập tin và thư mục theo thời gian.

  4. Việc ghi log cụ thể chi tiết giúp ta quản lý quá trình phát triển dự án tốt hơn

  5. Điểm đặt biệt của SVN là nó lưu lại tất cả những gì thay đổi trên hệ thống file: file nào đã bị thay đổi lúc nào, thay đổi như thế nào, và ai đã thay đổi nó.

  6. —SVN cũng cho phép recover lại những version cũ một  cách chính xác.

  7. —Subversion hỗ trợ khá nhiều giao thức để kết nối giữa client và server.


Đối với các bạn làm eProject SVN là công cụ rất hữu ích để các bạn quản lsy mã nguồn của nhóm.

1. Sử dung server SVN google cung cấp để quản lý mã nguồn của nhóm: mỗi nhóm tạo một project trên http://code.google.com để quản lý mã nguồn dự án. Chọn subversion là SVN.

2. Sử dung plugin SVN (VisualSVN-3.5.1) và TortoiseSVN-1.8.1.24570-x64-svn-1.8.1 tích hợp mã nguồn vào Visual Studio, Netbean để tiến  hành phát triển.

Thời gian tới tôi sẽ hướng dẫn các bạn lớp lập trình viên tôi giữ laij và up hướng dẫn lên để các bạn tham khảo.

[youtube=http://youtu.be/e27yJJPWZFo]

Lay ve website

[youtube=http://youtu.be/5u1mFWWspy4]

Wednesday, July 3, 2013

Mô phỏng ngập do mưa ở TP Cần Thơ - Simulating flooding situation in Can Tho city by the influence of rainfall

Một vài ảnh demo mô phỏng ngập do mưa tại cần thơ


Mô hình hóa


Modelling



Phương pháp tìm hướng lan truyền

FlowReDetected



Hình chụp từ chương tình mô phỏng - GAMA Platform

Rain_2013103123



[youtube=http://youtu.be/669RzHY1QhQ]


*****************************

Just my study.

Monday, July 1, 2013

Caching Images in ASP.NET - Một bài viết rất hữu ích từ CodeProject các bạn tham khảo nhe

There are a lot of ways to improve performance in web applications. One of the simplest but most effective methods is to cache images on the client. In this article I would like to show how we implemented image caching for our website.

The Problem

When she was building the website http://www.software-architects.com she used a lot of images in the css style sheets to display background images for menu items. After transfering the files to our web server she tested how much traffic a request to our start page would produce with Microsoft Network Monitor. This is a Tool to allow capturing and protocol analysis of network traffic. You can download it from the Microsoft Download Center.

With Microsoft Network Monitor 3.1 she recorded a call to http://www.software-architects.com. As a result she got 20 requests to 20 different files to display one single page. Microsoft Network Monitor shows that appoximatly half of the requests are required for the menu images.

View detail on codeproject
http://www.codeproject.com/Articles/22888/Caching-Images-in-ASP-NET?display=Print

Wednesday, June 19, 2013

Wednesday, May 22, 2013

Web based: Draw tool + storage cloud => smart draw

Hi,

Today we discuss about http://draw.io to draw many skind of diagram and stored it to google drive

Open http://draw.io in Chrome
[caption id="attachment_1017" align="aligncenter" width="300"]Home page Home page[/caption]

Click on Connect to google drive at top-right
[caption id="attachment_1018" align="aligncenter" width="298"]Choice an user Choice an user[/caption]

You can draw new char/diagram or open an existing diagram in Google drive

Select File -> open
[caption id="attachment_1019" align="aligncenter" width="300"]Open file Open file[/caption]

Select and clich open
Diagram1

Export to different format: select file -> export
export

From google view
Drive

Ok, i think it enough for all simple used.

Translate