Showing posts with label XML. Show all posts
Showing posts with label XML. Show all posts

Tuesday, September 18, 2012

As the Microsoft developer world turns: Guidance for the perplexed


Microsoft is in the midst of launching a host of new operating systems and tools this summer/fall. So what's a developer to choose to build apps and services for Windows 8, Windows Phone 8, Windows Server 2012 and/or Windows Azure?



There are familiar, legacy .NET tools and frameworks available, like Silverlight and Windows Presentation Foundation. There are newer and less familiar (to many Microsoft developers) options including XAML and HTML5/JavaScript. And on the server side, there's ASP.Net for building server-based Web applications.

Microsoft tools vendor Telerik has delivered a new version of its Platform Guidance document that aims to help developers sort through the myriad choices, based on the type of application they are developing. The eight-page Platform Guidance PDF is a free download, available as of September 18.

The document doesn't advocate abandonning tried but true platforms like Silverlight, even though Microsoft seems to be trying to wean developers from that platform by downplaying it and declining to comment on its future, beyond committing to support Silverlight 5 through 2021. (Ditto with WinForms, which Telerik notes isn't the best choice for "greenfield" development, but which still has its place.)

Here's the Cliff Notes version of what the Telerik principals are recommending for development of each type of app:

Desktop Applications – WPF
Dashboard/Reporting Applications – ASP.NET MVC (Model View Controller) with HTML5
Data-Driven Websites – ASP.NET MVC and Web API
Interactive Web Applications (Forms over Data) – ASP.NET WebForms
Mobile Website – ASP.NET MVC HTML5
Tablet Applications – XAML and .NET

The Platform Guidance document includes a chart to help developers evaluate whether XAML or HTML is a better choice for building a Metro-Style -- now know officially as "Windows Store" -- application:



At only eight pages, the Guidance document isn't meant to be a be-all/end-all work. But it's a starting point, which offers some much-needed suggestions for those attempting to navigate the rapidly changing Microsoft development waters.

Friday, August 24, 2012

Microsoft Release New REST API Framework as Part of .NET 4.5


As part of the recent Visual Studio 2012 and .NET 4.5 launch, Microsoft formally unveiled its new web services framework called the ASP.NET Web API. Included as part of the ASP.NET MVC 4 offering, the open-source ASP.NET Web API is designed to simplify the development and consumption of RESTful services.

In a post called “Where does ASP.NET Web API Fit?”, Rick Strahl of West Wind Technologies explains the purpose and benefits of the ASP.NET Web API.

ASP.NET Web API differentiates itself from the previous Microsoft in-box HTTP service solutions in that it was built from the ground up around the HTTP protocol and its messaging semantics. Unlike WCF REST or ASP.NET AJAX with ASMX, it’s a brand new platform rather than bolted on technology that is supposed to work in the context of an existing framework. The strength of the new ASP.NET Web API is that it combines the best features of the platforms that came before it, to provide a comprehensive and very usable HTTP platform. Because it's based on ASP.NET and borrows a lot of concepts from ASP.NET MVC, Web API should be immediately familiar and comfortable to most ASP.NET developers.

Strahl points out the core capabilities that make the ASP.NET Web API a natural fit for both existing users of the the ASP.NET MVC framework, and developers who need to build HTTP endpoints.

Strong Support for URL Routing to produce clean URLs using familiar MVC style routing semantics
Content Negotiation based on Accept headers for request and response serialization
Support for a host of supported output formats including JSON, XML, ATOM
Strong default support for REST semantics but they are optional
Easily extensible Formatter support to add new input/output types
Deep support for more advanced HTTP features via HttpResponseMessage and HttpRequestMessage
classes and strongly typed Enums to describe many HTTP operations
Convention based design that drives you into doing the right thing for HTTP Services
Very extensible, based on MVC like extensibility model of Formatters and Filters
Self-hostable in non-Web applications
Testable using testing concepts similar to MVC
Microsoft already has an existing a web services framework called Windows Communication Foundation (WCF) which lets developers build contract-first services that leverage transport protocols such as TCP, HTTP and MSMQ. Originally built for SOAP-based services that want WS-* capabilities, WCF eventually added a handful of REST-friendly capabilities. While the ASP.NET Web APIs were initially aligned to the WCF framework, they were eventually shuffled over to the ASP.NET team as described in a Code Project article by Web developer Ido Flatow.

As time passed, the WCF Web APIs had a lot of trouble adapting WCF to the “native” HTTP world. As WCF was primarily designed for SOAP-based XML messages, and the “open-heart” surgery that was required to make the Web API work as part of WCF was a bit too much (or so I understand from people who were involved in creating the Web APIs). On the other hand, the ASP.NET MVC infrastructure with its elegant handling of HTTP requests and responses, and its support of easy-to-create controllers seemed like the proper way to go for creating this new type of services.

WCF remains alive and well in the latest .NET 4.5 release and Flatow identifies some of the decision criteria for choosing between WCF and the ASP.NET Web API.

If your intention is to create services that support special scenarios – one way messaging, message queues, duplex communication etc, then you’re better of picking WCF
If you want to create services that can use fast transport channels when available, such as TCP, Named Pipes, or maybe even UDP (in WCF 4.5), and you also want to support HTTP when all other transports are unavailable, then you’re better off with WCF and using both SOAP-based bindings and the WebHttp binding.
If you want to create resource-oriented services over HTTP that can use the full features of HTTP – define cache control for browsers, versioning and concurrency using ETags, pass various content types such as images, documents, HTML pages etc., use URI templates to include Task URIs in your responses, then the new Web APIs are the best choice for you.
If you want to create a multi-target service that can be used as both resource-oriented service over HTTP and as RPC-style SOAP service over TCP – talk to me first, so I’ll give you some pointers.
The ASP.NET Web API is included in Visual Studio 2012 and is also available as a download for Visual Studio 2010 users. Developers looking to get started with the framework will find many example projects available on the team’s Codeplex site.

Monday, June 18, 2012

GSO: Cost effective web development in India to serve all around the world


Web development in India is shining well like anything. It has created lucrative job opportunities for Indian web designers and web developers. In recent years this industry has generated good money for Indian web experts. The main aim of designing web applications in India is its massive English speaking population, trained man power, guts to take risky tasks by Indian web experts and cost effectiveness of Indian web development packages. Web development companies in India provide price effective, customized and internet driven web solutions to offshore clients. They offer fully customized web applications by using interactive programs like Java, C++, XML, .Net, VB, AJAX, ASP, PHP and ASP.Net.

During recent years Indian web development companies have expanded well in international web designing industry. These companies are having a firm technical background. They have the ability to impart sufficient time for software projects owned by abroad and local clients. Web development experts of India have a deep understanding of business objectives laid by offshore clients. For this reason they maintain a strong work quality and believe in ethical ways of web designing. Indian web development companies have well developed infrastructure. They use the latest tools for developing web based software applications. Their hardware infrastructure is also appreciable. Web development companies of India work with a full 24 hour power back up. In this way their php development india projects never stop and go on advancing forward.

Web development in India is done by using lucrative means of communication like email, Skype and instant messenger applications of Google, Yahoo and MSN. Team members of Indian web development companies are even using voice chat to communicate with offshore clients. The primary goal of web development in India is to understand and fulfill the business needs of local and abroad clients. As concerning abroad clients, Indian web development companies have developed a long lasting relationship with them. High quality work and delivery within tight deadlines can be attributed to the success of Indian web development companies amidst foreign clients.

Web development in India offers the best quality in the field of developing business oriented websites. It provides value added services in the field of making software products. For this reason all clients are assured that the task of developing their online business is in trusted hands. Having a well made and impressive website is an important part of doing online business. It is the most essential medium through which customers ring up to online business owners. No one can imagine doing online business without a website. Web development India services in India understand this very well. For this reason they create well optimized and impressive websites for local and offshore websites.

India has made great progress in the field of information and technology. This progress of web development in India has drawn the attention of several clients living in abroad. In fact this is a good sign for the world of information and technology in India. Web development in India has many benefits. It offers efficient and reliable web designing services. It offers services at a cost effective budget. Above all Indian web designers provide scalable tools for doing online marketing after creating value added websites.