Hello All. In this example I am trying to show how to format currency based on user’s browser setting. Our aim is to show them the formatted currency like: Format Language $1,000.00 United States 1,000.00د.إ. Arabic R$ 1.000,00 Portugese 1.000,00 TL Turkish Step 1: Create the ASP.NET Application Create a new web application and on […]
We can download “Web Client Software Factory – February 2008” from the following link and install it. http://www.microsoft.com/downloads/en/details.aspx?FamilyId=47755838-049B-4291-AFEA-A379AE28D7B3&displaylang=en Additional Requirements WCSF requires following things to be installed. Windows XP/Vista/2003 Visual Studio 2008 .Net 3.5 Verification After installation you will be able to see the following new project type.
Web Client Software Factory (WCSF) is a framework for Web Client creation with proven practices and patterns. It is built up on ASP.NET. Advantages of WCSF Model View Presenter (MVP) support Automatic Service Instance Creation resulting in reduced coding and memory overheads Hides Complexity in traditional ASP.NET application More support for Unit Tests Reusability through […]
One of the cool benefits of WCSF is the support of Model View Presenter (MVP). The advantages of MVP are many: Isolation of User Interface management code through Presenter Isolation of Business Logic code through Controller Improved Unit Test support for code Note: The MVP here also contains a Controller class Learn by Example From […]
This article shows how to create a new web project in Web Client Software Factory. Step1: Select “Web Client Solution” Open your Visual Studio and select File>New Project. Select the Web Client Solution from the category shown in image. Click Ok and you will get the following wizard. Click Finish to end the wizard.
Test Driven Development (TDD) TDD confines to be a good agile methodology. It will give the long term advantage of maintainability to the code that will give confidence while refactoring. I believe if properly used there is no much time cost incurred in using TDD, because I a big fan of TDD . Advantages of […]
I have tried many Lambda expression evaluations and enjoyed the reduced coding efforts they provide. But really I would like to evaluate the speed benefits that Lambda provides. In this article I am trying to compare the speed difference of Lambda expressions with traditional programming. The results are mind-blowing. Simple Scenario : Finding Sum We […]
Sometimes you might end up with a machine where the ftp tools are not accessible. Here we can use the ftp.exe command line tool along with Windows Operating system. Step1: Type ftp in the windows run command box. Step2: In the appearing command line window type open www.yoursite.com. (I am typing my site named www.fortuneanalyst.com) […]
Control.CheckForIllegalCrossThreadCalls = false; is needed for refreshing controsl from other threads. But for creating controls and setting parent to other control which was created in another thread the following code is needed. Pre-requisites Create a new windows forms application and place a button with click event handler on it. using System; using System.Collections.Generic; using System.ComponentModel; […]
We can use the sys.tables and sys.objects to find metadata of tables and columns. Display all User Tables select * from sys.tables – displays all user tables Display all Columns in a Table select * from sys.columns where object_id in (select object_id from sys.tables where name=’MyTable)