Search Results

Search found 5 results on 1 pages for 'leg10n'.

Page 1/1 | 1 

  • Prevent azure subdomain indexation

    - by Leg10n
    Let me explain my situation, I have an azure website (with azurewebsites.net sub domain), and a custom domain.com, built with asp.net MVC Both are being indexed by Google, but I've noticed the custom domain is being penalized and it doesn't show up in results, it only shows when I search for "site:domain.com" I want to remove and block the azurewebsites.net subdomain from Google. I've read the "possible" solutions: Adding robots.txt: won't work, because the subdomain and the domain are the exact same content, so subdomain.azures.net/robots.txt will lead to domain.com/robots.txt, removing the domain as well. Adding the tag, is the same situation as the previous point. I'm using a CNAME register to redirect the domain to the subdomain, so I can't redirect to a sub directory. Do you have any other ideas?

    Read the article

  • Problems with video playback in iPad.

    - by Leg10n
    I'm trying to implement a MPMoviePlayerView but I can't play the video files, I don't have a device yet to try it on, now I'm testing with simulator, I don't know if this is the cause. So far I've been able to present the view and it shows the first frame of the video, but if I click play, it doesn't play I can move the progress bar and it shows the images, but there's no movement, it stays still. Has anyone experienced something like this? The code of my UIViewController goes like this: NSURL *movieURL=[NSURL fileURLWithPath:@"video.mp4"]; MPMoviePlayerViewController *playerView=[[MPMoviePlayerViewController alloc] initWithContentURL:movieURL]; [self presentMoviePlayerViewControllerAnimated:playerView]; As I said, it shows up, I can move the progress bar back and forth, I see a still image, but no movement. Am I missing something here? or is it the simulator? Thank you

    Read the article

  • How can I use MPTVOutWindow iPhone undocumented class?

    - by Leg10n
    Hi, I'm an iPhone developer, now I'm developing a game and I just found about the iPhone 2.2 being able to reproduce video on a TV Screen trhough MPTVOutWindow class. After googling I've found a lot of blogs with the News, however none of them give any information on the class, what should I do to implement the class in order to display ouput on the TV?

    Read the article

  • S#harp architecture mapping many to many and ado.net data services: A single resource was expected f

    - by Leg10n
    Hi, I'm developing an application that reads data from a SQL server database (migrated from a legacy DB) with nHibernate and s#arp architecture through ADO.NET Data services. I'm trying to map a many-to-many relationship. I have a Error class: public class Error { public virtual int ERROR_ID { get; set; } public virtual string ERROR_CODE { get; set; } public virtual string DESCRIPTION { get; set; } public virtual IList<ErrorGroup> GROUPS { get; protected set; } } And then I have the error group class: public class ErrorGroup { public virtual int ERROR_GROUP_ID {get; set;} public virtual string ERROR_GROUP_NAME { get; set; } public virtual string DESCRIPTION { get; set; } public virtual IList<Error> ERRORS { get; protected set; } } And the overrides: public class ErrorGroupOverride : IAutoMappingOverride<ErrorGroup> { public void Override(AutoMapping<ErrorGroup> mapping) { mapping.Table("ERROR_GROUP"); mapping.Id(x => x.ERROR_GROUP_ID, "ERROR_GROUP_ID"); mapping.IgnoreProperty(x => x.Id); mapping.HasManyToMany<Error>(x => x.Error) .Table("ERROR_GROUP_LINK") .ParentKeyColumn("ERROR_GROUP_ID") .ChildKeyColumn("ERROR_ID").Inverse().AsBag(); } } public class ErrorOverride : IAutoMappingOverride<Error> { public void Override(AutoMapping<Error> mapping) { mapping.Table("ERROR"); mapping.Id(x => x.ERROR_ID, "ERROR_ID"); mapping.IgnoreProperty(x => x.Id); mapping.HasManyToMany<ErrorGroup>(x => x.GROUPS) .Table("ERROR_GROUP_LINK") .ParentKeyColumn("ERROR_ID") .ChildKeyColumn("ERROR_GROUP_ID").AsBag(); } } When I view the Data service in the browser like: http://localhost:1905/DataService.svc/Errors it shows the list of errors with no problems, and using it like http://localhost:1905/DataService.svc/Errors(123) works too. The Problem When I want to see the Errors in a group or the groups form an error, like: "http://localhost:1905/DataService.svc/Errors(123)?$expand=GROUPS" I get the XML Document, but the browser says: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. -------------------------------------------------------------------------------- Only one top level element is allowed in an XML document. Error processing resource 'http://localhost:1905/DataServic... <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> -^ I view the sourcecode, and I get the data. However it comes with an exception: <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <code></code> <message xml:lang="en-US">An error occurred while processing this request.</message> <innererror xmlns="xmlns"> <message>A single resource was expected for the result, but multiple resources were found.</message> <type>System.InvalidOperationException</type> <stacktrace> at System.Data.Services.Serializers.Serializer.WriteRequest(IEnumerator queryResults, Boolean hasMoved)&#xD; at System.Data.Services.ResponseBodyWriter.Write(Stream stream)</stacktrace> </innererror> </error> A I missing something??? Where does this error come from?

    Read the article

  • Default.png images and iPad.

    - by Leg10n
    I'm about to submit my first iPad app, and I have 2 questions regarding to Default.png images. I would prefer a "splash screen" showing some artwork of my app, instead of the UI as if it was loaded, the app is a bit heavy and I've seen the users dispair when the UI is apparently loaded but it's not working. Does anyone know if apple is accepting apps with "splash screens"? I want to provide a Default-X.png for every orientation, I've read the iPad programming guide, my question is, is "Default-LandscapeLeft" a Default image rotated 90 degrees clockwise, and "Default-LandscapeRight" rotated 90 degrees counter clockwise? I'm asking this because I don't have an iPad yet to test this on. Thank you a lot in advance.

    Read the article

1