Import mails from asp.net site to Outlook? - asp.net

I have an asp.net app where the user edits a table that generate some reports, and then mails them to his providers.
The client wants to edit this pregenerated emails from Outlook.
There is no Exchange Server.
Should i let download the reports generated, and then use outlook automation from the client side? Can I generate a (.pst?) file that the user could import using Outlook? Or maybe there is completely another way to solve the problem?

It depends on the level of "editing" required.
One of the things you may want to look it is the VSTO tools to write an outlook plug-in.
Beth Massi has a good blog article on "data controls within outlook add-ins"
http://blogs.msdn.com/b/bethmassi/archive/2009/12/21/build-wpf-data-controls-for-outlook-addins-easily-with-vs2010.aspx
There is also a lot of tutorials of the things that can be achieved through VSTO add-ins.
Msdn Article 1
Msdn Article 2
Msdn Article 3
Line Of Business Applications in VSTO
Of course these may not be of use to you depending on your circumstances, we would probably need more information on things like:
Format of the Report
editing being performed
Is the report embedded in the email body, or is it an attachment?
Hope this helps
Pete

Related

Edit in Word using Wopi and Office Online Server

I am working on a project where we have implemented content management with word.
We have some word files, that are being processed using OpenXML.
Users can open those files in two ways - download a copy or edit online. Online editing is implemented using Office Online Server and custom Wopi server, built based on this example.
Editing online works fine, but Word Online has limited features compared to desktop Word.
I am trying to build a functionality similar to Sharepoint, where user has 2 options - Edit in Word, Edit in Browser:
In Office Online Server I don't have such options, I can only edit in browser:
Even in edit mode Sharepoint provides a link for Edit in Word:
whereas Office Online Server does not have it:
My question is how it is implemented in Sharepoint?
In other words, am I missing something in Wopi server to enable it or Microsoft has built this functionality into Sharepoint, without the need of Wopi and/or OWA?
Any ideas would be appreciated!
To enable "Edit in Word" in Office Online Server when using a WOPI handler, you need to set the ClientUrl property in CheckFileInfo (and CheckFolderInfo if you implement that). ClientUrl should be set to a direct editable link for the document file, either WebDAV or FSHTTP, but you could even use a file:// link for testing.
When you set the ClientUrl property, Office Online behavior becomes very similar to OneDrive/SharePoint Online. The current WOPI documentation is a bit outdated, it lists this property under Unused and future properties, but there is nothing secret about it. I asked dochelp#microsoft.com, that is Microsoft's "Open Specifications Support" mailbox, mentioned in many of their presentations and publications about WOPI and Office Online.
Word Online Reading View:
Word Online Editing View after clicking OPEN IN WORD:
I'm pretty sure that the functionality (Edit in Word) is not part of the Office Online Server and that it doesn't utilize the WOPI protocol. In the previous versions of SharePoint, it was implemented using WebDAV and I guess this hasn't changed. If you want to support opening/editing/saving you should implement your own WebDAV server. You can save a lot of time if you use a pre-built server like one from ITHit. They also have a JS framework to support opening files from browser.
If you want a cheap, cross-browser alternative that will just invoke the editing apps I suggest you have a look at Office URIs.

Adding a Task in outlook 2013 using Asp.net Web Application

I have a asp.net Web App thru which i want to access Outlook 2013 and add/edit/delete outlook tasks.
I also have Exchange Server 2010.
I just do not know how to proceed with the solution. Do i need to use JavaScript API for Office OR EWS OR what...
Pls suggest...
For starters you can't access Outlook directly from a server/web application:
https://support.microsoft.com/en-us/kb/257757
You also cannot use the JavaScript API for Office as there is currently no support for task items.
Your only option is to use Exchange Web Services. Here's a good starting point:
https://msdn.microsoft.com/EN-US/library/office/jj900166(v=exchg.150).aspx
I have not tried to do this, so this is very general advice.
I would suggest reading up on EWS first, and then looking at the Javascript API for Office after that, if there are compelling reasons why EWS won't work in your scenario.
After that, the next question you need to answer is whether you want the server to do the communication with Exchange, or the client.
The server (the "code behind") might be a better choice if you need to incorporate data from other sources than user input (such as a database) into the user tasks, or vice versa.
If you are going to do this all via javascript on the client, then the Javascript API might also be an option, assuming the functionality is there.
Hope this helps.

Protecting Vidoes from downloading in asp.net

Language: C#
Skill: Beginner
Tool: Visual Studio 2010
Technology: ASP.NET 4.0 WebForms
Hello StackOverflow,
I intend to develop an asp.net web app for my final year project (to complete my bachelors degree) ,Scenario is that I want to allow users of the app to post videos(vidz) and these vidz can only be watched by the user who is allowed by the owner of the vidz ,further more the viewer should only be able to view the vidoes...
I came to know about the DRM solution of silverlight but i think its comes with some cost ,so for me its unaffordable..
it's a bit of a kludge but I used the approach below to protect images from being downloaded without the right cookie being set ... a variation could be used to hide the video from random attempts.
if you need to be really certain that it's protected then a solution like PlayReady is going to be the answer, but if you just need to avoid casual "fly-by" then this might be enough
http://blog.offbeatmammal.com/post/2006/06/30/Using-ASPNET-to-restrict-access-to-images.aspx
If you're using ASP.Net MVC I recommend you to take a look at this project:
http://mvcresumingactions.codeplex.com/
By adding authorization layer on top of your controller you can easily manage access to that controller based on your own logic (Like members who have access to that video). For more information about authorization you can take a look at:
http://nerddinnerbook.s3.amazonaws.com/Part9.htm
I know this is little bit generic but I hope this can give you some clue :-)

Create Subscription programmatically in Reporting Services

I need to create a subscription for my SSRS reports in an asp.net page.
I can show the reports in a reportviewer using Reporting.WebForms.
SSRS is on the another computer in my network. For reportviewer, I use "admin" and "pass" for credentials which is the SSRS machine's admin username and password and it's ok. And admin has all the roles for SSRS reports.
But when I try to createSubscription via ReportingService2006 web service I can't make it.
I'm not a professional nor amateur. searched the web a lot.
tried this and the odetocode version of this:
1. technet - something similar 1
But couldn't make it happen. Really appriciate any help. thx in advance.
An alternative would be to setup some of your reports using "Data driven subscriptions". I find its pretty easy to manage this if your going to be doing alot of updates to your report subscriptions. It will allow you to interact with user subscriptions via a custom SQL table.
You can find a MSDN tutorial on setup for Data driven subscriptions here
There is a good article and source code here, it's the best info on this topic I've found so far.
http://www.codeproject.com/Articles/36009/Programmatically-Playing-With-SSRS-Subscriptions
There is also a class reference here
http://msdn.microsoft.com/en-us/library/ms165967%28v=sql.90%29

Real time chat implementation for SharePoint

I have a client interested in a real time chat application for a SharePoint intranet portal to enable online interview style chat sessions.
Has anyone got reccomendations for a product on the Microsoft Stack that does this? Something that is integrated into SharePoint would be prefferable, but any ASP.NET product would suffice.
The solution would need to be pretty robust as we would expect over 1000 users during a given session.
Microsoft Office Communication Server is the way Microsoft intended chat for SharePoint. I dont know if its just for 1 to 1 communcation or if there is a good multi-user support.
Another way to implement chat (or IM) in SharePoint is to use Windows Live Messanger and the green precense icon which shows up to the left of all names in SharePoint. But this is probably not the way you want to use chat.
We initially turned to handy Windows Live Messanger, However we dropped it because of security concerning.
We are using Groove, which look advisable so far.
FYI
There is ChatterBox. It's more of a demo app but the source code is available. The latest version is dated 2007 and is in beta with AJAX support.
As you have the source code, I'm sure you could take it and turn it into something nice.
I did a little work into this but dropped it because it take alot work to implete all needed features.
The easiest way looked to use IRC. IRC client software is available as asp.net, use via an iframe or make into a custom web part, there are also flash or java clients which could be imbedded.
You would need to setup a IRC server.
There is a third party product for SharePoint 2010 called GameTime that supports real-time web based chat integrated into SharePoint.

Resources