Skip to main content

Posts

Showing posts from May, 2011

Send Meeting Request to Outlook 2007 and Update Calendar

Today, I encountered a very interesting issue of sending the updating the User Outlook calendar with an Event(remember one of those project status meeting mails that PM sends and I bet you HATE it). One of the Alternatives is to use ICAL dll to send get the work done. This aricle details out, how this is done. However, I prefer to use the .net provided feature for implementing this functionality. When I talk of Microsoft, I am talking about using the Miscosoft.Office.Interop.Outlook dll (obtained by adding reference to the project from COM tab in Visual studio.)  Once that reference thing is done, the Code demonstrated below is used to send a mail and the recipients’’ calendar is automatically updated for the event.   As the code itself is heavily commented, I am not diving into any details here. In case of any further clarifications, you are always free to write to me. Hope it was Helpful, Till Next we Connect……………………. Happy Coding.

ASP.Net MVC –Understanding Controllers

Controllers   MVC controllers are responsible for responding to requests made against an ASP.NET MVC website. Each browser request is mapped to a particular controller.   A controller is a class that derives from the base System.Web.Mvc.Controller class. Because a controller inherits from this base class, a controller inherits several useful methods .The following doe depicts a controller      Figure-1   Understanding Controller Actions   A controller exposes controller actions. An action is a method on a controller that gets called when a particular URL is entered in the browser address bar.   For e.g. consider the following URL   http://localhost/TestController/Index/3   In the above example, Index () method is called on the TestController class. The Index () method is an example of a controller action.   Following are the considerations that need to be made while writing controller actions.   • A controller action must be a public method of a controller class.

WCF VS Other Distributed Communications Technologies

Today, after such a long time, I got to get back to one of my favourite topics, the WCF. There is a need for justification to select WCF over other exising communication technologies, for one of the requirements. After a lot of RnD, the link here provides the proof , why WCF is the BEST. Hope it proves useful.... Till next we connect..... Happy learning.