Geeks With Blogs
Stephanie Grima C#, ASP.NET and my life. C# This Category contains articles and blogs which have to do with C# code, technology or background.
Software Development Project
Hi guys! So yesterday I had the interview for my final college assignment. And....... I got a distinction =D I was damn worried about this assignment cos it was huge, and it contained SEVERAL criteria, which were SEVERAL pages long. Anyway I am very happy with the results, and I'm thinking about continuing this project in my free time and then launch it in the coming months... Here are a couple of screen shots of the website so far :) Don't hesitate to ask stuff, or requesting ideas to be added to ......

Posted On Friday, June 5, 2009 5:30 AM

A few updates
Hi guys and gals, As some of you may know, I have quit working on SharePoint for the past five months, to focus more on my very last months of studies, for which I am programming a social website which I am hoping to launch this year or earlier next year. As such, I have not been reading or working on SharePoint, and had my interests focused on this project. I am focusing more on C# .NET and AJAX, together with database: MS SQL SERVER. During the last couple of weeks I have been on the look out for ......

Posted On Thursday, May 7, 2009 8:19 AM

My CV
Stephanie Grima’s Curriculum Vitae Introduction As a person, I consider myself as capable to work alone and with a team easily. I am very hard working, and do whatever I set my mind to doing. I am currently at MCAST ICT, during my last year of my studies reading my Higher National Diploma. I also hold an A-Level in IT as well as a National Diploma in Computing. I see myself working in IT as a web developer or software programmer while I continue furthering my knowledge by doing exams such as MCTS ......

Posted On Wednesday, March 11, 2009 3:07 AM

I'm an MSP!
As of March 6th, I have become one of the few MSPs in Malta. MSP stands for Microsoft Student Partners. I am very thrilled about this, and am looking very forward in meeting with the group and start experiencing this one year programme. For those of you who have no idea what an MSP is... Here is some information I found online: "The Microsoft Student Partner (MSP) Program is an annual award that recognizes people who have made outstanding contributions to the student technical community. We reward ......

Posted On Sunday, March 8, 2009 10:09 AM

[Visual Studio] [SharePoint] Workflow Toolbox doesn't have SharePoint section
Workflow Toolbox doesn't have SharePoint section This is what you need to do to add the SharePoint Section: Go to the toolbox Right Click and choose ADD NEW TAB Rename the new tab as SharePoint Then right click on new tab and click on CHOOSE ITEMS Browse to: "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ISAPI" Locate the following dll: microsoft.sharepoint.Workfl... Click OK Now you have other activities etc to make use of example: CreateTask, SetState, DeleteState ......

Posted On Friday, November 7, 2008 8:47 PM

[C#] What is NUnit?
As suggested by Pete O'Hanlon, I am going to take a look at NUnit. I am not very familiar with it as yet, so I am basically doing research to see it's capabilities :-) I heard that I will be teached about it in lecturers in the near future, so I will be blogging even more once I get a good grab at it. What is NUnit? NUnit is a free unit testing framework designed to be used with .NET projects. This framework provides a library that has classes and methods which help writing test scripts. Nunit has ......

Posted On Saturday, November 1, 2008 11:04 PM

[C#] [Java] Testing [Part 5]: Integration Testing
Integration Testing: The methods/procedures/functions that were tested seperately in Unit Testing are combined and tested as a group. Integration testing is mostly use to check the performance, reliability of a product and to check whether the requirements have been met. Advantage: It is important to test in groups before testing the application as a whole because you can find code problems earlier in the project. Disadvantages: Boring, monotonous Time consuming ......

Posted On Friday, October 31, 2008 9:12 AM

[C#] [Java] Testing [Part 4]: Unit Testing
Unit Testing Unit testing is when a tester, tests every method/function/procedure seperately. This is done to make sure that the most vital methods work as expected. Once the methods are tested one after the other, these are then put in groups according to what they do to form components. Then, these are tested using Integration Testing. This will be tackled in the next part. Advantages: Improves design Reduce cost of change because bugs are seen instantly Disadvantages: Time consuming. Testers and ......

Posted On Friday, October 31, 2008 6:51 AM

[C#] [Java] Testing [Part 3]: Gray Box Testing
Gray Box Testing Gray Box Testing is the combining of black box, and white box testing. It involves having access to internal data structure and algorithms, but the testing is still done at a user's level, therefore as black box testing. It is said to be mostly used in web services applications since the Internet is quite stable. Advantages: The testers do need to have the source-code while testing. Disadvantages: The testing is done based on limited knowledge of the internal code. Difficult to resolve ......

Posted On Friday, October 31, 2008 5:58 AM

[C#] [Java] Testing [Part 2]: White Box Testing
White Box Testing White box testing is known as clear box testing and glass box testing. The technique in white box testing is to have a very good knowledge of the internal code. The testers need to know what the product does, what the code really does because they need to examine the output values as well as the values within the methods/procedures/function. If the tester, does not know the code well, this kind of testing will be a failure and not accurate at all. It is ideal to do this kind of ......

Posted On Friday, October 31, 2008 4:40 AM

[C#] [Java] Testing [Part 1]: Black Box Testing
Black Box Testing Black box testing is the testing of methods/functions/procedures without knowing what is in the internal code. You would only know what to input, and what the expected outcomes should be. So to speak, no knowledge of the programme/application is required to do this kind of testing. Advantages The testers do not require any knowledge on the product being developed The testing is done from the user's points of view The programming and testing are done by different persons Disadvantages ......

Posted On Friday, October 31, 2008 12:10 AM

[C#] Array vs ArrayList
Array is: a datatype, thatcan be used by calling indexes. during runtime, one cannot really change the size of the array, unless you use the method of copying the array and getting rid of the old one. In .NET, the Visual Studio makes use of a special class to store the data. Because of this, the performance is actually quite fast. This is also because in an array, you need to specify the size and thus, the data is stored one after the other. Examples: int[ ] myNumbers= new int[5]; myNumbers[0] = ......

Posted On Thursday, October 30, 2008 6:14 PM

[C#] [Java] Control Structures Part 5 : FOR Statement
For Statement The for statement, mostly known as for loop, is a way to iterate over a range of values. It is mostly referred to as a loop since it is used as an iteration until the expression is fullfilled. for(initialization; termination; increment) { statement/s } Initialization: this is executed once, to start the loop Termination: the loop stops once this expression becomes false Increment: After each iteration, this incrementation is invoked. The value here is either of incrementation or decrementation ......

Posted On Wednesday, October 29, 2008 10:54 PM

[C#] [Java] Control Structures Part 4 : DO/WHILE Statement
DO/WHILE Statement So people may ask: What is the difference between a while loop and a do while loop? The difference is that the do... while has the expression in the bottom of the loop. This means that he code has to be executed AT LEAST, ONCE. The while statement on the other side, is not executed at all if the condition is false from the beginning. This is how a do while looks: do { statement/s} while (expression);A more real example is the following:int counter = 1;results = "";do { results ......

Posted On Wednesday, October 29, 2008 9:14 PM

[C#] [Java] Control Structures Part 3 :WHILE Statement
While Statement The while statement is continously executed a block of code, until the condition is not true anymore. The while statement is also called a loop since it executes repeatedly one after the other until the condition is not met anymore. while (expression) { statement/s } A proper example of a while loop is the following: int counter = 1; string result = ""; while (counter < 11) { result += "Count is: " + counter; counter++; } Explanation: While the counter is less than 11, therefore ......

Posted On Wednesday, October 29, 2008 7:25 PM

[C#] [Java] Control Structures Part 2 : Switch Statement
Switch Statement It is a control statement, which lets you transfer control to different statements within the switch, according to the value in the switch expression. switch(expression) { case "statement1" : statement1 body; break; case "statement2" : statement1 body; break; default : default body; break; } If the switch expression matches the criteria within one of the statements, the body beneath it is performed until it meets the end of the body, which is break. If the expression doesn't meet ......

Posted On Wednesday, October 29, 2008 7:13 PM

[C#] [Java] Control Structures Part 1 : If / Else Statement
If/Else Statement: The code between the curly brackets executes only if it meets the value of the boolean expression: if(expression) { statement1 } else { statement2 } If expression is true, execute statement1, else if it is false, execute statement2. The following is a much more realistic example: string sentence = ""; if(name == "Stephanie") { sentence = "Hello " + name; } else { sentence = "Hello there"; } An improvement over this if/else statement is the nested if/else. This means that when the ......

Posted On Wednesday, October 29, 2008 9:55 AM

[C#] [Java] Basics : Arithmetic Operators
The following are the basic arithmetic operators used in programming: + : the sign indicating the operation of an Addition. Addition is when two numbers are added or combined to get an amount or total. It can also be the joining of two such as strings. example: int x = 5; int y = 4; int z = x+y; therefore, z = 9 example: string wordOne = "go"; string wordTwo = "away"; string phrase = wordOne + " " + wordTwo; thereforem phrase = "go away" - : the sign indicating the operation of a Subtraction. Subtraction ......

Posted On Wednesday, October 29, 2008 9:02 AM

[C#] MPX - Multi Pointer X
MPX is a technology which allows multiple independent pointers (mouse cursors) at the windowing system level. By this, we mean that these mouse cursors are all connected to one single computer. This technology features the additional of multiple input devices and are ideal for various projects like: games which involve more than one player, two handed drawings, some sort of quizzes where users use one single computer etc. The following is a screen shot of where the MPX technology is used: The following ......

Posted On Tuesday, October 28, 2008 7:50 PM

Transactions [C#]
A customer has two bank accounts. In bank account A, he has 50 Euros. On bank account B, he has 100 Euros. The customer wants to put 25 Euros from bank account A in bank account B. In order to do this, one should have two SQL statements: UPDATE AccountA SET Balance = Balance – 25 WHERE Customer = 1; UPDATE AccountB SET Balance = Balance + 25 WHERE Customer = 1; However, if the first update statement successfully executes, and the second one fails, the customer will end up with having 25 Euros deducted ......

Posted On Monday, October 27, 2008 9:25 AM

[SharePoint - VisualStudio] Error : Corroleation value has not been initializedon declaration *correlation name* for activity *name of activity*

 

This error arises on the deployment of a SharePoint Workflow where the developer has put an activity above the onWorkflowActivated activity.

Kindly, put the onWorkflowActivated activity as the first activity in your workflow as this is a SharePoint restriction.

Try to deploy again. Good luck!

Posted On Friday, October 24, 2008 6:26 PM

[SharePoint - VisualStudio] Description of the files when creating a SharePoint Server Sequential Workflow Library
The files that appear in the solution explorer automatically when you create a new Sequential Workflow Library are: · Feature xml (DeploymentFiles\FeatureFiles) : o This xml file is used to put together a workflow as a feature, in order for it to be deployed into SharePoint. When creating the project, this file is almost blank. · Workflow.xml (DeploymentFiles\FeatureFiles) : o This workflow xml file is the final piece the developer needs to deploy workflow to SharePoint. At the beginning, this file ......

Posted On Friday, October 24, 2008 6:17 PM

The Basics : Relational Operators used in coding
The Basics : Relational Operators used in coding Both in Java and .NET (especially in terms of C#), the same relational operators and syntax are used in conditions. Below find them listed together with a definition and an example of each: Operator: Definition Example: Meaning: < less than If (x < y) { } If x is less than y… do something > greater than If (x > y) { } If x is greater than y… do something <= less or equal to If (x <= y) { .= } If x is less or equal to y… do something ......

Posted On Tuesday, October 21, 2008 8:35 AM

TCP networking technology in a Chat Application
TCP networking technology in a Chat Application: TCP technology will allow the communication between a server and a client and vice versa, through the use of serializing an object over a network, such as the Internet. The advantage to using TCP over Socket programming is that TCP performs a great deal of functions transparently, such as acknowledging the receipt of data packets, retransmitting lost packets etc. The disadvantage to using TCP over Socket programming is that Sockets are a great deal ......

Posted On Tuesday, October 21, 2008 8:27 AM

Copyright © Steffi | Powered by: GeeksWithBlogs.net