Tarik さんのプロフィールTour In Developer Lifeブログリストつながり ツール ヘルプ

ブログ


Complexity Developing N-Tier Application ?

Of course we must always remember that switching from 2-tier to 3-tier decreases performance and increases complexity (cost). So any benefits from scalability or security must be sufficient to outweigh these costs. It all comes down to a cost-benefit analysis.

Rockford Lhotka - Should all apps be n-tier?

Before Installing VS.NET 2005 RTM


Before Getting Shocked Like Me When I Began To Install The Strange SP1 Beta , Microsoft Has Released RTM Version You Can Download It From Here
Microsoft Visual Studio 2005 Team Suite Service Pack 1
 Please Read The Following Instructions Before Installing It
Installing Visual Studio 2005 Service Pack 1 (RTM)

VB.NET 2005 and .Net Framework 2.0 HotFixes Are Available For Download


VB.NET 2005 and .Net Framework 2.0 HotFixes Are Available For Download On http://go.microsoft.com/fwlink/?LinkID=76558&clcid=0x409
Or You Make Like To Use Visual Studio 2005 SP1 Beta (It Is The First Time To See Beta Service Pack )
(Registration Is Required)

Open Source Team Project Management @ CodePlex


Yesterday I Got An Approval For My Open Source Team Project Management On CodePlex , The Project Is Targeted For Small and Medium Sized Teams To Allow Project Managers And Team Leaders To Manage Their Project Related users , Tasks , Budget and Resources
I've Adopted N-Tier Architecture With This Project Providing Both Desktop and Web Access To The Application

Development Tools Used In The Project :
1 - VB.NET 2005 (For Both Windows and Web)
2 - MS SQL Server 2000

Developers , Coordinators and Team Leaders Who Are Enthusiastic For The Project Are Welcomed To Participate Through CodePlex

Bug In VB.NET 2005 With Right To Left Property


The Bug Discovered By My Colleague Eng \ Ahmed Kamal , Add New Form To Your Application and Add a Button Named RTLBtn , In The Backgroundimage For The Form Choose any Image For It
In The Click Event For The Button Put The Following Code :
[Code]
Me.RightToLeftLayout = True

Me.RightToLeft = Windows.Forms.RightToLeft.Yes
[Code]

The Result Is The Dis-Appearance Of The BackgroundImage With No Reason , Thanks Ahmed For The Bug


Visual SourceSafe 2005 Does Not Support Visual Studio Express Editions


We Use Visual SourceSafe 2005 With Visual Studio 2005 Professioanl Edition At Work Time Ago So I Needed To Use At Home With Some Sample And Automated Codes ,When I've Tried To Install Visual SourceSafe 2005 On My Home Computer Which Operate Windows XP SP2 and Visual Basic 2005 Express Edition , I Found That Visual SourceSafe Does Not Appear In The Files Menu Or In The "Tools - Options - Source Control" Menu , I Made Repair And Followed The Instruction Here Till I Found That Visual SourceSafe 2005 Does Not Integrate With Express Editions , You May Like Also To Look At This Cached Page Talking About That
Does Viausl SourceSafe Express Exist ?

I Found VSS (Visual SourceSafe) Documentation Poor In Explainning MS SQL Server 2000 Integration , Look At The Folleing And Tell Me How To Do It
********************************************************************

Visual SourceSafe for SQL Server allows you to work with stored procedures as described in the SQL Server documentation. Basically, you can place a stored procedure under source control using a Data View window and an Add to Source Control command.
********************************************************************
Can You Tell Me Where To Find The Data View Window

I May Look At Subversion To Use At Home Work .... I May Send My Notes Here


XML Web Service and Pocket PC Application

While I Was Writting Some Code Samples Today as I Do On  My Vacation , I Thought Why Not To Convert a Class I've Done Before To Web Service Then Consume It In Pocket PC Application , I Was Using a Method Called UpdateDS Passing a Variable Of DataTable Type To It The Code Is:
Code

<WebMethod(Description:="Update Changed Table By Passing Changed DataTable as a Parameter To The UpdateDS Method")> _

Sub UpdateDS(ByVal DTChanges As DataTable)

'Get Changed Table Data In ChangedTable Variable

ChangedTable = DTChanges.GetChanges(DataRowState.Modified)

'IF Changed Data Has No Erros

If Not ChangedTable.HasErrors Then

'Begin Update Process

DAP.Update(DTChanges)

DTChanges.AcceptChanges()

End If

End Sub

Ok I Got Error Message "Cannot serialize member System.ComponentModel.MarshalByValueComponent.Site of type System.ComponentModel.ISite"

I Sent M.Meligy a Message Descriping My Problem , At The Same Time I Was Thinking That The DataTable May Not Implement ISerializable , M.Meligy Told Me The Same , He also Suggested To Use Dataset Instead , I Said To My Self "Good Idea And May Work Well as DataSet Implement ISerializable Interface" , I've Changed The Code To

Code

<WebMethod(Description:="Update Changed Table By Passing Changed DataSet as a Parameter To The UpdateDS Method")> _

Sub UpdateDS(ByVal DSChanges As DataSet)

'Get Changed Table Data In ChangedTable Variable

ChangedTable = DSChanges.Tables(0).GetChanges(DataRowState.Modified)

'IF Changed Data Has No Erros

If Not ChangedTable.HasErrors Then

'Begin Update Process

DAP.Update(DSChanges)

DSChanges.AcceptChanges()

End If

End Sub

Then I Could Play With Tables Through DataSet , Sure This Problem Was Solved But I Searched For More Info About DataTable Serialization , I 've Found Cool Links Have Shown Me Some Useful Info

Is it possible to return a DataTable from a Web Service (Thnaks To Maarten van de Bospoort His Reply Was So Helpful)

Why The DataTable Not?

No Error Message After Using Dataset , But I Got Another Error Message When I Tried To Consume The Web Service From Pocket PC "Unable To Connect To Remote Server"

I 've Found This Link Advicing To Change The LocalHost In  Web Service Url To The Machine Name, I Still Can Not OverCome The Problem

NGen.exe What about it ?

It Seems to be a big day , my dear brother Eng.Mohammed Hussien has sent me NGen article published in MSDN Magazine April 2005
Speed
NGen Revs Up Your Performance with Powerful New Features

it was strange that i was at the same time read about Ngen.exe

Native Image Generator (Ngen.exe)

have nice time reading about NGen.exe