How to add video-ads? - c#

I have read that WP8 now supports video-ads.
Through the pubCenter I can only create Text / Image ads, but no video-ads.
Nowhere on the internet I could find any info on this. So how can I add video-ads to my app?

You don't choose a specific kind the advertises do that for you.
Here is an article about it
http://advertising.microsoft.com/en-us/blogpost/128708/microsoft-advertising-blog/microsoft-advertising-releases-new-ad-sdk-to-enable-enhanced-rich-media-experiences-on-window
Here is the MSDN Documentation for the new AD SDK
http://msdn.microsoft.com/en-US/library/advertising-mobile-windows-phone-sdk-intro(v=msads.20).aspx

Related

Umbraco 11 - Create media from Stream

I'm developing a package for the new Umbraco 11 version, In there I need to create media and get its URL using byte stream.
Seems it's a bit different from the older version such as version 7/8.
Can anybody suggest me way of doing it or clear documentation or an article that I can get some support?
I think you're looking for this example, it's from the official Umbraco 9+ docs: https://docs.umbraco.com/umbraco-cms/reference/management/services/mediaservice#creating-a-new-media-item-from-a-stream
I got the support from Umbraco forum for this issue and now it's solved. Please follow this URL
https://our.umbraco.com/forum/using-umbraco-and-getting-started/110866-umbraco-11-create-media-from-stream

Documentation for Web API in Windows Store apps (Metro apps)

I remember seeing a few months ago some documentation on MSDN for accessing a Web API from within a Windows Store app, with samples, but I cannot find this page anymore, and a Google search doesn't yield a single related result for MSDN.
Anyone know where the documentation for this is?
[nkvu - moving out of the comments and into answers in case anyone else is looking for a similar thing]
I don't know where it on MSDN but there seems to be a downloadable sample here. And docs here and here showing code but no downloadable sample.
Most of the System.Net.Http namespace which includes the HttpClient is available for Windows Store apps.
See http://msdn.microsoft.com/en-US/library/System.Net.Http.aspx

Using c# to call google translator

I have to write some C# code which will enable me to translate a text file saved on my computer, using Google Translator. I want to write code to do this, but i am not sure where to start. I am new to this topic, but I think i have to download Google Translator API, but I'm not sure where to download this from. Please help me with this problem.
There is actually an open source project hosted on CodePlex named "Free language translator and file converter"
Here is the link: http://languagetranslator.codeplex.com/
This also use Google Translator service. As it is open source you can always see how it works. :-)
Try this http://code.google.com/intl/en-US/apis/language/

Can Silverlight 3 OPEN SOCKETS?

Can Silverlight 3 OPEN SOCKETS?
If yes.
What do I need
MSDN if there is any help on this.
Open Source Libs/wrappers for encoding/decoding.
Tutorials and blog articles on How to do it.
If no I need where did you get the info from (link to MSDN or other official SL resource)
Yes, it can.
MSDN:
http://msdn.microsoft.com/en-us/library/cc296248(VS.95).aspxhttp://msdn.microsoft.com/en-us/library/cc645032(VS.95).aspx
One of the light libs you might find useful:
http://socketslight.codeplex.com
A couple of how-to-s:
http://weblogs.asp.net/dwahlin/archive/2008/04/13/pushing-data-to-a-silverlight-client-with-sockets-part-ii.aspx
http://www.silverlightshow.net/items/SocketsLight-Silverlight-Sockets-Framework.aspx
Yes, you can, but only within a certain range of ports (4502-4534) and only if you can also host an appropriate cross-domain policy file on port 943 on the same server.
You've already got the MSDN link - here's an example application (for SL2, but should be similar in 3):
[Pushing Data to a Silverlight Client with Sockets Part 1][1]
Search Dan's blog for "socket" and you can find part 2 and how to create the policy server - SO won't let me post more than 1 link :(
Here's the MSDN article on working with sockets:
Working with Sockets
Here's an article about using sockets in Silverlight and here is a link to framework simplifying that. Also a quick search on google will turn up useable results!

Automate Photoshop with C#

Looking for a way to add a background layer to existing photoshop files with c# code?
Any ideas?
Thanks
-c
Photoshop has a COM interface and here is a document on how to access it via C#.
The specifics of what you want to do will require a bit more digging into Photoshops actual documentation, but this will get you started.
For greater details, check out Adobes scripting guide and SDK information.
You should not have a problem today if you still searching a way to automate Photoshop:
https://helpx.adobe.com/photoshop/using/creating-actions.html

Categories