develop-mobile-apps-with-csharp-and-azure | The Book Contents - Develop Mobile Apps with C # and Azure | Form library

 by   adrianhall C# Version: 4.2.0 License: Non-SPDX

kandi X-RAY | develop-mobile-apps-with-csharp-and-azure Summary

kandi X-RAY | develop-mobile-apps-with-csharp-and-azure Summary

develop-mobile-apps-with-csharp-and-azure is a C# library typically used in User Interface, Form, Xamarin applications. develop-mobile-apps-with-csharp-and-azure has no bugs, it has no vulnerabilities and it has low support. However develop-mobile-apps-with-csharp-and-azure has a Non-SPDX License. You can download it from GitHub.

The Book Contents - Develop Mobile Apps with C# and Azure
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              develop-mobile-apps-with-csharp-and-azure has a low active ecosystem.
              It has 288 star(s) with 121 fork(s). There are 33 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              develop-mobile-apps-with-csharp-and-azure has no issues reported. On average issues are closed in 45 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of develop-mobile-apps-with-csharp-and-azure is 4.2.0

            kandi-Quality Quality

              develop-mobile-apps-with-csharp-and-azure has no bugs reported.

            kandi-Security Security

              develop-mobile-apps-with-csharp-and-azure has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              develop-mobile-apps-with-csharp-and-azure has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              develop-mobile-apps-with-csharp-and-azure releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of develop-mobile-apps-with-csharp-and-azure
            Get all kandi verified functions for this library.

            develop-mobile-apps-with-csharp-and-azure Key Features

            No Key Features are available at this moment for develop-mobile-apps-with-csharp-and-azure.

            develop-mobile-apps-with-csharp-and-azure Examples and Code Snippets

            No Code Snippets are available at this moment for develop-mobile-apps-with-csharp-and-azure.

            Community Discussions

            QUESTION

            How to enable migrations in Visual Studio for Mac
            Asked 2020-Feb-08 at 23:03

            I have Visual Studio for Mac and I'm trying to learn Xamarin with Azure using the following tutorial: https://adrianhall.github.io/develop-mobile-apps-with-csharp-and-azure/chapter3/server/

            At some point, I have to enable EF migrations. The tutorial says: Go to View -> Other Windows -> Package Manager Console.

            Unfortunately there is no Package Manager Console in Visual Studio for Mac... so how do you handle things like enable-migrations, add-migration or update-database on the Mac?

            ...

            ANSWER

            Answered 2019-Jan-28 at 18:07

            This is not currently supported with Visual Studio for Mac.

            There is a NuGet extensions addin that adds a PowerShell console to Visual Studio for Mac however the Entity Framework PowerShell commands are unlikely to work since they are typically Visual Studio specific. Also the PowerShell support is limited since it uses Pash, an open source clone of PowerShell, which is not fully implemented.

            If you are using Entity Framework 7 (or what they are calling Entity Framework Core) then you should be able to use the commands with the .NET Core command line.

            Source https://stackoverflow.com/questions/45382536

            QUESTION

            Best way to create user login in mobile app with azure
            Asked 2019-Mar-06 at 13:27

            I'm creating a Xamarin.forms mobile app with Azure. I have enabled Authentication/Authorization in Azure to protect the APIs in Backend.

            What I need is that to ask user to login with Facebook or Google and get some information of the user such as name, email and... and then save this data in a table as user information. I like to ask user just once for login and get the data and I don't need to keep the token provided by Facebook for example and refresh it always (which I red refreshing is not supported by Facebook), but also need to keep the user logged in and has access securely to Backend APIs. I am new in this and completely confused of using Azure AD, facebook and...

            What is the best way to do that? I have followed this tutorial and now am able to login with Facebook.

            ...

            ANSWER

            Answered 2019-Mar-06 at 13:27

            Maybe what you are looking for is Azure AD B2C (Business to Customer), which will provide facilities to allow your customers to create an account for your app, but also login with Facebook (see here) or Google (see here).

            Since Azure AD B2C implements OAuth2, integrating it in a Xamarin.Forms app by means of Xamarin.Auth should be possible (see here). Once you have acquired the OAuth2 token, you can include the token in the headers of your HTTP requests in the Authorization header with the Bearer type (see here)

            Source https://stackoverflow.com/questions/55019851

            QUESTION

            Azure Logout Async
            Asked 2018-Sep-12 at 08:05

            I am trying to force a logout from an azure server. If you click to logout and then click login, you're not prompted for your username/password it just logs you straight back in.

            I am writing a UWP application that connects to an Azure Webserver. If it is relevant you can see that when you Logout it removes the reference from the Windows Credential Manager and restores it as soon as you click you Login.

            My questions is essentially, what else do I need to remove to stop the app retrieving the previous credentials instead of prompting so a new user can sign in?

            ...

            ANSWER

            Answered 2018-Sep-12 at 08:05

            As is often the case forming the question on SO has led me to answer my own question.

            The login screen it gives you includes a webview that saves cookies. Forcing these to be cleared has solved my problem. I have also cleared the token cache although I don't think this actually solves the problem in all cases on its own.

            If I call this function before I invalidate the backend token then it works as intended and when clicking to login I am prompted for my username and password.

            Source https://stackoverflow.com/questions/52273281

            QUESTION

            Xamarin Forms Azure App Service ADAL Logout not working as expected
            Asked 2018-Sep-04 at 09:32

            We are currently writing a Xamarin Forms Azure Mobile application, using client flow, AAD authentication, refresh tokens etc. Most of this is working as expected. However, logging out of the application does not work properly. It completes the logout process for both Android and iOS - but upon redirection to the login screen, hitting sign in will never prompt the user with the Microsoft login as expected, it will sign them straight back into the app.

            To add a little bit of background, this app has been implemented as per Adrian Hall's book,

            current link: https://adrianhall.github.io/develop-mobile-apps-with-csharp-and-azure/

            with the above described options and configurations.

            I have also read through the 30 days of Zumo (also by Adrian Hall) blog on this, and every single post I can find on here relating to this.

            My current logout code is as follows:

            ...

            ANSWER

            Answered 2018-Feb-22 at 01:47

            We are currently writing a Xamarin Forms Azure Mobile application, using client flow, AAD authentication, refresh tokens etc. Most of this is working as expected. However, logging out of the application does not work properly.

            I assumed that if you use the server flow for logging with AAD, the logout processing may works as expected. As you described that you used client flow, since you have clear the client cache for token, I assumed that the issue may caused by the LoginAsync related (ADAL part) logic code, you need to check your code, or you could provide the logging related code for us to narrow this issue.

            Source https://stackoverflow.com/questions/48826462

            QUESTION

            Azure Mobile Service Offline Sync in Xamarin.Forms
            Asked 2018-Apr-30 at 18:37

            I've gone through instructions In this documentation To implement offline sync on my Xamarin.Forms client But when I pull data using sync table, I don't get the data presently in the cloud, Instead when I Read data using the normal table, I actually receive data normally, I don't understand, Here is my code to get data Using SYncTable :

            ...

            ANSWER

            Answered 2018-Apr-26 at 03:01

            AFAIK, the Incremental Sync request would look like this:

            Source https://stackoverflow.com/questions/49982253

            QUESTION

            how to Pull data with paramter using Azure Offline Sync?
            Asked 2018-Mar-07 at 03:53

            I have schema as below and I would like to know if I can get all the TaskCategoryMappings by CategoryId when I have to pulll all data. I went through the documentation here but I cant figure out how to do it ? All the examples are like this one based on UserId. but userid is used for also authentication and on the server side I already handle it fine to return only mappings belong to relevant user and i want in adition to filter by CategoryId?

            another SO sample is here also using userId Parameter Passing with Azure Get Service

            ...

            ANSWER

            Answered 2018-Mar-07 at 03:53

            According to your description, I checked this issue on my side and found that it could work as expected, you could follow the details below to check your code:

            Backend models:

            Source https://stackoverflow.com/questions/49135487

            QUESTION

            Navigating to a Page versus a View
            Asked 2018-Mar-04 at 11:20

            I am playing around with Xamarin.Forms (mvvm) with Prism and have noticed that some tutorials show navigating to another Page while others show navigating to a View.

            At a high level, I understand the literal difference... however I do not understand when I should use one over the other? I have an inclination that some of the reasoning is around dependencies, for example:

            A Page has the instance of User > navigate to a view = User is still present when the back operation is used... meanwhile if you want this same behavior in navigating to and from a page, you'll need to pass the instance around via parameters... Is this correct/the reasoning behind navigating to and from views instead of pages?

            ...

            ANSWER

            Answered 2018-Mar-04 at 11:20

            Technically, in pure MVVM, the ViewModel should know completely nothing about the View and vice versa. When you use Page First Navigation approach you violate the first sentence. Here is an example:

            Source https://stackoverflow.com/questions/49092225

            QUESTION

            How to debug "the given key was not present in the dictionary" when authenticating through webview with Azure and Xamarin
            Asked 2017-Nov-22 at 19:33

            I am trying to get server managed authentication working with Visual Studio Mobile Center. It uses Azure App Service Authentication. I was able to setup my Facebook Developer account to allow login, then configured it on Mobile Center, and when I go to the mobile center link for auth in a web browser, it works great.

            I setup the client side of the authentication identically to Adrian Hall's examples in his book: https://adrianhall.github.io/develop-mobile-apps-with-csharp-and-azure/chapter2/social/#adding-authentication-to-a-mobile-client

            When the webview pops up for facebook, it lets me enter credentials, but then crashes when I hit the submit button. This is the stack trace from the application output window:

            ...

            ANSWER

            Answered 2017-Apr-12 at 21:57
            1. Open the Azure Portal
            2. Find the resource group for your Mobile Center backend
            3. Open up the Mobile Apps resource
            4. Select Authentication / Authorization
            5. Check that the Token store is turned on.

            If it isn't, turn it on, save then restart and recheck.

            I think that's the problem. If not, get back to me here and we'll try something else.

            Source https://stackoverflow.com/questions/43349332

            QUESTION

            What is the Authentication flow in Azure Mobile Services? How Social tokens are handled?
            Asked 2017-Nov-10 at 08:20

            Before I worked with Aws Cognito and it is straightforward how the flow works but I am not able to understand the benefit Azure mobile services authentication. I followed this documentation but it confused me even more. When I use aws with facebook Login.

            • user logs in. I fetch the token and user information I pass this token to AWS cognito.
            • Cognito stores it for me and every time I come back to the app, I ask Cognito "hey cognito is my token still alive". Cognito verifies with facbeook. if yes continue, no ask user for authentication again. as described over here

              I expect similar behavior with Azure, is it not happening? why in the link tells me that I need to deal with IsExpired myself by extracting token pattern?

            And Other question, Azure is using also federated Identities If I understand, on Cognito I can see the users. where are they stored in azure, can I see them somehow or I need to store myself?

            ...

            ANSWER

            Answered 2017-Nov-10 at 08:20

            What is the Authentication flow in Azure Mobile Services? How Social tokens are handled?

            1. mobile client requests Azure mobile front ends (First time)

            2. It will redirect to social platform to login with user custom info.

            3. If it is vaild then identity provider token will be stored in Azure mobile platform

            4. Azure will get the userId or email info from the identity provider token then issue a token with expired time to mobile client and it will be stored in the mobile client.

            where are they stored in azure, can I see them somehow or I need to store myself?

            We could get the answer from App Service Token Store. We no need to store it ourselives.

            Internally, all these tokens are stored in your app’s local file storage under D:/home/data/.auth/tokens. The tokens themselves are all encrypted in user-specific .json files using app-specific encryption keys and cryptographically signed as per best practice. This is an internal detail that your app code does not need to worry about. Just know that they are secure.

            As you mentioned link, it is secured and it can be re-used when we can. Based on my experience, it is not security that to store the token in the client never expired.

            References:

            Architecture of Azure App Service Authentication / Authorization

            Source https://stackoverflow.com/questions/47201220

            QUESTION

            Xamarin facebook sdk for iOS causing app crash
            Asked 2017-Nov-07 at 14:08

            I am using xamarin facebook sdk for iOS in a xamarin project with shared code and forms UI along with Azure Mobile app backend. I am trying to do client flow login using this sdk but am not able to. The app crashes on device as soon as its launched. However, when using the similar approach on android side (using xamarin facebook sdk for android) everything works superb. My code is based on what Adrian Hall has suggested in his book. It works fine in simulator and opens up the web view for login but fails on device. Following is the code in iOS project:

            ...

            ANSWER

            Answered 2017-Nov-07 at 14:08

            I've found the solution to this issue. The issue is with info.plist. With sdk 4.6.0 and above the requirements in info.plist LSApplicationQueriesSchemes tag is only:

            Source https://stackoverflow.com/questions/47084208

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install develop-mobile-apps-with-csharp-and-azure

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/adrianhall/develop-mobile-apps-with-csharp-and-azure.git

          • CLI

            gh repo clone adrianhall/develop-mobile-apps-with-csharp-and-azure

          • sshUrl

            git@github.com:adrianhall/develop-mobile-apps-with-csharp-and-azure.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link