
I got them from PSC.
this is link to article
Oct 7, 2007
Planet Source Code Superior Coding Contest Winner
Posted by
DevGod
at
8:32:00 PM
19
comments
Labels: Prize
Sep 21, 2007
Microsoft Silver light VDO
Microsoft Silverlight
Silverlight for Windows Mobile
Silverlight offical document
Posted by
DevGod
at
12:11:00 AM
0
comments
Labels: .Net, Silverlight
Sep 12, 2007
Sep 10, 2007
My Project 6 K15 Puzzle
Simple puzzle game. it have many feature,it is not just game develop by vb6.0 tools
but i think i can play this game hour after hour.
If you want to download you just click
Posted by
DevGod
at
10:35:00 PM
1 comments
My Project 5 Tower of Hanoi animation
This is a tower of Hanoi.net ,It can solve by bot.
if you want to download code you just click
Posted by
DevGod
at
10:28:00 PM
3
comments
Aug 24, 2007
Display Hello World without semicolon
C# version
namespace WriteHelloWorld
{
class Program
{
static void Main(string[] args)
{
while (!"0".Equals(System.Console.Title = "Hello world").Equals(System.Console.ReadLine()))
{
}
}
}
}
C++ version
#include "stdio.h"
int main()
{
while( !printf( "Hello World\n" ) )
{
}
}
Posted by
DevGod
at
5:02:00 AM
2
comments
Aug 22, 2007
Google Trends about .Net developer
This is a trend of software developer by Google.
Compare .Net,Java,PHP
Compare C#,VB
Compare MCSD,MCPD,MCSE,MCITS
Compare Ajax.Net,ASP.Net Ajax
Compare Planet source code,Code Project,DevX
Compare MySQL,SQL Server,Oracle
By the way this is not benchmark popular trends.Because Google trends can't separate java platform from java Island or java coffee and in other case too.
Posted by
DevGod
at
10:54:00 PM
0
comments
Labels: .Net, Google Trends
Aug 21, 2007
My Project 4 WinformThemeDesigner
This program help you to create theme for your desktop application. It can choose any colour and can choose set font in each section .
Now my blogger have little problem,I can't upload image.
You can download here
Posted by
DevGod
at
10:06:00 PM
0
comments
Labels: MyProject
.Net Interview
Link about .net interview for to be better developer or just prepare your self for job interview.
ASP.Net datagrid question
MS SQL Server interview question
ASP.Net interview question
SCOTT HANSELMAN ASP.Net interview question
.Net interview question
C# interview question
Advanced C# interview question
Posted by
DevGod
at
9:55:00 PM
0
comments
Labels: .Net
Aug 19, 2007
My Project 3 Guest Number
This program is guest do you think in your mind
You can download source code here
Posted by
DevGod
at
10:48:00 PM
0
comments
My Project 2 Winform Style Sheet
This program is use style sheet for appearance of each control.
You can download source code here
Posted by
DevGod
at
10:19:00 PM
27
comments
My Project 1 Use XML instead Database
Simple application for CRUD data through XML file instead RDBMS
You can Add , Edit ,Del data and when you finished operation you just click Write to File for real Update.
This is just sample how to use treeview control this form don't use xml.
You can download source code here
Posted by
DevGod
at
10:09:00 PM
18
comments
Aug 18, 2007
Podcast from .Net Rock
This is donwload links mp3 from dotnet rock
Donald Farmer on Data Mining
part A
part B
Udi Dahan talks SOA Sense
part A
part B
Mark Pollack on Spring.NET
Frans Bouma on LLBLGen
Posted by
DevGod
at
3:07:00 AM
0
comments
Podcast from Netmagazine and other
This below link is use ful .Net podcast,for whom to like to listen than read.
Online
.Net Cast
Offline
Podcast from Netmagazine 07-08-09
Podcast from Netmagazine 07-07-27
Podcast from Netmagazine 07-07-12
Podcast from Netmagazine 07-06-28
Podcast from Netmagazine 07-06-01
Podcast from Netmagazine 07-05-17
Podcast from Netmagazine 07-05-03
PodcastStudio.net Show #16 - Code Camp Panel!
If you want to download to your computer for offline,but you can't because when you clicked link a third party e.g. windows media player,quickteim autorun. You should use download software e.g. flashget or you just right click onlink then click save target as.
Posted by
DevGod
at
2:14:00 AM
0
comments
Labels: Podcast
Aug 13, 2007
Design Exception Handler Pattern
When we write application we should handle exception for block Application Exception when it occurs, our application may crash.
.Net developer regular design exception as this.
Try
‘statement for operation
‘statement for operation
‘e.g’
Dim CN as new Oledb.OledbConnection(strConnectionString)
CN.Open()
‘other statement for operation
Catch ex as Exception
‘statement for handler exception
‘e.g.
ModuleLogError.WriteLog(ex)
Finally
‘This statement will execute even code have exception or not
CN.Close
End try
This rule will help for design better structure of handle exception.
1. Check exception may occur before Exception
e.g. DivideByZeroException,ArithmeticException …
This below is a sample code
Try
‘’’
Catch(Ex as DivideByZeroException)
‘’’
Catch(Ex as ArithmeticException)
‘’’
Catch(Ex as Exception)
‘’’
End Try
2. Keep module detail to have occur exception
In a moudule we handler exception we shuld send information about module have occure exception e.g. Modulename,section of section
Dim strModuleName as string= “DAC.Customer” ‘This variable outside method because we shared it multiple method
Private Sub SaveData()
Dim strMethodName as string=”SaveData”
Dim strSection as string = “Begin Module”
Try
strSection = “Operation 1”
‘statement for operation1
strSection = “Operation 2”
‘statement for operation2
‘other statement for operation
Catch ex as Exception
ModuleLogError.WriteLog(ex,strModuleName,strMethodName,strSection,)
Finally
‘This statement will execute even code have exception or not
CN.Close
End try
End Sub
3. When we loop operation loop should in exception
e.g.
if your code is look like this:
dim I as integer
for I = 1 to 100
Try
‘statement
Catch ex as Exception
‘statement for handler
Finally
‘statement for release unsafe resource and other benefits
End try
next
It should refractor your code as below:
Try
Dim I as integer
For I = 1 to 100
‘statement
Next
Catch ex as Exception
‘statement for handler
Finally
‘statement for release unsafe resource and other benefits
End try
It is have high performance than before.
4. Avoid use exception in case we can handle it by operation checking
e.g.
if(Num1 = 0) then
MessageBox.show(“Value cannot be 0”)
Exit sub
end if
dim dblResult = Num2 / Num1
instead
try
Dim dblResult = Num2 / Num1
Catch ex as DivideByZeroException{
MessageBox.Show(“Value cannot be 0”)
End Try
Because exception is expensive, we should avoid in a case we can handle it
5.When you application design for contact with another layer (some dll ,e.g. BC layer, DAC layer) you may not throw exception, but should keep exception for client to handle it.
e.g
This is a DAC.
Namespace DAC
Public Class Customer
Dim currentException as ApplicationException
Public Sub AddData()
Try
‘’’ Statement
Catch Ex as Exception
Me.CurrentException = Ex
End Try
End Sub
End Class
End NameSpace
And this is a client code.
Dim cCustomer as New DAC.Customer
cCustomer.AddData
if(Not isnothing(cCustomer.currentException ))
‘code for handler exception of dac
‘e.g.
‘MessageBox.Show(ex.Tostring) ‘ for winform
‘Me.lblShowError.InnerText = ex.ToString ‘for web form
‘code for write log error
End if
6. In development phase you should display detail about exception instead hardcode wording for user
e.g.
Try
‘Code for Add data
Catch Ex as Exception
MessageBox.show(ex.toString)
Instead
MessageBox.show(“Error:Please enter againg”)
End Try
This will help you easy to find the problem, and then you pass development phase you may change wording to friendly word for user. Or you may send both error message and friendly word to user , but you should care about security issue.
7. Desing your own exception
If you wish to design you exception. It is easy to do, you just create a new class and inherit from ApplicationException
Posted by
DevGod
at
9:38:00 PM
0
comments
Labels: .Net





