Category: API



ASP.NET 4 includes a feature called SQL cache invalidation. Before ASP.NET 2.0, cachingthe results that came from SQL Server and updating the cache based on a time interval was possible — for example, every 15 seconds or so.

This meant that the end user might see stale data if the result set changedsometime during that 15-second period.In some cases, this time interval result set is unacceptable. In an ideal situation, the result set stored in thecache is destroyed if any underlying change occurs in the source from which the result set is retrieved — inthis case, SQL Server.

With ASP.NET 4, you can make this happen with the use of SQL cache invalidation.This means that when the result set from SQL Server changes, the output cache is triggered to change, andthe end user always sees the latest result set. The data presented is never stale.


Advertisements

You might have seen floating content of web sites which is always visible on the page even if you scroll it. This is easy achieve thing by using just CSS. However there is also JavaScript alternative for this but the CSS one is smoother and faster as this doesn’t includes any run time calculation. The below step by step process will guide to how to add a always visible div on web page.

<style type=”text/css”>

<!–.visibleDiv

{    position: fixed;}

//–>

</style>
<style type=”text/css”>

<!–/*For top left*/

.visibleDiv

{    top: 10px;    left: 10px;}
/*For top right*/

.visibleDiv{    top: 10px;    right: 10px;}
/*For bottom left*/

.visibleDiv{    left: 10px;    bottom: 10px;}
/*For bottom right*/

.visibleDiv

{    bottom: 10px;

right: 10px;

}

//–>

</style>

 

Thank you . .


Rule number one : don’t screw around with the browser of your enduser. Say that you were able to filter out the print menu item. What about the keyboard combination ctrl + P? You could override that again with some javascript but that only leaves the enduser clueless as you’re overriding standard functionality and that’s a big nono.

Besides that, you’re using javascript. That can be turned off by an enduser and then your clipboard erasing script also doesn’t work anymore. Poof and there goes your protection level.

try it . .

Thank you


for firefox try as below:

 

    • 1

      Make sure the new media player is installed on your computer. Popular media players include Real Player, QuickTime, Windows Media Player and WinAmp.

    • 2

      Open Mozilla Firefox and click “Tools” and then “Options” on the main menu.

    • 3

      Click the “Applications” tab. Scroll down on the list of file types until you find all of your media file types, including playlists, audio and videos.

    • 4

      Select the “Action” column box next to each of your media file types. You will see a drop-down box.

    • 5

      Change your default media player for each file type by clicking “Use other.” Choose “Always Ask” from the list if you want the browser to ask you every time which media player you want to use, or choose “Save File” if you want to automatically save the file to your computer instead of opening it.

    • 6

      Press “OK” to close the dialog box. Close and restart your browser to activate the new settings. Click on a song or video file in your browser to make sure it recognizes your choice from Step 4 and opens the file in your new default media player.

Thank you . .


Was 2010 the year of the API? Some have claimed this each of the last five years, with the next always eclipsing the previous. There were 1,019 new APIs added to our API directory in 2010, two times the number added in 2009. Greater trends on the web are being played out, as social APIs were the most popular and the influence of mobile is clear.

Social APIs were by far the most common type. We can’t discuss social without mentioning Facebook, which made sweeping changes to its platform, launching the Facebook Graph API. With proper user permissions, this API makes a user’s data–including friends and photos–available outside of Facebook.

 

Internet APIs may seem like a strange categorization at first. Everything in our directory is on the internet? When we refer to internet APIs, we mean the glue that holds the web together. This includes big platforms like cloud hosting services Google App Engine and Amazon EC2. But it also includes 25 URL shortener APIs and 5 domain registration APIs.

Mapping and Mobile APIs were both popular for the same reason: location came to the web in 2010 in a big way. From check-in apps to geographic databases, where a user is (or wants to be) is becoming more important because the internet is now going with many of these users. Mapping has always been a popular category, especially for mashups. The 2,150 Google Maps mashups are almost four times as many as the second place API in our list of popular APIs by mashups. With mobile becoming such a major factor, we’ve seen these APIs move away from displaying maps. Now they include 22 geocoding APIs, 22 geolocation APIs and even 12 GPS APIs for storing and sharing where you go.

 

Search APIs, like the internet APIs, help hold the web together. Some of these APIs, like the popular Google Ajax Search API, search the whole web. However, in 2010 we saw many cases of vertical search engines making their data available. For example, the novo|seek API opens up a biomedical search engine. The RescueGroups API makes pets available from animal rescues and shelters searchable by organization or location. Each of those is fairly specific, but the overlying trend is making data available in a way that’s easy for developers to integrate.

 

%d bloggers like this: