May 25th, 2010
Code purists will be horrified, but dynamic types have arrived in C# 4.0. In languages such as PHP and JavaScript, variables are loosely typed; there’s no need to declare what type of data a variable will hold, so there are no constraints on the operators or methods you can use, for example: // JavaScript code var myvar = “Hello”; myvar += 1; alert(myvar); // outputs “Hello1″ C# and VisualBasic.NET are strongly... 
May 20th, 2010
In the early days of the web, a web developer (or webmaster) was expected to do everything: a little graphic design, database development, server-side coding, and front-end engineering. The job was varied and rapidly changed as the technologies evolved. Today, there’s far more divergence within the employment market: a designer may spend all day using PhotoShop and never touch the website code a front-end engineer may concentrate on HTML,... 
May 19th, 2010
This latest lesson in our ASP.NET from Scratch series delves into Master Pages – ASP.NET’s built-in templating engine. You’ll learn what Master Pages are, and how to use Master and Content pages to provide a consistent look and feel to your web application. The Complete Series Lesson 1: Getting Started Lesson 2: Improving an Email Form Lesson 3: Class Inheritance Lesson 4: SQL Server Lesson 5: Master Pages Lesson 5: Master... 
May 18th, 2010
Optional parameters are default values used when a function or method is called without specific arguments. They can be used in PHP… // PHP optional parameters function DoSomething($num = 1, $str = “optional”) { // code } as well as VisualBasic.NET: ‘ VB.NET optional parameters Public Sub DoSomething( Optional ByVal num As Integer = 1, Optional ByVal str As String = “optional” ) ‘ code End Sub and similar... 
April 27th, 2010
In this tutorial, I’ll be walking you through how to a write a Twitter widget for ASP.NET in the form of a reusable server control complete with nice things such as automatically turning URLs into links, and caching to speed up page load times. Step 1 Getting Started To follow this tutorial, all you need is Visual Studio (You can use MonoDevelop if you’re not on Windows, although there’s no guarantees there.) If you don’t... 
April 23rd, 2010
Over the course of this tutorial we’ll look at how to create a simple image organizer that lets users reorder a series of images; this functionality could be useful on any kind of image-based site where users have a collection of images that they have uploaded or otherwise added to their profile or account. We’ll use .net to retrieve and store the order of images in a SQL database on the server, and jQuery UI to handle the reordering... 
April 6th, 2010
Part four of this series changes the lesson plan again! This lesson introduces you to Microsoft SQL Server 2008 and SQL Management Studio. Youíll learn how to create a database, add tables to it, and populate it with data. You’ll then use that data and bind it to a template control. The Complete Series Lesson 1: Getting Started Lesson 2: Improving an Email Form Lesson 3: Class Inheritance Lesson 4: SQL Server Lesson 4: SQL Server Sell... 
March 3rd, 2010
Since its release, ASP.NET applications and components have looked to the web.config file to load any settings they need to function. However, adding custom settings to add flexibility and robustness to an application or component isn’t as straight forward as most would like. This article teaches you how to write the necessary classes to handle XML configuration elements and use the settings they contain within your code. Tutorial Details... 
February 23rd, 2010
As software developers, we spend a lot of time extracting and displaying data from many different data sources. Whether it’s a XML webservice of some sort, or a full featured relational database, we have been forced to learn different methods of data access. Wouldn’t it be great if the method of access was the same for all data sources? Well, we are in luck because, as of the release of C# 3.0 and the .NET 3.5 Framework, LINQ has... 
February 18th, 2010
In part one of the “ASP.NET for PHP Developers” tutorial, we learned the basics of ASP.NET and the C# language. Part two builds on that foundation, and introduces some more advanced features and techniques to take your ASP.NET pages to the next level. Tutorial Details Technology : ASP.NET (C#) Difficulty: Advanced Estimated Completion Time: 1 hour Part: 2 of 2 Before you Start… Ensure you have read and completed the examples... 
January 27th, 2010
When building an application, developers often face the decision of either writing functionality themselves or look to a third party component to get the job done in a timely manner. In the case of the latter, a well-designed component can greatly enhance a developer’s productivity. If you write components, you have an obligation to ensure your components are well-designed, easy to deploy, and above all, easy to use. Tutorial Details Technology... 
January 21st, 2010
Picking up where Lesson two left off, this new installment of ASP.NET From Scratch covers more C# programming fundamentals – namely class inheritance and interfaces. In this lesson, you’ll learn how to use inheritance to save time and code. You’ll also learn about the concept of interfaces, and how they can make your applications and components flexible and maintainable. You’ll also be introduced to the Object Browser, a feature... 
January 12th, 2010
This tutorial, for PHP developers, will provide you with an introduction to ASP.NET using the C# language. If you’ve wondered what ASP.NET is about, this tutorial will strive to answer at least some of your questions. Even if you’re an ardent open-source fan, ASP.NET contains some techniques and features that are useful to know about. And, as some might say, it’s good to know your enemy! Tutorial Details Technology : ASP.NET... 
TOP