Pages

Thursday, September 12, 2013

Design Patterns for JavaScript Applications

Now a days, developers are writing increasingly larger and more complex JavaScript applications using the latest frameworks and libraries.Patterns provide a clear approach to writing structured, scalable and maintainable code, concepts which all are extremely important when developing large JavaScript applications.

Here are the following patterns:

Module pattern
Revealing Module pattern
Singleton pattern
Observer pattern
Mediator pattern
Prototype pattern
Facade pattern

For each of the patterns Carl describes the purpose and main use cases together with advantages and disadvantages.

Wednesday, September 11, 2013

Announcing the Visual Studio 2013 Release Candidate

New announce about Release Candidate of Visual Studio 2013, .NET Framework 4.5.1 and Team Foundation Server 2013!  The release is available for download now on the Visual Studio product website and is a "go-live" release.  Starting today, developers can also download Windows 8.1 RTM via their MSDN and TechNet subscriptions.

New features announced by Somasegar:

Improved XAML Editor
Cloud Business App
Improvement in C++
TypeScript
CodeLens
Work Item Charting

Know More

Monday, August 19, 2013

What’s new in Internet Explorer 11 Preview

A few areas of interest include:

    Compatibility:   Sites just work better in IE11 Preview. You get improved compatibility with web standards, other browsers, and websites. You can also update your sites to match the latest flexbox standard to simplify cross-browser code.

    F12 developer tools:   With a new UI, the F12 Tools offer a more intuitive way to debug code, solve display issues, and increase performance and stability of your webpages.

    Touch:   IE11 Preview offers more default and custom touch support for your websites and Windows Store apps. Consumers experience this support with default handling for touch-based drag and drop and hover, and the msZoomTo method enables animated scrolling effects and better control of the panning and zooming experience.

    Pinned sites:   Support for Live Tiles helps make your sites more visually interesting when you pin them, save them as favorites, or display them as frequently used sites. You can customize pinned sites using metadata values. Pin your sites to the Start screen, name your pinned site, set up notifications, and more.

    WebGL:   WebGL powers dynamic 2D and 3D graphics for games and interactive media content. You get new methods for implementing WebGL in your websites. The WebGL APIs give a powerful set of objects, methods, and properties that let you create 3D content for browsers using JavaScript. WebGL programs run directly on your computer's graphics processing unit (GPU), so they run very fast. Watch Frank Olivier's presentation from //Build to learn how to use WebGL to write content that works across browsers.

    Video:   HTML5 video in IE 11 Preview supports standards-based features for adaptive streaming, content protection, and captioning. You can change closed-caption TextTrack objects and TextTrackCue objects for your HTML5 videos, without having to create a separate Timed Text Markup Language (TTML) or Web Video Text Track (WebVTT) file.

You can download the Windows 8.1 Preview and Internet Explorer 11 Preview to start playing with the new release. And we’ve got some great testing resources, as well. Testing your sites for IE just got easier!

Make your way to modern.IE and enter your site’s URL to launch a new set of tools to help you support modern and older versions of Internet Explorer. Use the Compact Inspector to determine if any IE 11 Preview changes affect your site.

You can find a lot more about what’s new in IE11 Preview and which features work with Windows 7, Windows 8, or both, by visiting the Internet Explorer Dev Center. Dig in there, and please use the feedback link to tell us what you think!

Know More

Tuesday, February 26, 2013

Microsoft launches Internet Explorer 10 browser

Microsoft has finally released Internet Explorer 10 for users who haven't upgraded to Windows 8 just yet. Though developers were given access to Internet Explorer 10 for Windows 7 for over a month now, Microsoft has decided to make the final release available to consumers and businesses Tuesday

Downlaod IE10


Wednesday, December 26, 2012

HTML5 offline web applications using ASP.NET MVC

One of the major constraints of web applications has always been connectivity. We imagined leveraging the browser to bring fully competent web applications to the desktop, but failed due to the lack of decent browser support. Although there were some caching techniques available before, they were never really designed with the intention of making web applications run completely offline, making them fragile and complex to set up. HTML5 tries to make up for this missing browser capability by introducing the offline application cache; a more reliable way to make web applications truly available even offline.


Why should my web application run offline?

To be honest, a lot of desktop web applications would hardly yield any return on investment of being able to run completely offline. Desktops are almost always connected, I especially see mobile web applications reaping the benefits of this new feature.

Mobile phone coverage continues to be flaky or even non-existent in many areas. Being able to fluently close that disconnectivity gap would significantly improve the user-friendliness of mobile applications running in the browser.

In more specific scenarios, being able to take the whole application offline could mean the difference between having to build multiple native applications or having the luxury of building one cross-platform browser solution.

Imagine a sales person who wants an interactive catalogue on her tablet to show to her customers in the field. She could use almost any device she wanted, simply browse to the catalogue when connected, then take it into the field offline.

You don't necessarily have to be offline to take advantage of the application cache though. One could use the application cache as a super cache, storing resources offline, so they don't slow down application startup. Updated resources will be downloaded in the background, and swapped with the older ones when the update can be committed. This scenario makes a lot of sense for heavy desktop web applications.


                                                                                                                              Know More....

Friday, November 23, 2012

50 Tricks for Faster Web Applications


Jatinder Mann , an Internet Explorer PM at Microsoft, held the session 50 performance tricks to make your HTML5 apps and sites faster at BUILD 2012, providing many tips for creating faster web applications.

The advice provided by Mann was organized around six principles outlined below.

1. Quickly Respond to Network Requests.

2. Minimize Bytes Downloaded. Minimize the amount of data downloaded when a web page is loaded.

3. Efficiently Structure Markup. For IE use the latest markup standardization since it is the fastest. Earlier IE6-IE9 markup styles are recognized by IE 10 but they are not as fast as the latest one.

4. Optimize Media Usage. Images are the most utilized resource, on average a website downloading 58 images.

5. Write Fast JavaScript.

6. Know What Your Application is Doing

Mann recommended using Windows Performance Tools to measure the performance of web pages in IE and optimizing pages for less CPU time and increasing parallelism.

Read Full Article


50 performance tricks to make your HTML5 apps and sites faster

Creating high performance web apps is crucial for every web developer. Learn directly from the Internet Explorer Performance team about what actually drives performance across the web and how you can make your sites faster. This is the same team that brought you GPU accelerated graphics and compiled JavaScript, and they will share their favorite 50 best practices for web developers.

Know More and Watch Video

Sunday, November 18, 2012

10 Excellent iPad Apps You Should Download


1. AudioNote

Taking notes at a meeting, meet-up or conference? AudioNote lets you link audio recordings to the notes you keep along the way. Later, select a place in your typed notes and the recording from that moment will play. The app also works with a stylus, so you can also link recordings to free-hand notes and drawings.

Price: $4.99

2. Photoshop Express

This free app brings you the primary features of Photoshop without the double-digit expense.

Price: FREE

3. Sketchbook Pro

When it comes to your own artistic expression, Sketchbook drawing and painting tool provides you with a myriad of pencils, pens, markers, brushes and effects. You can upload what you make directly to a variety of social media platforms. Completely compatible with any iPad stylus, the small price tag equates to big-time flexibility and results.

Price: $2.99

4. Epicurious

Epicurious will become your go-to cookbook — it features hundreds of recipes to inspire your culinary mind and instant shopping lists that sync with other devices (such as your smartphone).

Price: FREE

5. Wikipanion

No need to access your browser for those mid-sentence references anymore. Wikipanion taps the Wikipedia database in a fresh, clean, app-based environment.

Price: FREE

6. Jasmine

If you're feeling frustrated about YouTube's disappearance on the newest iOS, check out Jasmine. It'll fill in all the viewing and list-making holes, plus give you parental controls and AirPlay compatibility.

Price: FREE

7. Star Walk

What could be cooler than this? Simply hold your iPad overhead, and the app works with the on-board camera to show you the visible (and even invisible) constellations on the screen. If you're like us, you'll show this one off at your next group gathering.

Price: $2.99

8. White Noise Pro

Traveling to a new environment? Dealing with a noisy neighbor back at home? WhiteNoisePro provides a catalog of gentle, sound-masking ambience, from nature recordings to, well, white noise.

Price: $2.99

9. MindNode

MindNode helps organize your creative life, your daily tasks and every other kind of brainstorming you might perform. Create a visual, bird's-eye view of every project, connect ideas and see things in a fresh light on this endlessly expanding canvas.

Price: $9.99

10. AppShopper

One of the coolest new iPad apps is a tool to help you buy iPad apps. AppShopper organizes wish lists and tracks prices. You get a push notice with every sale, so you can make your move.

Price: FREE

Tuesday, November 6, 2012

Comma Delimited Cookies in ASP.NET with Parser Tool


ASP.NET does not provide support for comma delimited cookies which you will realize if you examine the source code for System.Web.HttpRequest class. You have to make use of semicolon charcter to work with cookies.

However, HTTP state management mechanism document of W3C (RFC2309) states that semicolon and comma are both valid characters to be used as a delimiter for cookie keys. But semicolon is commonly used by developers.

In order to implement comma delimited cookies in ASP.NET, you need to create a tool which simulates ASP.NET to parse cookies with comma instead of semicolon. The steps involved for the creation of a parser tool are as follows

=>Create HttpModule class that processes each and every request
=>Check for the existence of comma in cookie header
=>Parse and extract the cookies to put them in the collection

Know More

Thursday, August 23, 2012

Microsoft gets a new logo for the first time since 1987


Microsoft is changing its corporate logo in 25 years, Microsoft, which has used its solid, boldfaced, italicized logo since 1987, is expected to unveil its new, more colorful logo Thursday at the Boston opening of the 23rd Microsoft store. It will also appear Thursday at the Seattle and Bellevue Microsoft stores, as well as on the microsoft.comhome page.

Sunday, July 29, 2012

Windows 8 much more secure than Windows 7


Researchers Chris Valasek (Senior Security Researcher at Coverity) and Tarjei Mandt (senior vulnerability researcher at Azimuth Security) spend their days seeking ways to compromise security in Windows. They're good guys; if they find a problem they report it, rather than exploiting it for illicit gain. At the Black Hat conference they reported on their analysis of new low-level security features in Windows 8.
The precise details of what they discovered were barely within the realm of my comprehension. Apparently many doubly-linked lists within Windows 8 are now protected by "pool cookies." To avoid exploits that involve forcing arbitrary code or data into places it doesn't belong, Windows 8 randomizes locations for memory allocation and adds "guard pages" as needed. That sort of thing.
In between slides filled with code and intense details, Valasek and Mandt displayed a couple that anybody could understand. The column for Windows Vista was all red, meaning not secure. Windows 7 was close, with just a few green checkmarks. And of course Windows 8 displayed a column of solid green checkmarks. Expert or not, we know that green is good.
After the talk I checked in with Valasek.
Rubenking: Back in the day I would write TSR (Terminate and Stay Resident) programs in DOS, and they were great, and useful. But the malware writers used the same DOS features to write bad stuff. Microsoft could have shut them down, but they would have shut me down too. It seems from your talk like they don't plan to shut anybody down. They're doing fine-tuning, working really hard to ensure that everything still works while they crank up security. Do you think it's conceivable you could write an operating system that just wouldn't be vulnerable to attack?
Valasek: No, that doesn't exist. Not as long as humans are writing the code. Once Skynet takes over and humans don't write code any more that might be possible. They have to have a certain amount of data and algorithms and structures that are needed, so there's always a potential to use this stuff for exploitation purposes. Here's the thing. If you don't make it impossible, but you make it severely difficult so only a tenth of one percent of the population can do it, you've effectively lowered the threat to decent levels.
Rubenking: And if you hire that one tenth of one percent…
Valasek: That's just what Google and Microsoft have done. Hire that one tenth of one percent, then you're good.
Rubenking: Thank you Chris!
Indeed, Windows 8 isn't perfect. Valasek and Mandt laid out a number of possible avenues that hackers might conceivably exploit. But as Valasek said, it will be severely difficult, and only the most adept will come close to exploiting the tiny vulnerabilities that remain.

Sunday, July 15, 2012

iPhone 5 coming on August 7 2012


Apple's next-generation iPhone popularly being referred to as iPhone 5 is launching on August 7, claims a blog on Know Your Mobile website. The website makes this claim citing "a reliable industry source" who, it says, has stated that the Cupertino-based tech giant will launch the device during a keynote speech.

Earlier, the same website had reported that the launch date of iPhone 5 has been pushed ahead to August in order to compete better against Samsung Galaxy S III.

11 Things You Didn’t Know About Facebook Pages


Do you manage a Facebook brand page? With all the recent changes, you may have felt a little lost on the social platform. To help you out, we’ve put together some useful tips and tricks.

Know more

Wednesday, July 11, 2012

Android 4.0 source code now available: Google


Google has rolled out the source code of Android4.1 (Jelly Bean) for developers, who can receive it from Android Open Source Project.

With this release, the manufacturers who use Android in their smartphones and tablets can begin working on the latest edition of Google's open source mobile operating system for existing and upcoming devices.

Custom firmware providers like CyanogenMOD and MIUI will also use the source code for JellyBean to build the next iteration of their firmware. The team at CyanogenMOD has already stated that it will commence working on CM10, whereas the plans for the previous edition of its custom firmware are on schedule.

On the official Android building group, Android team's Jean-Baptiste Queru posted that the search giant has also rolled out the 'proprietary binaries' for devices like Nexus 7 and Galaxy Nexus. The same for Nexus S and Motorola Xoom are expected soon.

source

Saturday, June 30, 2012

Adobe won’t support flash in android 4.1


And so ends the tale of Flash on mobile browsers- Adobe has announced it will not support Flash Player browser plugin for Android 4.1 and onward.

“There will be no certified implementations of Flash Player for Android 4.1,” writes Adobe on its official blog, adding that it recommends “uninstalling Flash Player on devices which have been upgraded to Android 4.1.”

The company will pull the existing Flash Player from Google Play Store on August 15 this year.

Friday, June 29, 2012

Google announces cloud-computing service "Compute Engine"

 Google has announced Compute Engine, a cloud-computing service that allows businesses to run their applications on servers in the tech giant's data center. 

"We're introducing Google Compute Engine, an infrastructure-as-a-service product that lets you run Linux Virtual Machines on the same infrastructure that powers Google," said Google in its official blog Thursday. 

According to the company, the economy of scale and efficiency of its data centers can provide users 50 percent more computing power than other leading cloud providers, reported Xinhua. 

Industry watchers said Google Compute Engine will compete and challenge the leading position of Amazon Web Services, which was launched in July, 2002

Sunday, June 24, 2012

SQL Server 2008 Profiler - How to filter trace to only display events from one database ?


Create New template and follow below steps on "Trace Properties" window-

1 - Click on the "Events Selection" tab
2 - Click on the "Show All Columns" check box
3 - Click on the "Column Filters..." button
4 - Select "DatabaseName", click on the plus icon to Like in the right-hand side pane, and type your database name.

Thanks

Saturday, June 23, 2012

Microsoft may be making own phone - Analyst


Microsoft Corp (MSFT.O) is looking at making its own smartphone to kickstart sales of its Windows mobile software, according to a Wall Street analyst who has followed the company for many years. The talk - unconfirmed by Microsoft - comes a day after the company unveiled its latest Windows Phone 8 software, and the same week it announced an own-brand tablet, signaling a break with 37 years of focusing on software and leaving hardware manufacturing to its partners.

"Our industry sources tell us that Microsoft may be working with a contract manufacturer to develop their own handset for Windows Phone 8," wrote Nomura analyst Rick Sherlund in a note to clients on Thursday.

"It is unclear to us whether this would be a reference platform or whether this may be a go-to market Microsoft-branded handset," wrote Sherlund, who covered Microsoft for Goldman Sachs when the bank brought Microsoft public in 1986.

Microsoft did not confirm or deny the speculation. A spokesman said the company was a "big believer in our hardware partners and together we're focused on bringing Windows Phone 8 to market this year."

Windows Phone 8 is the latest version of Microsoft's mobile software, set for release in autumn. So far, the software giant has struggled to make a mark, with Windows-powered smartphones taking only 2 percent of a worldwide market dominated by Apple Inc's (AAPL.O) iPhone and devices running Google Inc's (GOOG.O) Android system.

Microsoft built its business on creating software to be used on other companies' hardware, but the success of Apple's iPhone and iPad have demonstrated that making both and integrating the two smoothly has its benefits.

Microsoft charted a new course this week by announcing two own-branded tablet PCs, although doubts remain whether that was a move to invigorate hardware makers or a genuine attempt to compete with its partners.

A similar move in phones could make sense, and the company has little to lose by trying its own handset, said another analyst, considering the strategic importance of smartphones and poor sales of Windows phones.

"Microsoft can't afford not to have phones sell. They have to find a way of selling it," said Sid Parakh, an analyst at fund firm McAdams Wright Ragen. "It's a significant piece of their long-term vision of integrated devices."

If Microsoft did make its own phone, it would be a blow for struggling Finnish handset maker Nokia (NOK1V.HE), which pledged to use Windows software in its smartphones under a multi-billion dollar pact last year. If Microsoft wanted to be in the handset business, it might even consider buying Nokia, suggested Parakh, although he said that was unlikely.

Such a move would also bring Microsoft into competition with Samsung Electronics (005930.KS), HTC Corp (2498.TW) and Huawei, which are slated to bring out new Windows phones later this year.

Microsoft has experimented unsuccessfully with handsets before. It bought fashionable phone designer Danger and developed a phone in-house called Kin, which was pulled off the market months after launch in 2010.

Shared Button