Tuesday, July 31, 2012

Numeric value validation on TextBox

[caption id="" align="alignleft" width="300"]JQuery JQuery (Photo credit: Wikipedia)[/caption]

Hi guys, In this post i m going to explain how to perform numeric value validation in a TextBox in ASP.NET. Here i will post two diff. mechanism by using Java Script and JQuery. 

Indexers In C#.NET

[caption id="" align="alignleft" width="300"]The .NET Framework stack The .NET Framework stack (Photo credit: Wikipedia)[/caption]








Indexer In .NET  


Indexers provide a natural syntax for accessing elements in a class or struct that encapsulate a list or dictionary of values. Indexers are similar to properties, but are accessed via an index argument rather than a property name. The string class has an indexer that lets you access each of its char values via an int index:



Digitally sign your documents




The standard user interface of Mac OS X


Google power searcher


 

Become a Google power searcher 

Google Calendar as a Project Management Tool




Google Calendar - add an event





SEO Reports & SEO Analyzer By Bing






Google to down iGoogle









Internet search giant Google has announced that it would be shutting down its iGoogle personalized home page and a few other services. iGoogle, the search giant's personalized Web portal that was launched in 2005, will retire in November 2013. According to The Los Angeles Times, other services Google is winding down are Google Mini, the Symbian Search App, Google Talk Chatback, and Google Video. 

Migrate From ASP.NET To MVC 3



Whenever a new technology or product comes onto the developer scene, people want to know how to best leverage their existing skills to work with it, and nobody wants to have to abandon existing knowledge. Making the move from Web Forms to MVC is no different. Despite the fact that Web Forms & MVC are very different ways of creating web applications on the ASP.NET platform, there are many skills and techniques to take with you.

ASP.NET MVC 3 Concept & Overview

MVC Poster

Razor – A New View Engine for ASP.NET MVC 3






Deutsch: Model View Controller


ASP.NET MVC from Basics to Tips and Tricks

 




A simple diagram depicting the relationship be...

First of all MVC stands for Model-View-Controller. 


 Below some of the basic components are listed.

  • Model = Data / State

  • View = Responsible only for rendering the HTML output (.aspx page)

  • Controller = Presentation Logic (class with action methods)

    • HTTP operations are routed here

    • Responsible for selecting the appropriate View

    • Provides the View with the proper Model

Dual SIM TouchScreen Phone by Videocon at Rs.2800

Videocon Launches Dual-SIM Feature Phone V1570 With 3" Touchscreen For Rs 2800


Now a days you cannot predict technology stuff. Videocon is about to launch a new cell phone in the Indian market with several features at very low cost.





Features:



  • Auto call recording

  • Dual-LED torch

Thursday, July 26, 2012

Scaffolding Concept In ASP.NET

Scaffolding


Scaffolding, is a way to automatically generate Web pages for each table in the database. Scaffolding lets you create a functional Web site for viewing and editing data based on the schema of the data. You can easily customize scaffolding elements or create new ones to override the default behavior.

Wednesday, July 25, 2012

ASP.NET MVC 4.0

MVC Overview: 


MVC Architecture has implemented by Trygve Reenskaug at 1979 for the first time. It was implemented on Smalltalk at Xerox labs. Then benefits and advantages of this architecture has been accepted by most of the coders and software engineers.It was an information about MVC’s history above. Now lets talk about what really MVC is. The word M stands for Model, V stands for View and C stands for Controller. I am going to mention about each item.


What's New In Visual Studio 2012






USER INTERFACE


The RC includes a series of improvements to the overall UX, which were based on the beta user feedback. Now you can customize the look and feel of Visual Studio development environment as per your convenience. A new Dark Theme has been developed for this purpose.


Performance


The performance has been enhanced drastically with respect to its entire earlier version. The performance between beta and RC was extensive and covers just about every aspect

Tuesday, July 24, 2012

Features Of .NET Framework 4.5






[caption id="attachment_1017" align="aligncenter" width="584"] .NET 4.5

OAuth Overview

OAuth can be defined as follows:




  1. OAuth is an open protocol that aims to standardize the way desktop and web applications access a user's private data. OAuth provides a mechanism for users to grant access to private data without sharing their private credentials (username/password). Many sites have started enabling APIs to use OAuth because of its security and standard set of libraries.

Flavors of Visual Studio 2012

Below is the detailed comparison among the different flavors of Visual Studio 2012

  • Visual Studio Express :  For the Web is a free and robust development environment for building, testing, and deploying web applications across the Microsoft Web Platform. Visual Studio Express 2012 for Windows 8 provides the core tools that are required to build compelling, innovative Windows Metro style apps.

Monday, July 23, 2012

Entity Framework In ASP.NET

Entity Framework At-a-Glance




The Microsoft ADO.NET Entity Framework is an Object/Relational Mapping (ORM) framework that enables developers to work with relational data as domain-specific objects, eliminating the need for most of the data access plumbing code that developers usually need to write. Using the Entity Framework, developers issue queries using LINQ, then retrieve and manipulate data as strongly typed objects. The Entity Framework’s ORM implementation provides services like change tracking, identity resolution, lazy

Thursday, July 19, 2012

Laser Keyboard for iPad, iPhone

Social Networking Makes People Anxious: Study

Over 50% of polled participants report negative change in behaviour, attribute it to constant comparisons with online friends' achievements.


[caption id="" align="alignleft" width="200"]Social Networking Makes People Anxious: Study Social Networking[/caption]

A study carried out by the University of Salford on social networking sites reveals how services such as Facebook andTwitter can make users feel anxious and inadequate. Results from a poll conducted with 298 participants show that more than 50% have seen behaviour changes in themselves for the worse. Of the 53% participants who reported a change in their attitude, 51% found the impact to be negative.

The cause attributed by most people was that their confidence took a beating because they were constantly comparing their achievements with their friends online. Moreover, two-thirds of the pool found it hard to relax or sleep soundly after networking online, while one-fourth revealed that they had been left facing issues in their relationships or workplace after online face-offs. In an indication as to how addictive these services can be, 55% of people also said that they experienced discomfort when their Facebook or email accounts could not be accessed. What's worse, over 60% users needed to physically turn off their gadgets in order to take a break from networking online, since they were unable to ignore their beeping devices whenever somebody posted an update.

Wednesday, July 11, 2012

Random Password Generator

Format XML fragment

Object reference not set to an instance of an object in MVC

In which scenario we use Abstract Classes and Interfaces

Delegate in C#

How can we clear Cache stored in browser?

Difference between "==" and Equals() methods?

Slide-Show User Control

Using ASP.NET with Oracle Database

C# Remove Duplicate Lines From Text File? - Stack Overflow

Bulk Insert or Update- SQL 2008

Setting up Google Maps for ASP.NET and SQL Server

SQL Bulk Copy with C#.Net - CodeProject

Read Excel files in .NET - The DataReader way

Sitecore MVC the first controller.

WEB SERVICES

Move html to cshtml for backbone.js in ASP.NET MVC 3

C#.NET OR VB.NET

Encryption and Decryption in ASP.NET with C#.Net(1024 -bit Encryption and Decryption)

Team Foundation Service

Making Enumerable Collections LINQ-Queryable

Review — Nokia Asha 302

Nokia Asha 302
First On TechTree: Review — Nokia Asha 302




MRP: Rs 7000

Street Price (As On 7-Jul-2012): 

Rs 6000 - Rs 6200 

Pros:
Excellent build quality; Great keypad; Wi-Fi and 3G support; Good sound quality; Simple UI; USB OTG (support for external USB drives); Great value for money.
Cons:
Can't change display brightness; Fixed-focus camera.
While the Lumia series trades blows with the heavyweights, the Asha handsets are Nokia's footsoldiers, on a mission to conquer the mass-market segment. Its latest entry-level handset, the Asha 302, is the mobile giant's latest attempt to blur the line between feature phones and smartphones. Let's find out if it's worth your money.



Design And Build Quality


The standard package includes the handset, charger, and a pair of earphones. The phone measures 4.3" (l) x 2.3" (w) x 0.5" (13 mm) (d), and tips the scales at 106 grammes. The gadget is quite a looker and can be easily mistaken for the expensive Nokia E6. Its QWERTY keypad has been thoughtfully designed and offers great tactile response. The phone feels study and its build quality is top-notch. As always, Nokia's attention to detail is unmatched, and the impressively sharp backlight is evidence of this fact.



First On TechTree: Review — Nokia Asha 302



The handset's 2.4" screen has pixel dimensions of 320x240. The display is bright and can reproduce decent colours. On the flip side though, there's no way to adjust the screen brightness. Moreover, similar to most entry-level phones, the Asha 302's display has a limited viewing angle.


First On TechTree: Review — Nokia Asha 302
The phone sports a 1 GHz CPU with 128 MB of RAM. Its micro-USB port supports charging and external USB drives. This means that you can connect your USB pen drives to this phone. Other features include:

  • 3.2 mp rear camera.
  • Wi-Fi, Bluetooth, and 3G.
  • A microSD card slot and 3.5 mm jack.
  • 1320 mAh battery.
UI And Applications


First On TechTree: Review — Nokia Asha 302
The Asha 302 is based on the Series 40 platform, which is as simple an OS as it gets. In its latest iteration, you can add up to three widgets to the home screen. These widgets can be used for quickly accessing your favourite contacts, social networks, and connectivity settings, for example. Additionally, dedicated buttons are present for the messaging and phonebook functions. As always, you can customise the Menu view and set a theme of your choice. Overall, the interface is easy to use and snappy.



The Asha 302's network reception and call quality were exceptionally good during our tests. Since the handset features quad-band GSM standards, it's compatible with all GSM frequencies used by carriers around the world.



Thanks to 3G and Wi-Fi support, surfing the Internet doesn't feel sluggish in the least. The Asha 302 offers IM and email clients, while Facebook and Twitter are taken care of by the app called Social. You can also install WhatsApp from the Ovi Store. In short, although it's not a "smartphone", it's smart enough to get most things done.



Multimedia


First On TechTree: Review — Nokia Asha 302
The bundled earphones are bad. However, the handset's sound quality is very good when connected to a decent pair of earphones. As is the norm, Nokia has duly covered equaliser settings and FM radio. While the platform doesn't support true multitasking, you can minimise the music player. This feature enables you to surf the web or send messages while listening to music in the background. The phone can handle 3GP, MP4, and DivX videos up to 480p. Having said that, its 2.4" screen isn't ideal for watching movies.



The 3.2 mp fixed-focus camera is good enough for daylight photography. However, like most entry-level phone cameras, it performs badly in low-light scenes. It can also record 480p clips in the 3GP format, but don't get your hopes high in terms of resulting video quality.



Battery And Verdict


Despite having a 1 GHz CPU, the device's battery life is good. It's been almost a day since I've been using this handset, yet the battery indicator shows 2 out of 4 bars.



The phone offers extensive connectivity support, a well-designed QWERTY keypad, and a simple interface. Its build quality is excellent, while a few smart features such as email client and social networking apps add value to the package. Its shortcomings take the form of a fixed-focus camera and the lack of brightness settings.



For around Rs 6000,
the Asha 302 offers a great deal. However, if you insist in opting for a poorly-built "smartphone" instead, there are a horde of Android handsets out there: the 
Micromax Ninja2 A56Lava S12, and Karbonn A7.



Features: 4/5

Design And Build Quality: 4.5/5
Performance: 4/5
Value For Money: 4/5
Mojo: 4/5



Overall Rating: 4/5

C# HTTP POST Sample

World Bodypainting Festival: The best work from more than 200 artists

World Bodypainting Festival: The best work from more than 200 artists

Social Networking Makes People Anxious: Study

Over 50% of polled participants report negative change in behaviour, attribute it to constant comparisons with online friends' achievements.

Social Networking Makes People Anxious: Study
Social Networking

A study carried out by the University of Salford on social networking sites reveals how services such as Facebook andTwitter can make users feel anxious and inadequate. Results from a poll conducted with 298 participants show that more than 50% have seen behaviour changes in themselves for the worse. Of the 53% participants who reported a change in their attitude, 51% found the impact to be negative.

The cause attributed by most people was that their confidence took a beating because they were constantly comparing their achievements with their friends online. Moreover, two-thirds of the pool found it hard to relax or sleep soundly after networking online, while one-fourth revealed that they had been left facing issues in their relationships or workplace after online face-offs. In an indication as to how addictive these services can be, 55% of people also said that they experienced discomfort when their Facebook or email accounts could not be accessed. What's worse, over 60% users needed to physically turn off their gadgets in order to take a break from networking online, since they were unable to ignore their beeping devices whenever somebody posted an update.

Nokia Lumia 610

Nokia Lumia 610 With Windows Phone 7.5 And 3.7" Screen Launched For Rs 13,000

Nokia Lumia 610 With Windows Phone 7.5 And 3.7" Screen Launched For Rs 13,000 Mid-range smartphone includes 800 MHz CPU, 256 MB RAM, and 5 mp autofocus camera. News Jayesh Limaye, 06th Jul 2012 - 17:21 Nokia has launched the Lumia 610, its lowest-priced Windows Phone 7.5 device, in India. Expectedly, this smartphone has lowered specs of an 800 MHz CPU and 256 MB RAM to achieve the target price. However, the other specifications have been maintained at the standard WP7.5 requirement levels, with a 3.7" multi-touch capacitive screen having pixel dimensions of 800x480, 5 mp autofocus camera with LED flash, and 8 GB internal storage. As expected, there is no expandable microSD slot. The phone also supports the Wi-Fi hotspot feature for as many as five users at a time. The Lumia 610 carries an MRP of Rs 13,000, which isn't great value considering its compromised specs. At the same event, Nokia also announced a Dark Knight Rises Limited Edition version of the Lumia 800. It plans to sell 200 pieces of this smartphone in India, although the pricing has not been announced as yet

Nokia Lumia 610 With Windows Phone 7.5 And 3.7" Screen Launched For Rs 13,000.

Friday, July 06, 2012

Nokia Launches New Celphones

Nokia Lumia 900, Lumia 610 coming Launching Today




Nokia India is set to roll out two new smartphones running on Windows Phone 7.5 (Tango) in India tomorrow, Lumia 900 and Lumia 610. As per the press invite sent by the Finnish manufacturer, it will also launch The Dark Knight Edition of the former at the event. There is no official statement regarding the prices of the phones.

Lumia 900 is a top-end smartphone that boasts of a 4.3-inch AMOLED display and 8MP rear camera. It will run on a 1.4GHz processor coupled with a 512MB RAM and have 16GB internal memory. The Lumia 900 Batman edition smartphone, which has already hit stores in UK, will be offered with exclusive The Dark Knight Rises content, including themed wallpapers, ringtones and limited edition Batman or Bane character images.

The other phone to be launched tomorrow is the Nokia Lumia 610, which had made its debut atMobile World Congress. It sports a 3.7-inch display, 5MP camera, 800MHz Qualcomm Snapdragon processor, 256MB RAM and 8GB of internal memory. The Mobile Indian has reported that this smartphone will cost around Rs 11,000.

Microsoft, which has developed the Windows Phone platform, has stated that it will upgrade these devices to Windows Phone 7.8, which consists of some Windows Phone 8 (WP8) features. However, these devices will not receive the Windows Phone 8 update, Microsoft has said.

Higg particles (BOSON)

Professor to discuss about Higg particle


The retired professor who gave his name to the elusive "God particle" that scientists believe they have found is to discuss the discovery.Teams at the Large Hadron Collider (LHC), the £2.6 billion "Big Bang" atom-smasher near Geneva, in Switzerland, said on Tuesday that they had found a new particle "consistent" with the Higgs boson.

The discovery was described as "momentous" and "a milestone". But the results are preliminary and more work is needed before scientists can be sure about what they have captured.
Professor Peter Higgs, the retired British physicist from Edinburgh University, will give his reaction to the latest results at a press conference at the Scottish university.
The 83-year-old hit on the concept of the Higgs mechanism in 1964 while walking in the Cairngorms and could now be eligible for a Nobel Prize. Known for his unassuming nature and shunning the limelight, he wiped away a tear as the discovery was first announced in Geneva.
"I am astounded at the amazing speed with which these results have emerged," he said. "I never expected this to happen in my lifetime and shall be asking my family to put some champagne in the fridge."
The Higgs boson gives matter mass and holds the physical fabric of the universe together. Observations so far show the discovery looks and acts like the long-sought particle that has eluded them for 50 years.
Finding the Higgs is vital to the Standard Model, the theory that describes the web of particles, forces and interactions which make up the universe.
Without the Higgs boson to give matter mass and weight, there could be no Standard Model universe. If it was proven not to exist, scientists would have to rip up the theory and go back to the drawing board.
On Tuesday they confirmed that two of the LHC's giant detectors, CMS and Atlas, had delivered results achieving the definitive "five sigma" level of proof. A sigma is a measure of how likely it is that a finding is down to chance. At five sigma, the likelihood of a statistical fluke is one in a million.
Reference : Google.com

Nokia Pureview 808 : Mobile phone OR Camera




 Nokia’s new 808 Pureview a phone or a camera? Its 41megapixel camera rightly got huge amounts of attention when it was unveiled at the Mobile World Congress tradeshow, but the phone itself was largely written off as an experimental piece of innovation. Now, for around £500, you can get your hands on one.

Samsung Galaxy Chat goes big on texting

Samsung Galaxy Chat Phone

Scrolling down the Galaxy lineup, the new Samsung Galaxy Chat can be seen seated on the lower end of the shelf. Going by the specifications sheet, it’s a very basic smartphone crafted for those who find themselves texting or chatting quite frequently.

Jittery cursor – a metaphor?

Top 10 most important gadgets of the 21st century

very nice article. http://dotnetspice.wordpress.com

Thursday, July 05, 2012

Java Script to drag and drop image in HTML5

Hi guys, some days ago i came across a situation where i have to drag and drop a image into a rectangle in a web page. I tried following and it works using HTML5.

<!DOCTYPE HTML>
<html>
<head>
<style type="text/css">

God Particle - "BOSON"

Real man behind "God Particle"- Satyendra Nath Bose
Satyendra Nath Bose was born on New Year's Day, 1894, in Calcutta to Surendra Nath Bose, an engineer with the East Indian Railway Company. The eldest among seven siblings, Satyendra Nath Bose, attended Hindu School, a school that had made notable contributions to the Bengal Renaissance and the Reformation movement.
He made a name for himself for his mathematical prowess and his love for science. Bose, as a student at the vaunted Presidency College, Calcutta, went on to secure the highest marks in every discipline (a few of them remains unbroken even now). Meghnad Saha, his classmate and another celebrated Indian nuclear scientist after whom the Saha Institute of Nuclear Physics is named, came a close second.
Bose would later take up teaching assignments at Calcutta and Dhaka universities where he would set up entire laboratories to teach his students.
Satyendra Nath Bose: about the God of particles
Bose's biggest contribution to Particle Physics came in the form of a study that he sought to present before his students at Dhaka to show them that contemporary theory was not in accordance with results gathered from experiments. During this lecture, Bose committed a 'mistake' in applying the theory, which unexpectedly gave a prediction that agreed with the experiment. But the 'error' was a statistical one and not an experimental one.
That would evolve into Bose writing a paper deriving Planck's quantum radiation law without any regard to classical physics. He used a new way of counting states with identical particles. He sent the paper directly to Albert Einstein in Germany.
Bose wrote to Albert Einstein:
“I have ventured to send you the accompanying article for your perusal and opinion. I am anxious to know what you think of it. You will see that I have tried to deduce the coefficient 8π v2/c3 in Planck’s Law independent of classical electrodynamics, only assuming that the elementary regions in the phase-space has the content h3. I do not know sufficient German to translate the paper. If you think the paper worth publication I shall be grateful if you arrange for its publication in Zeitschrift für Physik. Though a complete stranger to you, I do not feel any hesitation in making such a request. Because we are all your pupils though profiting only by your teachings through your writings. I do not know whether you still remember that somebody from Calcutta asked your permission to translate your papers on Relativity in English. You acceded to the request. The book has since published. I was the one who translated your paper on Generalised Relativity.”
Albert Einstein, recognising the importance of the paper, translated it into German himself and submitted it on Bose's behalf to the prestigious Zeitschrift für Physik journal. As a result of this recognition, Bose was able to work for two years in European X-ray and crystallography laboratories, during which he worked with Louis de Broglie, Marie Curie and Einstein himself.
Bose's 'mistake' is today what the world calls Bose–Einstein statistics. This result derived by Bose laid the foundation of quantum statistics, as acknowledged by Einstein and Paul Dirac.
Though Nobel Prize in Physics awards have been awarded in connection with research in this domain, many find it strange that Satyendra Nath Bose himself was not awarded one. But having an elementary particle named after oneself is an honour that far outstrips any award. A Nobel Prize in Physics is awarded every year. But nomenclature of an elementary particle lasts till the end of time.
Also one needs to keep in mind that the theoretical existence of Higgs boson was proposed in 1964 by the group of scientists led by Peter Higgs. So that way, Bose did not play any direct role in this respect. His impact on this entire Higgs boson saga is much of an inspirational and generic one, a fact that is often lost in the face of jingoism

Biggest achievement in Physics-"Shadow of a single atom"

See: The first ever photo of an atom's shadow


Scientists have been able to click the shadow of a single atom for the very first time - an unprecedented feat crowning efforts lasting more than five years.

Wednesday, July 04, 2012

Scientist claims to find the "GOD Particle"



The upcoming announcement of the results of the search for the Higgs Boson are promising to be groundbreaking from a scientific point-of-view. There is a lot of information that may be confusing to some and will be misinterpreted by many. The practical application of being that closer to understanding the secrets of the Universe won’t be realized for some time. It was decades from the discovery of radiation to the point where we could harness the power of the atom for power. As I sit here and write this post, I am still awaiting my Mr. Fusion device promised in 1985.


For a great look into the physics behind the Higgs Boson, check out What Finding the Higgs Boson Means over on GeekMom. Here, I want to focus on what the discovery of the Higgs Boson won’t mean.
Cause people to develop super-powers
Nope. Sorry. Not going to happen. The Higgs Boson is already giving you mass. What more do you want? Of course, if they can find an anti-Higgs that can reduce my mass I will open the first high energy physics based diet clinic in the world.


Facilitate time-travel
The Higgs Boson isn’t going to unlock the secrets to time-travel, even if you can get your car up to 88 miles per hour. In a related note, it will also not bring me any closer to my Mr. Fusion.

Open a portal through which alien or extradimensional beings can come to Earth
The Higgs Boson discovery won’t cause a portal to open to anywhere. Not to Hell, Asgard, the Pegasus Galaxy, a galactic trade route, the Eighth Dimension, or what’s left of Alderaan. Well, I understand that Valve is interested in the results for some reason but I’m sure it’s nothing.


Allow transit to an alternate reality where the people are evil and have a goatee
I’m not saying that all people with goatees are evil. Quite the opposite is true, which makes this idea all that much more absurd. Everyone knows that as you grow longer facial hair you become more evil. You would be surprised at the world domination schemes that ZZ Top is working on.


Destroy the earth in an ever expanding black hole
Remember when people said that was inevitable? Do you remember those people? I do. A couple seasons of operation later and we seem to be fine. Unless, of course, The Doctor trapped us in a time-loop right before the singularity formed to save the Earth. It would explain deja vu.
When you hear the sensationalism on the news about what the Higgs Boson discovery could mean, take it with a grain of salt and do a little critical thinking of your own. No need to eye that two meter thermal exhaust port on the side of the Large Hadron Collider.

What Finding the Higgs Boson Doesn’t Mean ??

Atlas experiment results.


The announcement of the results of the search for the Higgs Boson are promising to be groundbreaking from a scientific point-of-view. There is a lot of information that may be confusing to some and will be misinterpreted by many. The practical application of being that closer to understanding the secrets of the Universe won’t be realized for some time. It was decades from the discovery of radiation to the point where we could harness the power of the atom for power. As I sit here and write this post, I am still awaiting my Mr. Fusion device promised in 1985.

BSNL launches 3G pocket router for Rs 5,800

NEW DELHI: State-run telecom operator BSNLhas launched a third generation (3G) wireless pocket router in association with communications solutions provider Shyam Networks.


 The 'Winknet Mf50' router comes in handy when there is a need to connect more than one device on a single SIM card.The router will be available in the market with a best buy price of Rs 5,800.A router is a device used for connecting the computer to the internet network.


It is SIM locked with BSNL and anybody who buys the router will be entitled to a plan voucher of Rs 60 which comes bundled with 1GB free data usage