VSTO add-in to interact with web api - vsto

I need a Word custom task pane that will interact with WebApi. What VSTO template should be used- Web add-ins or VSTO add-in?
The vsto template that create the custom pane using Window Form can interact with webapi in any special manner or using HttpClient?
Any help will be appreciated.

If you are talking about COM add-ins (VSTO) you can use any BCL classes for interacting with web services. So, you may consider your add-in as a regular .Net based application. For example, see How to call web Service in Excel Using VSTO.

Related

Office js addin: Can I send email from excel addin?

I am developing an excel add-in. Everything works fine but I would like to send the end result via email.
Is it possible to send a table range content with the outlook from excel addin?
Yes, it is possible. You can use the Exchange web services from your JS add-in. EWS is a SOAP based, XML protocol. There is no officially supported client libraries for JS, Outlook add-ins have built-in methods for making such calls. In case of Excel web add-ins you may consider using ews-javascript-api.
In case of Outlook add-ins you may find the Call web services from an Outlook add-in page helpful.

Add contacts to outlook using Outlook Addin

I am developing an outlook addin that syncs my application(abc) contacts with my outlook contacts. I am unable to do it using javascript.
You may use EWS or Outlook REST API from your web-based add-ins. See EWS Managed API, EWS, and web services in Exchange for more information.
Note, Mail Apps are run in the context of a particular Outlook item. That's why I'd recommend developing a COM add-in instead. It can be run with Outlook and handle a lot of actions that users do to keep in sync with your application all contacts. See Walkthrough: Creating Your First VSTO Add-In for Outlook to get started quickly.

How to upload a Windows Forms Application to a Web Page?

I have created a Windows Forms Application on Visual Studio with multiple forms that link together via button clicks. It also has a connection to an SQL Server which is used to store data that is entered into the textboxes and other controls.
Is there any possible way to host this application onto a Web Page?
No.
If you want to make the functionality available on the web you will have to rewrite the application as a web application.
You can use VB.net to code a web application so you would be able to reuse some of your existing code.

Using SharePoint Power Point Services out of the box in Asp.Net MVC

My legacy is application is developed using Sharepoint 2013, is there any way to have Power Point Service to shows BI stuffs in ASP.Net MVC application without Sharepoint.
any suggestions
No. That service is part of SharePoint and requires SharePoint Server.
It is , however, possible to connect your local PowerPoint to your database directly and have it generate data. You can then save that PowerPoint to a server and then use an iframe to point that page to the PowerPoint file.

New to InfoPath Forms 2007

I am new to InfoPath. My goal is to be able to develop Forms, exposed through Web, supporting Offline mode, submitted later on to Web Applications / Services, etc ...
Is the above doable with InfoPath? Do I need Form Services to run InfoPath? Can I use ASP.NET to host InfoPath forms, like any Web page ?
Books/Resources to start with?
Thank you
Regards
Yes, it is doable in Infopath. However, can you elaborate on offline mode ?
Infopath forms can either be opened in web browser or in Infopath Client. If you want the forms to open browser, you need Form Services which is nothing but Forms Server.
You can use ASP.NET to host infopath forms. However, if you want them to render in the browser itself, you will also need Forms server.
Check out Infopath developer Center:
http://office.microsoft.com/en-us/infopath/microsoft-infopath-2010-FX101825645.aspx