|
|
Latest Posts
-
|
|
Tech.Ed 2006 in Chennai will be held at Chennai Trade Centre and kick starts on 15th June and will end with a bang(entertainment/party) on 17th June.
Where is Chennai Trade Centre?Chennai Trade CentreMount Poonamallee High RoadNandambakkam Chennai: 600089...
|
-
|
|
Hmm "Operation could destabilize the runtime" sounds too scary, what operation on earth is this; which can destabilize the .Net runtime?
It looks like the 1.1 C#/VB.Net compiler had case boundary with the generated IL code, the massive overhaul done...
|
-
|
|
Developer's are the most busiest guys on the earth and unfortunately I am one of them. So what do we do about it? Well, I have decided to go out on date with the five beautifull girls. Their names are listed below.
Ms. ObjectDataSource
Ms. SqlDataSource...
|
-
|
|
As simple as it gets, C# 2.0 has brought with it loads of language features. Some made a huge difference and few less talked about.
One of them is String's IsNullOrEmpty method, let's do a comparision of C# 1.1 and 2.0 logic to check for a empty and...
|
-
|
|
In our .Net 1.1 days we used to check whether a string object contains a specified string(text) using IndexOf method.
Here is the typical code to check the existence of a string in an string object.
//Sample code
string sName = "John Smith";
if(sName.IndexOf("Smith")...
|
-
|
|
Developers were always looking forward to the inclusion of Nullable types in C#. I love the way it's been implemented using generics. Before we go in to the specifics of Nullable types; let's look at what is a Nullable type and it's usage.
What's a...
|
-
|
|
Interned string is nothing but a locked up version of a string, so that it can be shared.
Memory allocation can be avoided by using string.Empty.
string sFirstName = string.Empty;
The C# compiler is intelligent enough to generate code based on our...
|
External News
-
|
|
Rewriting an article is a complex and time consuming job. If you agree, then why not check out Mass Article Rewriter which simplifies the process of article rewriting. In this review, Anand examines the usage and usefulness of this software in detail.
|
-
|
|
In the year 2005 we published an article about creating master-detail GridView control. jQuery was not a first class citizen during that time and most of the work was performed by either plain old vanilla JavaScript or the server side code. With the advent of jQuery we can now create cool master-detail effects easily in less time and less code. This article explains how to spice up master-detail using jQuery.
|
-
|
|
This article shows the usage of GroupTemplate for grouping data using the data-bound ListView Control.
|
-
|
|
An easy and reusable way to create redistributable UserControl-like CustomControls based on ascx markup.
|
-
|
|
There are occasions when you want to highlight a row in the GridView (I usually want this based on a Boolean field).
|
-
|
|
Sometimes we need create many reports in multiple threads simultaneously. This may be the development of a web service, or output information from an existing multithreaded application in a certain document format (PDF as example).
I noted that FastReport VCL library is a better solution for document generation in multiple formats. This component library is easy to use and has a convenient report designer which allows you to easily connect to different data sources, among which may be internal application data - arrays, sets of parameters, etc.
Traditional use of FastReport does not give any difficulties, but now we have to use this report generator in a multithreaded application. The output file format will be PDF.
|
-
|
|
Step by step approach for developing a Facebook Connect application with ASP.NET.
|
-
|
|
I was sorry that the Autocomplete filter from the old Futures project was not added to Dynamic Data 4. So I thought I would do it, and here it is. I also thought I would make it work with the Entity Framework as well.
|
-
|
|
Ajax libraries have simplified developer's life by providing clean & easy-to-use API. Their usage is so simple that we developers over use it, without realizing the performance impacts. In this article, I would like to explain a few scenarios in which Ajax can be an overkill for your web apps.
|
-
|
|
I wrote unit tests for my ASP.NET MVC application that uses some jQuery AJAX-components. These components load data from server in JSON format. I needed to write tests for these methods to make sure that correct data is returned to client. In this posting I will show you how to use dynamic type to test JSON-based action results and therefore avoid creating DTO classes.
|
-
|
|
I recently posted some CSS and HTML snippets for a buttons collection I was using for a Menu style UI Scott Koon from www.LazyCoder.com posted a comment with a better way (thanks Scott). This way I don’t have to set the CSS Class for each button. Just contain them in a div. Here is the [...] Read More......( read more) 
|
-
|
|
When trying to build the right data structure in Orchard to contain a view model to which multiple entities blindly contribute, it became obvious pretty fast that using a dynamic structure of sorts was a must. What we needed was a hierarchical structure: a page can have a list of blog posts and a few widgets, each blog post is the composition of a number of parts such as comments, comments have authors, which can have avatars, ratings, etc. That gets us to the second requirement, which is that multiple entities that don’t know about each other must contribute to building that object graph. We don’t know the shape of the graph in advance and every node you build is susceptible to being expanded with new nodes. The problem is that C# static types...( read more) 
|
-
|
|
In the first part of this post , I explained what requirements we have for the view models in Orchard and why we think dynamic is a good fit for such an object model. This time, we’re going to look at Louis ’ Clay library and how you can use it to create object graphs and consume them. But before we do that, I want to address a couple of questions. 1. If we use dynamic, aren’t we losing IntelliSense and compile-time checking and all the good things that come with statically-typed languages? And is C# becoming overloaded with concepts, and trying to be good at everything but becoming good at nothing? Hush, hush, everything is going to be all right. Relax. Now think of all the XML/DOM styles of APIs that you know in .NET (or Java for that matter...( read more) 
|
-
|
|
This is the twenty-sixth in a series of blog posts I’m doing on the VS 2010 and .NET 4 release. Today’s blog post covers some useful debugging tips that you can use with Visual Studio. My friend Scott Cate (who has blogged dozens of great VS tips and tricks here ) recently highlighted these to me as good tips that most developers using Visual Studio don’t seem to know about (even though most have been in the product for awhile). Hopefully this post will help you discover them if you aren’t already taking advantage of them. They are all easy to learn, and can help save you a bunch of time. Run to Cursor (Ctrl + F10) Often I see people debugging applications by hitting a breakpoint early in their application, and then repeatedly...( read more) 
|
-
|
|
VS2010 Ultimate included IntelliTrace functionality by default. IntelliTrace captures events (e.g. exceptions), and can affect performance of debugging. The typical performance hit is about 5% in the default mode (collection can be increased to...( read more) 
|
|
|