I am developing a Windows Phone7 App. In my app I need to show an advertisement. I am planning to use Microsoft's Ad Control for this.
Is it possible to show my own advertisements in the Ad Control. ?..
Is it possible to use OpenX ads in Ad Control ?
Thanks
The Microsoft Ad Control will only display Microsoft Ads, if you want to show your own Ads I would recommend something like the WP7 Unified Ad control, available from Codeplex (http://wpunifiedad.codeplex.com/)
The control allows you to specify which Ad providers are displayed, and the percentage chance that they are chosen. I don't believe that it currently supports OpenX Ads, but you can always raise that in the discussions on CodePlex.
I am using the control on the WP7 Apps that I have written (PayPhone Lite, LatinIslands Free and Bridges Free) and it works well.
HTH - Rupert.
Related
I need Azure AD users to be synced into my application, so I've been researching how to implement SCIM and configure Azure AD to work with it. My end goal is to have my application listed as the ones here: https://learn.microsoft.com/en-gb/azure/active-directory/saas-apps/tutorial-list, and to do this, it should support SSO + User provisioning.
The implementation is kind of straightforward as SCIM is a standard and I just need to implement a bunch of APIs complying with a specific contract, so this should work.
The problem I'm having, though, is I cannot find how to enable the "Provisioning" feature for my application. I've been reading the articles and watching the videos Microsoft provided (https://learn.microsoft.com/en-gb/azure/active-directory/app-provisioning/configure-automatic-user-provisioning-portal for instance) and it seems that when I click the Provisioning section in my app, I should be able to configure it. Unfortunately, I don't see the UI shown in the tutorials, so I suppose I've been missing some step that is not explained in the docs. Also, I'd expect to have somewhere to configure the base URL that should contain all endpoints required for the SCIM standard. I don't see this either, which confirms my feeling I'm missing something essential.
Here are the steps I've been taking:
Open the Azure portal
Create an enterprise app - Click on Enterprise applications, Create your own application, and Integrate any other application you don't find in the gallery (Non-gallery)
Once the application gets created, I can't see anything in the "Provisioning" settings
I found a solution to the problem I've described above. Unfortunately, I somehow the big blue "Get Started" button in the middle of the screen. When you click this button, the configuration I've been looking for appears and it is all good.
I'm trying to authenticate my silverlight application to get windows user name, which then I use to get some further information. Have looked it up, but the answers I found were about configuring the web service to get it. Is there a way, to get windows credentials strictly in Silverlight? I cannot find .Credentials, the only thing I see is .ClientCredentials, but apparently it doesn't show the required information. I am getting the string "System.ServiceModel.Security.UserNamePasswordClientCredential". It actually allows me to set up the name, not retrieve it. Also there is a web service called authentication.asmx, but as before it applies to other purposes. Neither do I have any web service I could reference to and configure them. Or am I missing something? Perhaps I can retrieve the windows credential by NTLM or Kerberos? I am using Visual Web Developer 2010 Express with Silverlight 5.
My Experience is that the Membership framework that is present in the asp.net world is not available in silverlight. In order to achieve something similar I had to implement a web service (WCF) that was directed at the domain's active directory (ldap) server. Silverlight is a very strict framework in terms of interoperability, its good for security but has some limitations.
I am not sure about your level of knowledge of the active directory but here is a link that deal with a lot of the possible operations and has sample C# code to go along.
http://www.codeproject.com/Articles/18102/Howto-Almost-Everything-In-Active-Directory-via-C#40a
I want to know how to embed ad frame into my WP7/WP7.1 application.
I also want to know places that I can get the ads from to put in the app.
Everything you need to know is provided right here by Microsoft. The control is included in the Windows Phone SDK and can be dropped right into your app (AdControl in the Visual Studio Toolbox).
You cannot directly control which ads are shown but you can influence it in some way (cited from FAQ):
As noted above, the most relevant ads will also be the most likely
ones to get you the most revenue. So the same advice holds true:
If your app is location-aware, provide that info to the Ad Control.
Set as many of the demographic targeting properties in the Ad Control as you can for each user.
Set the right category for the Ad Unit in pubCenter.
If you have a set of relevant ad keywords, set those in the Ad Control.
For more tutorials I strongly suggest a Google/Bing search as there are plenty of these.
Also, once you get the hang of using this AdControl, take a look at AdRotator (on CodePlex), as well as AdDuplex (AdDuplex.com). With AdRotator, you can rotate MS ads, Google ads, AdDuplex ads (to trade advertising other people's apps for them advertising yours). This can be beneficial to you, depending on what part of the world you are targeting. Not every country can see MS ads yet, so if you are targeting outside of MS's supported countries, this can help you. Also, you can configure AdRotator using an XML file on your web server, so you can change your ad mix by changing the XML file, and not have to push a new version of your app just to change ad mix.
We have a requirement to start a WPF application with specific parameters from a link in a browser.
We are wondering if this is possible?
As an alternative could we embed the web application in a WPF browser control, and read the values out of the html web page?
Several possibilities :
if you control the browser (i.e. if you are in an intranet scenario, and have the opportunity to deploy applications), you can :
create an activex or plugin that runs the application
register a new uri scheme to interpret the url of kind "yourapplication://yourarguments"
(complex): deploy a listening app ran under the user session, and from the webapplication, ask this listening app to run the target application
reduce the security of the browser (not recommended)
if you don't control the browser:
create a clickonce application... this involves a setup, but which does not require admin privilege
Moving to Silverlight also might be an option, depending on your needs. SilverLigth V5 (still in beta) notably adds the ability for an admin to control the rights of the application via a GPO
Note: My feelings is the later option (Silverlight) is far more preferable because it's a lot more cleaner and less security hole factor. However, it can only be done if your requirements fits into the SL features
It is not possible to call client app from a browser, previously it was possible from activex controls but for that you need to have a signed library, in wpf you can make browser based application but you cant embed your web app in it.
So partially you are correct if you used wpf app you will be able to launch application on client side but with browser it seems difficult until unless you make activex control
but still i am not 100% sure that with activex control you will be able to launch the app or not
Im currently working on registration of our application. Basically we have a simple concurrent licensing system so when the user logs in we store their computer name and logon name to uniquely identify them. This is done from a simple winforms app that allows us to retrieve this data.
We now have a brother silverlight project that must work in the same licensing. The situation being that if a user logs into the winforms app they will use one license and if they log in on our silverlight app it will still use the one license because they are accessing it from the same computer.
The problem is that we cannot retrieve the clients machine and logon name with the silverlight application.
Can anybody think of a way of handling this? Or am i going bout it totally the wrong way.
Thanks
Forms or Windows authentication.
Once authenticated you can retrieve anything you want (such as user claims, user profile...etc) which is provided through a web service. This of course mean you are communicating with some database somewhere.