Monthly Archives: March 2015

Singleton Design Pattern

Singleton define as a class of which only a single instance can exist by http://www.dofactory.com/net/singleton-design-pattern. This pattern has no logical diagram because it is not as complicated. You can see in the sample below there is only a simple class, … Continue reading

Posted in .Net | Tagged , | Leave a comment

HTTP Error 503. The service is unavailable

This is a re-blog, I found the existing blog is incomplete. I added additional step to resolve the HTTP Error 503 for SharePoint 2013. You might bump into the error message “HTTP Error 503. The service is unavailable” when you … Continue reading

Posted in .Net | Tagged , , | Leave a comment

Convert Abstract class to Interface in C#

This short article showing you how to convert the Abstract class to Interface in C#. If in your abstract class you have totally has no implement on any Method like the simple Proxy Design Pattern below then you should convert … Continue reading

Posted in .Net | Tagged , | Leave a comment

Cannot access to Local Area Network (LAN) connection

If you cannot access to LAN connection, there are few possibilities.   1. You IP is not in the same segment. 2. Your DNS server did not set correctly. 3. You Network Interface Card is spoiled. 4. Driver is not … Continue reading

Posted in Community, Computers and Internet, Operating System | Tagged , , | Leave a comment

Proxy Design Pattern C#

This short article shows you how to build Proxy Design Pattern using C#. The design pattern define as an object representing another object by http://www.dofactory.com/net/proxy-design-pattern.   The logical model for Proxy Design Pattern as following. The key class in this … Continue reading

Posted in .Net | Tagged , , | Leave a comment

Read and write to properties file in Java

This short article shows you how to read and write value to properties file in Java.   1. Import java.util.Properties   import java.util.Properties;   2. The code snippet to write to properties file as below. try (OutputStream out = new … Continue reading

Posted in Java, Oracle | Tagged | Leave a comment

Import Eclipse project into NetBeans

This short article shows you how to import Eclipse project into NetBeans. 1. File -> Import Project -> Eclipse Project…   2. If you import a single project, choose Import project ignoring project dependencies.   I tested the project running … Continue reading

Posted in Java, Oracle | Tagged | Leave a comment