Web Services – An Introduction

Categories UncategorizedPosted on

Before beginning with some thing about web services. Do you have any idea about WEB SERVICES like what is it, how they work , etc.. Ok I shall I tell you basic about Web Services and Later will tell you about WEB SERVICES with ASP.NET.

Now lets begin with the topic.

 

INTRODUCTION


Basically a Web Service is a method to interact between two electronic devices over a network. Network may be any kind of Network. This is what W3C defines Web Services as “a software system designed to support interoperable machine-to-machine interaction over a network. It has an interface described in a machine-process able format (specifically Web Services Description Language WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP messages, typically conveyed using HTTP with an XML serialization in conjunction with other Web-related standards.” To much technical. I simply define Web Services as application components means a application which will help you communicate between two different platforms or languages. In simple english we can say that web services are Translator’s or Meditators which help the application understand the information of other platform. Web Services are self-contained and self-describing. They can be discovered using UDDI and be used by other applications. XML is the basis for Web services. Just few prerequisite you to need to start developing We Services for you. Just the basics of :-

  • HTML
  • XML

You know Web Services can convert your application into a Web-application, which can publish its function or message to the rest of the world.The basic Web Services platform is XML + HTTP. Web services describes a standardized way of integrating Web-based applications using the XML, SOAP, WSDL and UDDI open standards over an Internet protocol backbone.Web services allow organizations to communicate data without intimate knowledge of each other’s IT systems behind the firewall. Web services do not require the use of browsers or HTML. Web services are sometimes called application services.

Web services allow different applications from different sources to communicate with each other without time-consuming custom coding, and because all communication is in XML, Web services are not tied to any one operating system or programming language. For example, Java can talk with Perl, Windows applications can talk with UNIX applications.

Web services are useful in linking applications operating on different network platforms, hardware, software, and databases, performing critical functions for many businesses. For instance, web services may be used to provide optimal interaction between certain business functions and important applications shared with an organization’s customers, partners, and vendors. Web services are also useful for combining software and services from different companies for the purpose of providing a seamlessly integrated service.

Web services rely on numerous different protocols for the exchange of data. Such protocols include Hypertext Transfer Protocol (HTTP), File Transfer Protocol (FTP), and Simple Mail Transfer Protocol (SMTP). Extensible Messaging and Presence Protocol (XMPP) may be used as well.

Web services are made available from a business’s Web server for Web users or other Web-connected programs. Providers of Web services are generally known as application service providers. Web services range from such major services as storage management and customer relationship management (CRM) down to much more limited services such as the furnishing of a stock quote and the checking of bids for an auction item.

This is the architecture of Web Services

 

The basic Web services platform is XML + HTTP.XML provides a language which can be used between different platforms and programming languages and still express complex messages and functions.The HTTP protocol is the most used Internet protocol.

Web services platform elements:

  • SOAP (Simple Object Access Protocol)
  • UDDI (Universal Description, Discovery and Integration)
  • WSDL (Web Services Description Language)

 

BASIC STRUCTURE OF WEB SEVICE


Web Services have Two Types of Uses


1. Reusable application-components.

There are things applications need very often. So why make these over and over again?

Web services can offer application-components like: currency conversion, weather reports, or even language translation as services.

2. Connect existing software.

Web services can help to solve the interoperability problem by giving different applications a way to link their data.

With Web services you can exchange data between different applications and different platforms.

 

Introduction to Web Services :- Video



 

Hope you Liked the content. Below is my Facebook Page. Like it and stay updated .

 

 

Happy Reading till my next post.

Regards

Uday Vaswani

HTML5 – A New Beginning of WEB

Categories UncategorizedPosted on

Before that I tell you something about HTML5, let me tell you that I recently attended Microsoft Web Camps at Mumbai. Where one of the topic was HTML5. This post would also contain some summarized content of the Session.

Here first have a look at HTML5 Logo.

The Logo is designed by Ocupop design agency, and it’s licensed under Creative Commons Attribution 3.0, a permissive license that allows ‘remixing’ of the licensed work. The logo has been made available on stickers and t-shirts, and there’s a gallery already promoting examples of the logo in use..

HTML5 is the next major revision of the HTML standard, currently under development.HTML5 introduces a number of new elements and attributes that reflect typical usage on modern websites.

HTML5 is the cornerstone of the W3C’s open web platform; a framework designed to support innovation and cherish the full potential the web has to offer. Announcing this revolutionary collection of tools and standards, the HTML5 identity system provides the visual vocabulary to clearly classify and communicate our collective efforts.

HTML 5 consists of HTML5= HTML+JAVASCRIPT+CSS3

In HTML 5 as you can see in the fig JAVASRIPT has a major portion then is CSS3 and very little HTML.

HTML 5 is also called as Working Draft.HTML 5 is living thing.

FEATURES OF HTML5

There are many new features in HTML5. I have only major features of HTML5

1. OFFLINE & STORAGE

Thanks to this feature now browser can now remember what we have typed, even after we refresh or reopen the browser

“localStorage sets fields on the domain. Even when you close the browser, reopen it, and go back to the site, it remembers all fields in local Storage.”
QuirksBlog

Code Snippet to achieve Offline Storage

window.localStorage.setItem(‘timestamp’, (new Date()).getTime())

textarea.value = window.localStorage.getItem('timestamp');

2. SEMANTICS

This is nothing but a good way to make your html look organized.It enables a more useful, data driven web for both programs and your users.Giving meaning to structure, semantics are front and center with HTML5

An e.g of it is this

The tags used to achieve this are

  1. <header></header> For Creating a header Section
  2. <footer></footer> For Creating a Footer Section
  3. <nav></nav> For Creating Navigation Area

There are many more tags. You can find them in Documentation Link of W3C. Link is given at last of this post.

3. GEOLOCATION
It’s nothing but a way to locate your location using geolocatio API.
Code Snippet for it. Your browser must support HTML5. Allow access.
if (navigator.geolocation) {  navigator.geolocation.getCurrentPosition(function(position) {    var latLng = new google.maps.LatLng(        position.coords.latitude, position.coords.longitude);    var marker = new google.maps.Marker({position: latLng, map: map});    map.setCenter(latLng);  }, errorHandler);}

4.CONNECTIVITY

This allows you to have real time chats, faster games and better communication. It uses Web Workers, Web Sockets for it.

5. MULTIMEDIA

HTML5 has a wide support for audio and video controls.Audio and video are first class citizens in the HTML5 web, living in harmony with your apps and sites. Lights, camera, action!. To do use the following tags

1.<audio></audio>  // For adding audio

2.<video></video> // For adding video

Below is the the code snippet for adding audio to web page.

<audio autoplay=”autoplay” controls=”controls”>

<source src=”file.ogg” />

<source src=”file.mp3″ />

<a href=”file.mp3″>Download this file.</a>

</audio>

Below is the code snippet  to add video to web page

<video controls preload>

<source src=”cohagenPhoneCall.ogv” type=”video/ogg; codecs=’vorbis, theora'” />

<source src=”cohagenPhoneCall.mp4″ type=”video/mp4; ‘codecs=’avc1.42E01E, mp4a.40.2′” />

<p> Your browser is old. <a href=”cohagenPhoneCall.mp4″>Download this video instead.</a> </p>

</video>

6.Hyper-Threading for Web browsers

With this feature, separate background threads can be used for processing without affecting the performance of a webpage. This is extremely useful for applications with rely on heavy scripts to perform such functions.

7.3D, GRAPHICS & EFFECTS

By using SVG, Canvas, WebGL, and CSS3 3D features, you’re sure to amaze your users with stunning visuals natively rendered in the browser.

8.Doctype

How can I forget the important feature. The doctype is now html5. this is how you will write now

<!DOCTYPE html5>

9.PERFORMANCE & INTEGRATION

Make your Web Apps and dynamic web content faster with a variety of techniques and technologies such as Web Workers

10.CSS3

CSS3 delivers a wide range of stylization and effects, enhancing the web app without sacrificing your semantic structure or performance.Additionally now you can use a wide range of fonts on the WEB.

10.More FORM CONTROLS

To understand more form controls have quick look at the Video.

There are many more New Features of HTML5 here is the list

  • Native Drag & Drop
  • Placeholder
  • Autofocus Attribute
  • Figure Element
  • Email inputs
  • Required Attribute
  • hgroup
  • <small> redefined
  • No More Types for Scripts and Links
  • Content Editable
  • Preload Video
  • Display video controls
  • Detect Support for Attributes // Using Modernizr library
  • Mark Element

Have a look at this video to know what should you be using now of HTML5

To See HTML5 Demos visit here HTML5 Demos and here also HTML5 DEMOS

To Check whether your browsers support HTML5 or not visit these links

  1. caniuse
  2. htmltest
  3. fmbip

To see the HTML5 specification of W3C click here.

To see the demo of all features of HTML5 click here.

To get a Browser that supports HTML5 see the downloads section.

To get a HTML5 Batch for you as I have got visit here.

Till then Happy Reading    

With Regards

Uday Vaswani

Visual Studio 2010 New Features

Categories UncategorizedPosted on

New Features of Visual Studio 2010

I have spent a lot of time while having a  walk through the new features  of Visual Studio 2010. These are the new features I came across while using VS 2010.

Features

1] New Code Editor and MEF :

Visual Studio (VS) 2010 introduces a new Editor composed of extensible objects using the Microsoft Extensibility Framework (MEF). It is built on WPF to provide a  class 1 graphics engine with APIs written & designed for the latest version of .NET. Other components moving to this architecture in VS2010 include the Visual Studio Languages, Web Tools, the Debugger,  the new C++ project system, DSL Tools, and SharePoint Designer.  Each of these components are using or offering MEF extension points.

2] WPF and the New Visual Studio UI

VS 2010 incorporates a new WPF-based presentation layer and many core UI assets have been migrated to WPF, for example the menus and toolbars, code editor, start page, etc. VS 2010 also incorporates a fresh new theme that will provide a pleasant and favorable work environment for developers. VS 2010 makes it easy to integrate WPF UI with the VS WPF visual tree through the use of new VS window hosting interfaces, and in doing so, inherit VS 2010 theme styling.

3] VS2010 Shell

The Visual Studio Shell enables developers to rapidly create and distribute their own custom tools by building them on top of the core Visual Studio IDE.  There are two shell “modes” and both are available via a royalty-free license.

i)The Visual Studio Shell (Integrated Mode)

ii)The VS Shell (Isolated Mode)

4] VS2010 Extension Manager

The VS2010 Extension Manager enables developers to more easily share, acquire and manage Visual Studio Extensions.  It will support extensions such as Project Templates, Item Templates, VS Packages, Managed Extensibility Framework (MEF) components, and even custom extension types .

The extension manager will display the same content and extensions as the Visual Studio Gallery ( www.visulalstudiogallery.com ) which will continue to provide browser access as an alternative to view and download VS extensions.The VS2010 Extension Manager also introduces a new file format for deployment of VS extensions. VSIX files are based on the Open Packaging Convention (OPC) Zip  format and contain a manifest and payload.

5] Web Tools

Visual Studio 2010 includes an array of new functionality for Web developers which include support for new features now available in the 4.0 framework

6 ] Web Deployment and Web Packaging

With Visual Studio 2010 and IIS Web Deployment Tool (MsDeploy.exe). Microsoft Web Deployment Tool is a free download available on the web (currently in Beta2). You can download MSDeploy from below location:

http://blogs.iis.net/msdeploy/archive/2008/10/29/the-web-deployment-tool-beta-2-is-now-available.aspx

7] Silverlight  and WPF Tools

The WPF Designer extensibility API will be changing in VS 2010 to accommodate both WPF and Silverlight.

8] SharePoint Integration

Visual Studio 2010 introduces new SharePoint tools in an effort to make SharePoint development easier and more intuitive for .NET developers.  These tools include new project and item templates you can use to create SharePoint sites, lists, document libraries, workflows and other types of SharePoint content. Visual Studio 2010 also provides new visual designers for Web Parts, application pages, business data catalog (BDC) models, and packaging. In addition, in Visual Studio 2010 you can now use Server Explorer to connect to your SharePoint sites and navigate the hierarchy and contents of these sites from within Visual Studio.

9] Parallel Computing Platform (PCP)

Visual Studio® 2010 and the .NET Framework 4.0 will introduce a number of technologies as part of Microsoft’s Parallel Computing Initiative to help programmers build innovative applications that utilize the power of  multi-core architectures

10] Cloud Tools

As of March 2009, the Windows Azure Tools extend VS2008.  Future releases of the Windows Azure Tools have support in VS2010.

If you want a detailed walk through, check out Bill Leach’s blog entry at http://blogs.preemptive.com/post/Whate28099s-new-with-Dotfuscator-in-Visual-Studio-2010-Beta-1.aspx

As I go through  VS 2010 I shall write about the features I discover. Till then Happy Reading

Regards

Uday Vaswani.

Montage – an Expression of You

Categories UncategorizedPosted on

It’s product or a service by Fuse Labs of Microsoft. Before telling you something about Montage lets get to know something about FUSE LABS.

They work with community and internal partners to ideate, develop, and deliver new social, real-time, and media-rich experiences for home and work that allow people to create, connect and collaborate with what matters to them. They have setup many such services one of it is MONTAGE.

Its Cloud App by Fuse Labs..

Montage is a way to share a album of web. Same like sharing links on Twitter , Facebook. Montage is a shareable, personal, visual album of the web. You are able to design your personal Montage around a topic by adding content that pulls information from a variety of sources including, RSS feeds, Twitter, Bing News, YouTube, video and Bing Images. Your Montage is constantly evolving as you arrange each area with the content of your choice – which is easy, intuitive and fun; and can be on any topic from, movies, sports, to robots.

Today, the way in which we share information on the Web is changing, and social search has quickly become one of our key paths of exploration. Shared links on Facebook now drive more traffic to major content portals than Google. Average Web users need tools that can mold the new Web into truly custom content experiences for them and their micro-communities of friends and family.

This is why we’ve created Montage—a flexible web-based service that makes it fun and easy to create and share a visual album of the web on the topics you care about. You can design your Montage around any topic you can imagine by adding content that pulls information from a variety of sources, including RSS feeds, Twitter, Bing News, and YouTube.

What makes Montage a valuable new tool for people who want to learn and share on the Web?

Real-time:
Your Montage is constantly evolving as you create and arrange each area with the content of your choice. Even after you’ve published, your Montage keeps itself up-to-date by automatically pulling in new tweets, news, pictures and more. It’s easy, intuitive and fun to get started.

Social:
One of the things that makes Montage so unique is its ability to publish your content outward into the communities that matter to you. Montages can be easily shared via Facebook and Twitter, letting you share your content with friends, family, or anybody with similar interests. Plus, you can ‘remix’ other users’ Montages to put your own unique spin on them and keep the fun and conversation moving.

Fun:
Your imagination is the only limit to what topic you use to create a Montage—anything from movies to sports to robots. Montage gives you insight into any topic you choose that can take you as deep as you want to go.

A sneak Preview of Montage

Montage


Right now, anyone who wants to view a Montage can, but only a select few partners have the ability to build and share Montages. In the coming weeks, we will open it up for anyone to be able to build and share their own Montages – stay tuned and follow @getmontage on Twitter to get the announcement when it happens.

Excited about using Montage. Try it here. MONTAGE

If you would also like to know more about FUSE LABS and know more about there other products. Follow the link on “FUSE LABS

Friends i Montaged now you also Try it..
Happy Montaging

Regards
Uday Vaswani

Visual Studio 2010 Light Switch – Online Event

Categories UncategorizedPosted on

Visual Studio 2010 Light Switch – Online Event

Time

Saturday, November 20 · 7:00pm – 8:00pm


Location
Online Meeting Using Office Live Meeting Client


Created By

Microsoft Nashik User Group (Micronug)


More Info
Microsoft Nashik User Group would be conducting an online event on Microsoft Visual Studio 2010 Light Switch. Event would be conducted on Saturday, 20th November 2010 at 7.00 p.m. As the event is being hosted online, we are requested to download Microsoft Live Meeting client. Visit our website for more details or join the event on Facebook.
Topics to be covered:
1. Introduction to Visual Studio 2010 Light Switch
2. Learn to create Data Centric Applications – Live Demo
3. Application of Visual Studio 2010 LightSwitch
Click on the link below to attend the event
https://www.livemeeting.com/cc/UserGroups/join?id=2DH73S&role=attend.

Micronug (Nasik User group) is back with an event. First time MICRONUG will be hosting a online webcast event. This Event will cover the Microsoft’s newest member of Visual Studio Family. That is VISUAL STUDIO LIGHTSWITCH . Webcast for this technology will be hosted on 20th November 2010.

This is an invitation to you to attend this event on behalf of Micronug Team.

What is Visual studio LightSwitch?

Microsoft Visual Studio LightSwitch gives you a simpler and faster way to create professional-quality business applications for the desktop, the web, and the cloud. LightSwitch is a new addition to the Visual Studio family.

Why should You Attend?

This is a new technology. With the increase of demand of Cloud services there is need of people who know how to develop application for Cloud. Visual Studio LightSwitch can be your Partner in that field.

The Agenda for Event is as Follows

Microsoft Nashik User Group would be conducting an online event on Microsoft Visual Studio 2010 Light Switch. Event would be conducted on Saturday, 20th November 2010 at 7.00 p.m. As the event is being hosted online, we are requested to download Microsoft Live Meeting client. Visit our website for more details or join the event on Facebook.

Topics to be covered:

1. Introduction to Visual Studio 2010 Light Switch

2. Learn to create Data Centric Applications – Live Demo

3. Application of Visual Studio 2010 LightSwitch.

Hope you give your valuable presence and benefit the most from this event.

Registration Options:

As the event is being hosted online, we are requested to download Microsoft Live Meeting client http://office.microsoft.com/en-us/help/download-the-microsoft-office-live-meeting-2007-client-HA010173383.aspx

Visit our website for more details or join the event on Facebook.

Click on the link below or paste it into browser address bar to attend the event
https://www.livemeeting.com/cc/UserGroups/join?id=2DH73S&role=attend

Regards ,

Micronug team,

WEBMATRIX

Categories UncategorizedPosted on

ASP.NET WebMatrix is a free tool released by Microsoft for the rapid development of web applications running on servers which support ASP.NET. It is a managed application written in the programming language C#.

WEBMATRIX grew out of a pet project started by Nikhil Kothari. It was originally

conceived as a test bed for working with ASP.NET controls in a designer environment. The ASP.NET team saw a number of benefits for a tool of this type, and used it to try out a variety of additional ideas for creating an IDE that could act as a lightweight alternative to Visual Studio.The project was developed into a product (originally code-named “Saturn”) that was released in the summer of 2002 as free download on the www.asp.net Web site, without official support and with only word-of-mouth marketing.

What Is It?

Web Matrix

WebMatrix is everything you need to build Web sites using Windows. It includes IIS Developer Express (a development Web server), ASP.NET (a Web framework), and SQL Server Compact (an embedded database). It streamlines Web site development and makes it easy to start Web sites from popular open-source apps. The skills and code you develop with WebMatrix transition seamlessly to Visual Studio and SQL Server.

WebMatrix is a task-focused tool that is designed to make it really easy to get started with web development.  It minimizes the number of concepts someone needs to learn in order to get simple things done, and includes and integrates all of the pieces necessary to quickly build Web sites.

In 2010, Microsoft announced the beta version of a new product, also named WebMatrix (in one word).

Microsoft has presented WebMatrix as a development suite with three elements:

  1. A Web server, IIS Express,
  2. A SQL database, and
  3. A Database/Web-ready framework

Why Use It?

You will use the same powerful Web server, database engine and web framework that will run your Web site on the Internet, which makes the transition from development to product seamless. Beyond ensuring everything just works, WebMatrix includes new features that make Web development easier.

Who’s it for?

WebMatrix is for developers, students, or just about anyone who just wants a small and simple way to build Web sites. Start coding, testing, and deploying your own Web sites without having to worry about configuring your own Web server, managing databases, or learning a lot of concepts. WebMatrix makes Web site development easy.

Code Without Boundaries

WebMatrix provides an easy way to get started with Web development. With an integrated code editor and a database editor, Web site and server management, search optimization, FTP publishing, and more, WebMatrix provides a fresh, new Web site development experience that seamlessly bridges all the key components you need in order to create, run, and deploy a Web site.

What is in WebMatrix?

WebMatrix is a 15MB Download (50MB if you don’t have .NET 4 installed) and is quick to install. The 15MB download includes a lightweight development tool, IIS Express, SQL Compact Edition, and a set of ASP.NET extensions that enable you to build standalone ASP.NET Pages using the new Razor syntax, as well as a set of easy to use database and HTML helpers for performing common web-tasks.  WebMatrix can be installed side-by-side with Visual Studio 2010 and Visual Web Developer 2010 Express.

Note: Razor support within ASP.NET MVC applications is not included in this first beta of WebMatrix – it will instead show up later this month in a separate ASP.NET MVC Preview – which will also include Visual Studio tooling support for it.

To install Webmatrix you need a feature called WEBPI of Microsoft. To know more visit WEBPI

FEATURES OF WEBMATRIX

  • Small, but complete package
  • Grows with you
  • Start > Open Source
  • Database made simple
  • Elegant interface, simple experience
  • Simple to code
  • Desktop or server, it’s all the same
  • Tightly knit, fully integrated
  • Optimize for search
  • Site publishing

To know some features of this tool visitTech Impressions

Before you download WebMatrix just downlaod WEBPI from here

    To Downlaod the WEBMATRIX
    Wait for next post till then
    Enjoy Reading 🙂
    With Regards
    Uday Vaswani

WebPI

Categories UncategorizedPosted on

Introduction

The Microsoft® Web Platform Installer (Web PI) makes it easy for you to download, install, and keep up to date on the latest software components of the Microsoft® Web Platform for development and application hosting on the Windows® operating system. Web PI does the work of comparing the newest available components across the Microsoft Web Platform against what is already installed on your computer; you can see what is new and what you haven’t yet installed. You can use Web PI to learn more about different components and install one or more components in a chained installation, with Web PI handling reboots and logging failures where applicable. The currently available software components include Internet Information Services 7 (IIS 7), PHP 5.2.11, Microsoft® SQL Server® 2008 Express with Service Pack 1, the Microsoft®.NET Framework, and Microsoft® Visual Web Developer 2008 Express Edition with Service Pack 1.

Web PI also provides an interface to the Windows Web App Gallery, a community-driven hub of the most popular open-source and community Web applications that run on Windows. Accessible from anywhere through the Microsoft Web Platform site, the Windows Web App Gallery provides a streamlined way for users to explore, discover, and install Microsoft® ASP.NET, PHP, and other types of Web applications for the Windows operating system, providing Web developers with access to millions of Web users worldwide. The Windows Web App Gallery lets developers submit their own applications for inclusion; once accepted, a Web application can appear in Web PI for anyone to download.

System requirements for Web PI include an Internet connection and one of the following supported operating systems:

  • Windows Server® 2008 R2 or Windows Server® 2008
  • Windows Server® 2003 Service Pack 1 (SP1) for Itanium-Based Systems
  • Windows Vista®
  • Windows® XP Service Pack 2 (SP2)
  • Windows® 7

To Download the WEBPI

To know more about VISIT

Enjoy Reading 🙂

With Regards

Uday Vaswani