async

All posts tagged async

SignalR is an open source async library for .NET, which allows you to build real-time, multi-user interactive web applications with relative ease. SignalR is a useful package for .Net developers and the good news is that its freely available under a MIT License.


dzone.com: latest front page





Share

In my recent post on the “The Road to Visual Studio 11 Beta and .NET 4.5,” I shared my thoughts on some key industry trends that have influenced our most recent wave of development tools. 

One such trend is represented by the order of magnitude increase in the number of people developing software.  the proliferation of digital devices, the transformation to cloud computing, and the advent of app stores to provide reach and monetization opportunity for software developers all contribute to this increase.  with such a surge, and with the breadth of app types being built, it’s no wonder that the number of choices developers have for languages, libraries, and frameworks has also increased significantly.

We continue to invest heavily in .NET.  much of the work we’ve done in .NET 4.5 has been focused on making .NET a premier developer environment in which to build server-side applications and services (for example, with the scalability capabilities afforded by the new async/await support in C# and Visual Basic).  .NET will continue to grow as a great choice for developers building cloud-based systems.  at the same time, we fully recognize that the world is larger than .NET, and we want developers to be successful using Windows Azure regardless of the development technologies upon which they rely.

In that light, we are continuing on our roadmap of embracing popular Open Source Software (OSS) tools and working collaboratively with the open source community to build together a better cloud that supports all developers and their needs for interoperable solutions.  Developers want to use the tools that best fit their experiences, their skills, and their application requirements; our goal is to enable that choice.  We continue to be committed to providing an experience where developers can build applications on Windows Azure using the languages and frameworks they already know, and to making it easier to get started and to use cloud computing on their own terms.

Hopefully, this focus has been evident in much of the recent work that’s been done to reflect Windows Azure openness. for example, there are now SDKs available for working with Windows Azure from .NET, Node.js, Java, and PHP.  There’s a developer preview available for using Apache Hadoop on Windows Azure.  We’ve been working closely with 10Gen and the MongoDB community to provide MongoDB database integration for Windows Azure, including deployment packaging, documentation, and code samples.  There’s an updated Eclipse plug-in for Java developers to work with Windows Azure, including support for remote Java debugging.  There’s configuration guidance and documentation available for using Solr with Windows Azure.  there are Windows Azure Toolkits available not only for Windows Phone and Windows 8, but also for Android and iOS.  and the majority of these projects, and others like Python Tools for Visual Studio, are available under open source licenses. even from an IDE perspective, Team Explorer Everywhere supports developers accessing Team Foundation Server from Eclipse-based environments running on Windows, Linux, Mac OS X, Solaris, AIX, and HP-UX.

This only scratches the surface of the interoperability and openness work we’re doing for the cloud. in fact, just two weeks ago we announced a new subsidiary known as Microsoft Open Technologies, inc., to advance the company’s investment in openness.  As we said at that time, Microsoft and our individual business groups will continue to engage with the open source and standards communities in a variety of ways, including working directly with many open source foundations and standards organizations. Today, MS Open Tech released a new version of the Redis port to Windows, providing, among other improvements, better performance over the version released in February. Additionally, today I’m excited to announce the release of a Metro style theme for jQuery Mobile, which enables Web sites and HTML5-based mobile application to use the Metro style.

You can expect us to continue doing more here over time.

Meeting Developers Where They Are

Share

Maybe this is common knowledge, but my co-worker and I spent some time chasing this down today, so I figured I’d post it in the hope that it will save other people some time. 

Normally, a empty, unstyled DIV reserves no space in an HTML document. however, it seems that under Internet Explorer (we were testing under IE7), if you set the innerHTML property of such a div to an empty string, suddenly the DIV starts taking up space. in other words, if you have this:

some text
<div id = “theDiv”></div>
some more text

and execute a line of script that does this:

document.getElementById(“theDiv”).innerHTML = “”;

then suddenly a blank line will start appearing in between “some text” and “some more text” – the DIV now occupies space in the flow. This doesn’t happen in Firefox, and I believe it’s a bug in IE.

We were seeing this using ASP.NET AJAX. we have multiple UpdatePanels on a page, and one of them was rendering empty content. After an async postback, a blank line started appearing where the empty UpdatePanel was. the UpdatePanel script code sets the innerHTML property to the result of the async-postback (blank in this case), and suddenly the UpdatePanel DIV was taking up space where it hadn’t before.

The fix in our case was easy – set the RenderMode property of the UpdatePanel to “Inline”.

Empty DIV takes up space after setting innerHTML to blank on IE (aka blank lines after UpdatePanel postback)

Share