Microsoft Techmela- an exciting event for developers
I see Techmela as an exciting event for the s/w developers who get to interact with the Microsoft experts of various technology and also got to know about cutting edge technologies. This time Techmela is happening at Renaissance Hotel and convention center, Mumbai.
to know more about Techmela please visit
http://www.techmela.com/index.htm
Due to busy schedule I could not attend Techmela on 14th but I could attend it on 15th June. on this day more focus was around .NET 3.0 & .NET 3.5 (“Orcas”).
I have attended presentation on
1. Programming WCF: A Developer’s Primer by Sanjoy Antony
2. WCF Syndication, AJAX and REST Services with .Net Framework 3.5 by Janakiram
3. Speaking Windows Vista - All you ever wanted to know about Speech Recognition by Kevin D’Souza
4. The Programming Workflow Foundation: A Developer’s Primer by Janakiram
5. I don’t remember ….that was boring for me.. SORRY
I would like to summarize all these presentation as follows,
Programming WCF: A Developer’s Primer by Sanjoy Antony
I came to know some basics of WCF in this session( some was known to me already ), Summary can be given as follows,
Windows Communication Foundation(WCF) is a unification of the distributed communication technologies like .ASMX (i.e. Web Method),MSMQ,.NET Remoting, COM/COM+,WS*.Though it is new communication technology for distributed communication application that don’t say to through your already build application but you can use your existing application and leverage the new exciting technology for benefits of your organization/company.
Sanjoy showed How to develop a simple WCF Service:
Steps as follows
a) Create a Contract : contract is the Black box where you decide which method I am going to expose for client. Programmatically speaking Contract is an interface
b) Implement the Contract : Implement the methods defined in Contract in a class.
c) Write a configuration for the Service: You can write service configuration in app.config or in code.
This step defines the ABC(Address , Binding, Contract) for the service.
Address: Defines ‘WHERE’ is your service
Binding : Defines ‘HOW’ to access a service i.e. Which protocol, Transport and encoding am I using for service.
There are around 9 types of binding defined in WCF and if you don’t find it suitable to your application you can create your own Custom binding.
Contract : defines the method you are going to expose.(You have to just specify name of the Contract you have implemented in step 1)
d) Host your service: Microsoft has provided many options for hosting service. hosting options are as follows,
1) Host WCF service in Console Application
2) Host WCF service in Windows Form/WPF Form
3) Host WCF service in Windows Service
4) Host WCF service in IIS Server
5) Host WCF service in Windows Activation Service
Hosting process/application will listen for the request and pass the request to service.
e) Consume the WCF Service in Client application :
“EVERY THING IN WCF IS EXPLICIT” so please publish your service metadata before consuming the service.
programmatically speaking just add MEX endpoint in service configuration. Now to consume WCF service you need to create a proxy of the service at client side. You can do that using tool SVCUTIL or you can add service reference to your client project.(just right click the project and you will find “Add Service Reference option”),Yes proxy of the service is created !!! and you are ready to use WCF Service !!!! just access the service methods using the service object in client side.
WCF has very good features like-
1) Security
2) Reliability
3) Multiple bindings in one application
4) Integration with your existing distributed communication application.
WCF Syndication, AJAX and REST Services with .Net Framework 3.5 by Jankiram
Presentation and demo were really COOL !!! .
summary can be given as -
What I understood from ppt- REST stands for REpresentational State Transform and it provides a very effective way to use service of the website in your application using only URI of website SO SIMPLE
As most of us knows that Newton’s law of motion -”Every action has equal and opposite reaction” like on web every request to server has a response back to client. for example for error message you get a 404 page not found message, For successful completion of login you entered into new form etc….. REST use this concept only. we make use of the URI in our application and retrieve a response in XML/some other format return in response by server and process it in application.
Jankiram showed very COOL demo to show case a REST in WCF. He showed how to use a service of http://www.weather.com to get the Bombay’s weather on his windows form application. also showed how to use Virtual Earth Map in your web site and map some information to location.
Speaking Windows Vista - All you ever wanted to know about Speech Recognition by Kevin D’Souza
I am really very much impressed by Kevin’s demo ,presentation skill and handling audience(When I will understand it man I want to learn it asap !!!!!).
presentation started with showcasing very sexy feature of Windows Vista- Speech Recognition !!! yes Speech Recognition, you can command and control windows vista using your voice, but you need to train windows vista speech recognition system.
He also showed demo to command and control PDA device!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Kevin explained challenges for Speech recognition as follows,
1) Every person has different way of speaking(pitch -low/high) and accent.So it it becomes very difficult for computers/Speech Recognition system to understand & process voice.
2) Computer does not understand context.
3) We need to train the speech recognition system for proper outcomes.
for developer he showed how to add speech in your program using Sytem.Speech namnespace.
to convert text to speech there was only two lines of code in WPF, wasn’t that amazing?
The Programming Workflow Foundation: A Developer’s Primer by Janakiram
That was very basic demo of workflow foundation and he explained how windows workflow foundation is different from BizTalk server. He gave very good example to differentiate between BizTalk and workflow foundation, Example- If you like to drink coke every day then you have bunch of coke bottle in freez right. In this case coke bottle is Windows workflow Foundation and freez is your BizTalk server.
What I understood is-
BizTalk is application server where you can communicate with different application/different organization.
Windows Workflow Foundation is a framework for developing workflow based application. for example order processing application, HR operations etc.
In s/w architecture view point BizTalk is super set of the windows workflow foundation which has different types of adapters, management tools, administration tools and what not.. these tools are missing in window workflow foundation.
one interesting thing is BizTalk and Windows Workflow Foundation are developed by same team in Microsoft.
Something about Renaissance Hotel and convention center
Renaissance Hotel and convention center is at Pawai, Mumbai. For more information please visit
http://www.indianholiday.com/mumbai-bombay/hotels/five-star/hotel-renaissance.html