This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Xamarin.Forms; | |
using System; | |
namespace lpains.Helpers | |
{ | |
public class LazyLoadedPage | |
{ | |
public string Title { get; set; } | |
public string Icon { get; set; } | |
public Page Page { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
x:Class="lpains.Views.MasterView" | |
Title="Menu"> | |
<ContentPage.Resources> | |
<Style x:Key="IconFA" TargetType="Label"> | |
<Setter Property="Margin" Value="5,5,5,5"/> | |
<Setter Property="FontSize" Value="20"/> | |
<Setter Property="WidthRequest" Value="27"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using FreshMvvm; | |
using lpains.Helpers; | |
using lpains.ViewModels; | |
using Xamarin.Forms; | |
namespace lpains | |
{ | |
public partial class App : Application | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "setting plist" | |
echo "setting CFBundleVersion to $(Build.BuildNumber)" | |
echo "setting CFBundleDisplayName to AppName" | |
echo "setting CFBundleIdentifier to com.Company.AppName" | |
export INFO="$BUILD_SOURCESDIRECTORY/Path/To/Info.plist" | |
/usr/libexec/PlistBuddy -c "set :CFBundleVersion $(Build.BuildNumber)" $INFO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<system.web> | |
<authentication mode="Windows" /> | |
</system.web> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IdentityModel.Services; | |
using System.IdentityModel.Tokens; | |
using System.Linq; | |
using System.Security.Claims; | |
using System.Web.Helpers; | |
namespace CustomAuth | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IdentityModel.Services; | |
using System.Security.Claims; | |
using System.Threading; | |
using System.Web; | |
namespace CustomAuth | |
{ | |
public class CacheCustomAuthenticationHttpModule : IHttpModule | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration> | |
... | |
<system.identityModel> | |
<identityConfiguration> | |
<claimsAuthenticationManager type="CustomAuth.CustomAuthenticationManager, CustomAuth" /> | |
</identityConfiguration> | |
</system.identityModel> | |
... | |
<system.webServer> | |
<modules> |
OlderNewer