You are here:   Forum
Register   |  Login

Forum Notice

For new Visual Studio LightSwitch questions,
It is recommended that you use the official Visual Studio LightSwitch Forums at
:

http://social.msdn.microsoft.com/forums/en-US/lightswitch/threads


Forums

JayData consuming OData Lightswitch service with authentication
Last Post 05 Aug 2012 08:39 AM by martin.topping@gmail.com. 4 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
emtoppingUser is Offline
New Member
New Member
Send Private Message
Posts:2
Avatar

--
03 Aug 2012 03:15 PM
    Has anyone done anything with JayData and a LightSwitch OData service - struggling to find how to pass in username/password when using Forms authentication. I noticed Michael has seen it & indicated on their forum that he'd be doing a tutorial. It looks very powerful: http://jaydata.org/
    Michael WashingtonUser is Offline
    Send Private Message
    Posts:996
    Avatar

    --
    04 Aug 2012 12:55 AM
    I have not had a chance to try the latest version. I think it should work now. However, I am slammed for the next 3-4 weeks with other projects.
    -----------
    Michael Washington
    http://LightSwitchHelpWebsite.com
    PeterZentaiUser is Offline
    New Member
    New Member
    Send Private Message
    Posts:1
    Avatar

    --
    05 Aug 2012 02:04 AM
    LightSwitch can be used with JayData from version 1.0.5, refer to this: http://jaydata.org/blog/jaydata-1.0...t-and-more

    In a nutshell: JayData supports Basic authentication, this is in fact the authentication method LightSwitch endpoints used (despite called Forms). 

    We have a fully working version of our JayScrum (http://www.youtube.com/watch?v=NcGVJ0RGN4Q) reference product served by a LightSwitch version of the data store. We can have it publilshed in our example section by next week. I'll check back here when it is available from the download.
    Michael WashingtonUser is Offline
    Send Private Message
    Posts:996
    Avatar

    --
    05 Aug 2012 04:42 AM
    Thank you
    -----------
    Michael Washington
    http://LightSwitchHelpWebsite.com
    emtoppingUser is Offline
    New Member
    New Member
    Send Private Message
    Posts:2
    Avatar

    --
    05 Aug 2012 08:39 AM
    Peter, the app looks fantastic and it would be great to have access to its source. Thank you very much.
    You are not authorized to post a reply.


    Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

    I have a property on a HTML screen which is set to date. It displays the date time picker in the popup but when I close the popup with a button I would like to convert the date time from the picker to text format mm/dd/yyyy and I can not seem to find the proper javascript code to convert it. Is there any examples that some one could point me to. thanks leonard
    Read more...

    Hi, I made a small Lightswitch project with a Silverlight 5 UserControl. In the UC now i need a Storyboard and a DataTrigger, so I added the assemblies: * Microsoft.Expression.Effects 5.0.5 * Microsoft.Expression.Interactions 5.0.5 * System.Windows.Interactivity 5.0.5 in the UC I have: xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ia="http://schemas.microsoft.com/expression/2010/interactions" xmlns:e="http://schemas.microsoft.com/expression/2010/effects" and I define: <i:Interaction.Triggers> <ia:DataTrigger Binding="{Binding Blink}" Comparison="Equal" Value="true"> <ia:ControlStoryboardAction Storyboard="{StaticResource StoryBoardAlertRed}"/> </ia:DataTrigger> </i:Interaction.Triggers> when I start the project I get an annoying error: translated to english it is: the attachable property
    Read more...

    Using HTML Client A Tile List has an Item Tap event. I want to set a query parameter of a second query using the selected item in the tile list. Basically I have two queries that have a 1 to 1 relationship. The primary key of the selected item is to be used to select the record in the second query. The only parameter passed to me in the Item Tap event is the screen object. I need the Javascript syntax to get at the selected item's key field. I've created an local property data item to hold the second query's parameter. If I set that property to the correct value, it should find the related record in the second table. In other words I want the selection to cause the second query to do a related lookup. Thomas H. Lanier
    Read more...

    Allow me a brief description of the problem: My datasource currently links to one table and one view. I use the view to populate a screen with a tile list of all the rows, and programmatically add a flip switch to each row's tile. Upon clicking a button that runs a user-defined method, I use jQuery to run .each() on every select tag on the page to see if the flip switch has been set to true by the user. When it runs across a true switch, it is supposed to save the information from that row into the table. I'm getting stuck on that part, though. In the Silverlight version of Lightswitch, I was able to create a new row in VB/C# via an object and then commit it to the database. I am not having any luck trying to do the same in javascript/jQuery on my HTML client. I've tried a few different ideas (including attaching a local property of that table's type and then trying to assign data to the column names [so, NewRowProperty.NAME = 'Something', for example]) but no success. At
    Read more...

    I have added in the server project a class that inherits from MembershipProvider. This class is not in a namespace. I have also updated the Web.Config file. Below is what I wrote. <membership defaultProvider="MySQLAuthorizationProvider"> <providers> <clear /> <add name="MySQLMembershipProvider" type="MySqlAuthorizationProvider" connectionStringName="_IntrinsicData" applicationName="BarMOS" requiresUniqueEmail="false" requiresQuestionAndAnswer="false" /> </providers> When I run the solution from inside VS 2012 everything works fine. When I select to publish the wizard does not start and I see a message box informing me that: The following exception was thrown trying to publish: Could not load type 'MySQLAuthorizationProvider' from assembly 'System.Web, Version=4.0.0.0 etc etc etc. Notice that it looks for my provider in System.Web. How
    Read more...

    1234

    Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation