Friday, April 13, 2007

Ajax control toolkit for ASP.NET 1.1,2.0 -ANTHEM.NET

There are lots of Ajax enable toolkit available to asp.net 2.0 but i have found another one Ajax enable toolkit. It is Jason Diamond's MyAjax.net which has recently been redesigned and launched on SourceForge.Net as Anthem.NET.


Anthem.net is so easy to use and contain almost all the controls are Ajax Enabled.It supports view state, so you can get control states and page info back in callbacks. It works seamlessly with web user controls, and master pages; and having used it on a live application, I can say it's reasonably stable. Best of all, you won't need to write any JavaScript (or XML script).

You can found more details for anthem.net from following links.

http://www.codeproject.com/Ajax/AnthemNET.asp

http://anthem-dot-net.sourceforge.net/

http://anthem-dot-net.sourceforge.net/docs/

http://anthem.talloaksoftware.com/
Share:

ASP.NET ACESS KEY PROPERTY-SHORT KEY FOR FOCUS

In the desktop windows application. You can easily create short key which moves current cursor to a particular control. Now with ASP.NET Access key property you can also create short key in
web application.

For example you have a text box called txtName write name of the candidate. So go the property window by pressing f4. And goto access key property and write N . That's it you have created a short cut key for the that text box.

Compile the source and code and view the page in a browser. Now you can set focus on txtname text box via pressing ALT+N.

Happy Programming....




Share:
Friday, April 6, 2007

Codeplex- Open Souce Project Hosting for microsoft

CodePlex is Microsoft's open source project hosting web site. You can use CodePlex to create new projects to share with the world, join others who have already started their own projects, or use the applications on this site and provide feedback.

People can host their project with registration.

here is the link ....

http://www.codeplex.com
Share:

Hot keys in ASP.NET Page

Shortcut key is esesntial features in the desktop applicaitons. Without shortkey we cant even think of desktop application.

Have you think of a shortkey in web application. Yes, it is possible to define the shortcut key for a button. (I am not kidding). I have found a very good article on how to define hotkeys with the help of javascript by M. Vadivel.

He has explained a great way to define hotkey on a page that will trigger a action when this hotkeys are pressed such as ALT + S.

here is the link for that article...

http://www.15seconds.com/howto/pg000086.htm
Share:

Microsoft ASP.NET 1.1 Starter Kits...

ASP.NET 2.0 is one of the most hottest plateform in the web developement but still lots of people are using asp.net 1.1 and it is quite popular among the developers.

Those who want to learn asp.net the asp.net 1.0/1.1 are first step.

Here are the some start kits provided by microsoft for asp.net 1.1. It still available

here is the link...
http://www.asp.net/downloads/default11.aspx?tabid=62
Share:
Tuesday, April 3, 2007

Microsoft Automotive- A Fremework and Plateform for Automotive Industries

Microsoft Automotive is one of the greatest step of microsoft towards the automobile industries..

Microsoft works in collaboration with its innovative partners to deliver comprehensive value and new capabilities to the automotive industry, providing insight and innovation for the creation, marketing, and enjoyment of the automobile.

Micorsoft has also created microsoft automative & industrial solutions group to accelerate developement in automotive industries using microsoft technologies.

For more details read following link:

Microsoft Automotive
Share:
Friday, March 30, 2007

ASP.NET Caching

Caching is process of saving html and data in browser cache. Some data are difficult to obatin it assumes lot of resouceof the server. The best way to store it in cache. So we can retrive from cache instead doing round trip to the server.There are also some portion of the site does not change frequently so caching is a good idea to store this portion ofwebsite in cahce rather then loadind it from server.

ASP.NET also provide caching features.ASP.NET Caching API provides great features for caching.ASP.NET provide three types of caching.

1) Page Output Caching
2) Page Fragment Caching
3) Data Caching


1) Page Output Caching:

In ASP.NET you can do page output caching with output directive....
Here is the code for output caching

<%@ OutputCache Duration="120" VaryByParam="none"%>

This means that page will cache for 120 second and during that time page will not change with get or post parameters.After 120 second page cache will be flush and then page content can be change by get or post parameters.

2) Page Fragment Caching:

We all know that it is impratical to cache whole page of website. So it is better cache a portion of a website thenwhole page. ASP.NET caching API also provide that feature.

From Following code asp.net can cache categoryid parameter of get and post method.

<%@ OutputCache Duration="120" VaryByParam="CategoryID"%>

You can also cache whole control in asp.net which can be used as portion of parameter.

<%@ OutputCache Duration="120" VaryByParam="none" VaryByControl="ViewCategory" %>

This will cache whole user control called viewcategory.

3) Data Caching:
For that ASP.NET Caching API provides two classes in System.Web.Cache name space.The first class, Cache, is the classwill be using to add and remove items from the data cache. The second class, CacheDependency,is used when assigning a cache dependency to an item in the data cache.

To add an item to the cache you can simply do:


' In VB.NET
Cache("name") = value


// In C#
Cache["name"] = value;


to get value

'IN VB.NET
value = Cache("name")

- or -

//IN C#
value = Cache.Get("name")


That's all..
Happy Programming....
Share:

Support this blog-Buy me a coffee

Buy me a coffeeBuy me a coffee
Search This Blog
Subscribe to my blog

  

My Mvp Profile
Follow us on facebook
Blog Archive
Total Pageviews