Monday, February 27, 2006

Sunday, February 26, 2006

A framework to build rich Web apps on top of ASP.NET 2.0, "Atlas" First Look... Great video

ASP.NET "Atlas" First Look... Great video here...

Nikhil Kothari provides a brief overview of ASP.NET "Atlas", a framework to build rich Web apps on top of ASP.NET 2.0. The demo shows an app that uses the new server controls from the December CTP to incrementally enrich standard ASP.NET pages and an app that shows client-centric app development.

http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/20060119AtlasNK/manifest.xml

Need Converting a Data-Oriented Application from VB 6 to VB 2005" - Series Part 1-3

Need Converting a Data-Oriented Application from VB 6 to VB 2005" Check this Series out Part 1 to 3...
http://msdn.microsoft.com/library/en-us/dnvs05/html/adotonet.asp

Tuesday, February 21, 2006

User Interface Controls in Visual Basic 6 and Visual Basic 2005

Need to convert VB 6 UI controls to VB 2005. Check this article on msdn by Bill Sempf. Very useful when you think of migrating projects from VB to VB.net 2.0.
http://msdn.microsoft.com/vbrun/default.aspx?pull=/library/en-us/dnvs05/html/UIConVB6and05.asp

Monday, February 20, 2006

Simplify Development With The Declarative Model Of Windows Workflow Foundation

Simplify Development With The Declarative Model Of Windows Workflow Foundation

This article discusses:

  • Windows Workflow Foundation
  • What's inside a workflow Compo
  • site activities and execution
  • Context and state management

https://www.sdmediagroup.com/msdnmag/sub/msdnmagback.htm

Tuesday, February 14, 2006

Wednesday, February 08, 2006

Is .NET 2.0 Gridview more powerful?

Is Data grid obsolete... There's a New Grid in Town...GridView!

Read this article, http://msdn.microsoft.com/msdnmag/issues/04/08/GridView/ it discusses:
  • The ASP.NET 2.0 GridView, FormView, and DetailsView
  • Differences between the DataGrid and the GridView
  • The programming interfaces of these controls
  • How to achieve master/detail views

Happy Programming!

Sunday, February 05, 2006

.NET reverse engineering tools

Interested in finding out whats in a DLL, when you just have a .net DLL and NO source code...

Try Lutz Roeder’s .NET Reflector:

http://www.aisto.com/roeder/dotnet/

OR
http://www.programmersheaven.com/zone28/cat754/19049.htm for .net reverse engineering.
Cheers - D

Thursday, February 02, 2006

Google Maps - AJAX style application

Write AJAX-style Applications Using the ASP.NET 2.0 Client Callback Manager

With applications like Google Maps for inspiration, it seems everybody's been talking about what you can do with AJAX. But many don't know that writing AJAX-style applications that can do partial screen refreshes without a trip to the server are easy to write in ASP.NET 2.0 using the built-in Client Callback Manager.

Check this dex article for details...http://www.devx.com/webdev/Article/28451

Tuesday, January 31, 2006

Take a test...Microsoft .net 2.0 Skills Assessment

Discover What You Know Today...

By completing this Microsoft Skills Assessment, you can receive a Personalized Learning Plan to help you understand if you are ready to implement specific business solutions.
Your Personalized Learning Plan will include the Microsoft Official Curriculum courses, Microsoft Press books, and Microsoft TechNet resources that will help you with your preparation.
Chck this:
http://assessment.learning.microsoft.com/test/home.asp

Microsoft SQL Server 2005
Microsoft Visual Studio 2005
Visual Studio .NET
Desktop Deployment

Sunday, January 29, 2006

Top 10 most popular webcasts by MS

Viewing makes you learn better ... is it? Check out the top 10 most popular webcasts by Microsoft here:
http://www.microsoft.com/events/top10.mspx

Wednesday, January 25, 2006

Wicked Code asp.net 2.0 -- (feature 5/5)

Feature 5: Custom Web Events

PROBLEM:
How easy it is to create our own Custom Web Events in .net 2.0?

SOLUTION:
http://msdn.microsoft.com/library/en-us/dnvs05/html/custwebcon.asp
http://www.asp.net/QuickStart/aspnet/doc/monitoring/webevents.aspx

Analyze this code:-
using System;
using System.Web.Management;
using System;using System.Web;
using System.Web.Management;

public partial class WebEvent_aspx
{
void Button1_Click (object sender, EventArgs e)
{
MyWebEvent mwe = new MyWebEvent ("Click!", null, 100001, DateTime.Now); WebBaseEvent.Raise (mwe);
}
}


public class MyWebEvent : WebBaseEvent
{
DateTime _time;

public MyWebEvent (string message, object source, int eventCode, DateTime time) : base (message, source, eventCode)
{ _time = time; }

public override void FormatCustomEventDetails( WebEventFormatter formatter)
{ formatter.AppendLine ("Button clicked at " +_time.ToString()); }
}

Sunday, January 22, 2006

Wicked Code asp.net 2.0 -- (feature 4/5)

Feature 4: Custom Expression Builders

How to create our own Custom Expression Builders ?

SOLUTION:
using System;
using System.Web.UI;
using System.Web.Compilation;
using System.CodeDom;

public class VersionExpressionBuilder : ExpressionBuilder
{
public override CodeExpression GetCodeExpressionBoundPropertyEntry entry, object parsedData, ExpressionBuilderContext context)
{
string param = entry.Expression;
if (String.Compare(param, "All", true) == 0)
return new CodePrimitiveExpression
(String.Format("{0}.{1}.{2}.{3}", Environment.Version.Major,Environment.Version.Minor, Environment.Version.Build,Environment.Version.Revision));

else if (String.Compare(param, "MajorMinor", true) == 0)
return new CodePrimitiveExpression
(String.Format("{0}.{1}", Environment.Version.Major, Environment.Version.Minor));
else throw new InvalidOperationException
("Use $ Version:All or $ Version:MajorMinor"); }}





Thursday, January 19, 2006

Wicked Code asp.net 2.0 -- (feature 3/5)

Feature 3: Auto Culture Handling

PROBLEM: How do we handle localization in our web sites...?

SOLUTION:
Let's look first at ASP .net 1.x:-

void Application_BeginRequest (Object sender, EventArgs e)
{
try
{
if (Request.UserLanguages.Length > 0)
{
CultureInfo ci = CultureInfo.CreateSpecificCulture(
Request.UserLanguages[0]);
Thread.CurrentThread.CurrentCulture = ci;
Thread.CurrentThread.CurrentUICulture = ci;
}
}
catch (ArgumentException)
{
// Do nothing if CreateSpecificCulture fails
}
}

ASP.net 2.0 (almost no code....) [Auto culture]:-

<%@ Page Culture="auto" UICulture="auto" Language="C#" CompileWith="AutoCulture.aspx.cs" ClassName="AutoCulture_aspx" %>

Obviously, there's more to localizing an entire Web site than simply enabling auto-culture handling. Auto-culture handling does not, for example, localize static Web site content. But ASP.NET 2.0 offers other new localization features as well, including the new tag for localizing static content and $ Resources expressions for loading localization resources declaratively.

Monday, January 16, 2006

Wicked Code asp.net 2.0 -- (feature 2/5)

Feature 2:
Encrypted Configuration Sections

PROBLEM:
Developers are concerned about how to securely store sensitive information in config files like web.config without spending too much time/effort?

SOLUTION:
Did you know that you can encrypt sections of Web.config to prevent connection strings and other potentially injurious data from being stored in plaintext?

ASP.NET also offers you a choice of two encryption modes. One uses triple-DES encryption with a randomly generated key protected by RSA; the other encryption mode uses triple-DES encryption as implemented by the Windows® Data Protection API (DPAPI). You can add support for other encryption techniques by plugging in new data protection providers.

One call to ConfigurationSection.ProtectSection is sufficient to encrypt a configuration section; a subsequent call to ConfigurationSection.UnProtectSection decrypts it. Following a successful call to either method, you call Configuration.Update to write changes to disk.

Sunday, January 15, 2006

Wicked Code asp.net 2.0 (new key features in -- 1/5)

We will disuss 5 key features in this asp.net 2.0 series, which i think will be really helpful from the developer's perspective... These features implementation literally takes half the time, then it used to take in .net 1.1. Check it out yourself. Please feel free to comment on this if you hold any apprehensions....

Feature 1:
Updating Browser Displays in (Almost) Real Time

Problem: Developers used to find it real difficult to meet client requirements (banking, stock exchange) for instant refresh of the data (usually in data grid display) and still NOT have the performance hit. Since there was an HTTP postback to the server involved here, how good you code did not matter, and there was always a lil performance hit.

Solution (.net 2.0): XML-HTTP callbacks
Did you realize that the new ASP.NET 2.0 client callback manager provides an elegant solution to the problem of keeping browser displays in sync with constantly changing data on the server?

XML-HTTP callbacks enable browsers to make calls to Web servers without performing full-blown postbacks. The benefits are numerous. XML-HTTP callbacks transmit less data over the wire, thereby using bandwidth more efficiently. XML-HTTP callbacks don't cause the page to flicker because they don't cause the browser to discard the page as postbacks do. Furthermore, XML-HTTP callbacks execute less code on the server because ASP.NET short-circuits the request so that it executes the minimum amount of code necessary. Inside an XML-HTTP callback, for example, a page's Render method isn't called, significantly reducing the time required to process the request on the server.

The scenario generally involves an ASP.NET Web page displaying data that's continually updated on the server. The goal is to create a coupling between the browser and the Web server so that when the data changes on the server, it's automatically updated on the client, too.


Thursday, January 12, 2006

AJAX...Bridging the Thin-Client Performance Gap

AJAX ... is the way to go !
Does .net 2.0 supports this in a very efficent way?
Check the gridview controls...use XMLHttpRequest for asynchronous data retrieval with the web server. Avoid postbacks...

Read this small article to have broader know how on AJAX (Ironspeed)
http://www.ironspeed.com/articles/ajax-bridging%20the%20thin-client%20performance%20gap/article.aspx