Connect to Exchange - Getting Started Tutorial? [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I need to connect to an Exchange-Server and to read some values, that a third party application stores there (BlackBerry Enterprise Server).
In my understanding I need to use CDO with C++ (C# doesn't seem to work this well in this regard). Is that right? I tried searching a little, but there seems to be lot of different approaches with a lot of different APIs and the whole topic confuses me a little.
Can anyone point me to some resources or tell me where to start?
Thanks!

You have a few options based on the version of Exchange you are using.
If you are running Exchange 2007
Exchange Web Services - Language agnostic approach to communicating with Exchange and the primary method moving forward. Googling EWS will return lots of good hits with tutorials and information in addition to the numerous books.
An example from Microsoft
If you are running Exchange 2003 or earlier
WebDAV is a simple way to access Exchange as Marc recommend. There are lots of good tutorials on the web for it as well. It is also language agnostic like EWS.
Dan's WebDAV 101 Blog - a blog I've used in the past for WebDAV & EWS info.
Any version of Exchange
If C++ is an option, there's also MAPI. If you're not familiar with MAPI programming, it's going to be a little bit of a learning curve, but you can do just about anything to a mailbox and it's contents. MAPI isn't supported in C#.

It's been at least three years since I worked on this problem, but it seemed to me like the best solution was C# with WebDAV. Rather than try to explain code I don't really remember, here's a link to a tutorial I wrote at the time. Definitely check out the links at the end, I remember they were very helpful in understanding how the technology worked.

Thanks for the answers guys!
However I ended up downloading a little tool called MFCMapi from codeplex and using the provided source code as a guide on how to do things.

Related

Do Microsoft provide an official, up to date (for 2018) reference for interfacing a windows service with Teams via a bot (avoiding Azure)? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I appreciate that this question might look at first glance like it's off topic, but if you think it is, please read the paragraphs after the horizontal rule.
I'm seeking to create a windows service that performs some monitoring and alerting, and I'd like the alerts to be a Teams bot announcing to a channel
I'm thus looking for the current official reference material that outlines how to set about creating this. At the moment all I'm finding is Azure based stuff (don't want to create the bot in Azure - this has to be an on-machine app that chats in Teams) or things that seem to be old (recommending installation e.g. v3 of the Bot Framework, yet when I go to NPM in VS, I find v4).
Additionally, what I've read so far says that the bot needs to be registered somewhere (externally, with Microsoft/Azure?) before it will even work, though this registration can be private - when I say I want to avoid Azure, if this registration step is with some Azure based service and it's unavoidable then it will have to be thus; I'm just specifically aiming to avoid external services as much as possible
In summary my question is: where do I find the most up to date (for 2018) official (Microsoft blog or MSDN) guidance for connecting a C# windows forms/windows service based app to Teams, so it can use teams as an output channel for the results of its monitoring (or maybe accept commands and respond with monitoring results)?
Reference the close votes:
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
This question is asking for a link to official documentation on a particular software provision/facility published by Microsoft. I don't see scope for opinion/spam on this - it's not a "what's the best library to read an excel file without excel installed?" and is thus free of opinion/cannot have spam answers; an answer either links to the current MS documentation or it doesn't.
I've kept closely to SO's mantra of "we prefer questions that can be answered, not just discussed" - this question can definitely be answered. Either there is official documentation (where?) or there isn't (ok then)
I've described the problem:
I don't seem able to find the documentation I'm looking for
I've described what has been done so far:
I've read every resource I've turned up on google and haven't found anything that relates to the V4 Bot Framework SDK, API, or a set of docs pertaining to creating a bot outwith Azure
Please have a look at Microsoft Teams concepts documentaiton. Office 365 Connectors are a great way to push your app's rich content into Microsoft Teams.
You can reach out to Microsoft Teams developer support alias mentioned in the feedback documentation for general questions.

Video Conference via C# [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have searched for various samples online but I'm unable to find a suitable sample which is able to provide enough information.
I have tried Microsoft Expression Encoder, but the delay is too huge if I use broadcast method.
Directshow.net wise, the sample DxWebCam seems promising, but it lacks audio sample.
The idea I had in my mind is to send audio and video (frames) separately via TCP (or maybe UDP as highlighted by #macbral) but I am not sure how to handle synchronisation.
I'm looking at free samples as the current design is a 1 to 1 video conference via intranet.
Thanks for any help in advance.
I've been looking for the same and have given up on open source alternatives since none of those seem to work well from .NET.
I'm currently evaluating products from StreamCoders which looks promising: http://www.streamcoders.com/
You can check ConferenceXP (a bit old project, but made simple conferences with it myself, after converting code to new visual studio/framework). To encode video, make more advanced streams- you can work with VLC api or Expression Encoder. Also you can try microsoft live messanger api (As i remember they have conferences in it).
PS there also is Skype api, but havent even seen it, so can say nothing about using it..You can research it too.

What to use for writing blog in my website [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I want to develop my blog website in ASP.NET. What could be the best way I can write my blog through?
I mean will Tiny MCE work for me, last time when I used it I faced terrible formatting issues. Because my blog will include code, different formatting, pictures etc. Please suggest me how to post blog?
I am using ASP.NET 3.5 and SQL Server 2005.
Why write your own from scratch? Take a look at Orchard CMS. It's an opensource .NET CMS being developed with help from Microsoft http://www.orchardproject.net/
Its fairly new, so there's still some features missing, but its really easy to get setup and since you're a .NET developer you can add your own functionality.
I agree with Jamiegs. Blogging is by and large a solved problem. Why not use an existing package? Most packages will include much more than anything you'd put together in your spare time not to mention that you'll benefit from all of the field testing too.
I settled on hosted Wordpress and just pointed my domain there. Hosted Wordpress is somewhat more limited than self-hosted (you can't install your own themes, etc...) but I've hardly found it restrictive. Their documentation around the various shortcodes for displaying source code or embedding maps is pretty complete.
I have been using Obout's html editor almost a year now without any problems. http://obout.com/editor_new/sample_full.aspx . Ajax Toolkit has free lite version of Obout's editor.

Defensive programming against malicious attacks [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
The company that I work for is redeveloping an in-house product for external use.
The product will initially be developed in C# using WPF, then ported to Silverlight.
One of the focus points is coding against malicious attacks e.g. SQL injection etc.
Questions:
Can anyone recommend URLs pointing to articles on security 'best practices'.
Can anyone recommend an analysis tool for analysing the code to identify weaknesses. We would, if possible, like to include the tool in our continuous integration scripts.
The best resource I've found is here:
http://www.owasp.org/index.php/Main_Page
Within that site, I would start here:
http://www.owasp.org/index.php/Top_10_2007
The top 10 is for web site vulnerabilities, but the concepts apply to all types of apps. In my personal opinion, you really can't do better for a starting point when it comes to learning about secure coding.
This site provides best practices, tools, and really makes everything understandable regardless of your skill level.
*Added *
Another good resource is the MSDN documentation, since your question is tagged as C#.
http://msdn.microsoft.com/en-us/library/ms998408.aspx
Try the following article on MSDN: Security (How Do I in C#).
I guess starting with secure development would mean three steps:
Identify and understand the big picture: what may go wrong
This means understanding the technical aspects of a vulnerability and how it helps making things go wrong.
Typically, I'd go with the OWASP's Top 10 web application security vulnerabilities (google: owasp top 10 2007).
If you don't understand it, then, please, ask for guidance. Understanding such a document doesn't directly tells you how to build secure code but it is a good indicator on your level of understanding on secure development.
Find good general practices that lead to secure development
While many documents tell you how things may go wrong, few resources actually tell you how to avoid them in a general way.
Currently, I'd mostly recommend these resources:
David Rook's "Secure Development principles" (google: david rook principles of secure development)
OWASP's Top 10 vulnerabilities protection section pages (each entry is clickable on the online version of the Top 10)
Find resources tailored for your technology
Get access to resources that tell you "how to do this" in a language that you speak. Typically, C#. The MSDN portal provides developers with many security checklists (http://msdn.microsoft.com/en-us/library/ms998408.aspx).
Finally, get into it: connect to regular input on application security, find blogs, read news (build Google alerts with some vulnerabilities names or words such as 'application security' or 'secure development') and see what happens.
Hope it helps.
sb
PS: sorry for the 'google' links, I am a new user and can only post 1 url in my answers :(

C# simple open source application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
C# simple open source desktop application to learn from?
I'm trying to learn C#, but most of the times I found tutorials for non programmers which are pretty boring, or comparission with other lenguages.
I tried to compile an application that look nice enough as to call my attention and simple enough ( at first glance ) as to be understood by me, but it turns out it was developed in Mono.
I've downloaded VS for C# express edition in the past, but didn't knew what to do next with it.
So my question is:
Does anyone knows about a simple open source Windows Application developed in C# I can learn from?
It doesn't have to be too simple, but most of the ones I've looked so far are pretty complex, since they are production ready.
Thanks
If you dont mind wpf, try BabySmash
These aren't desktop applications but they are good open source web applications done mostly in C# that you could learn from.
http://www.asp.net/community/projects/
Have you tried looking at SourceForge or Code Project?
check out http://www.codeplex.com
There are a lot of sample apps for both winforms and WPF over at windowsclient.net. I'm not sure I would call any of them a reference application, but there sure are a lot of them. :)
I've had tremendous luck with Microsoft's SharePoint, and extending it was a lot of fun and very educational WRT c# and learning to use it. Check out pilothouseconsulting's development dvd for a lot of good initial information on setting up a debugger and such.
A very simple command line grep tool I put on google code. You may find that interesting.

Categories