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
trigger: | |
- master | |
pool: | |
vmImage: 'windows-latest' | |
steps: | |
- script: dotnet restore | |
displayName: 'nuget is restoring' | |
- script: dotnet build --configuration $(buildConfiguration) |
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.Diagnostics; | |
using System.Linq; | |
using System.Text; | |
using Xamarin.Forms; | |
namespace MobileApp.Controls | |
{ | |
public class FeedSearchHandler : SearchHandler |
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
<FlyoutItem Title="Browse" Icon="tab_feed.png"> | |
<Tab> | |
<ShellContent ContentTemplate="{DataTemplate local:ItemsPage}" /> | |
</Tab> | |
</FlyoutItem> |
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
<TabBar> | |
<Tab Title="Browse" Icon="tab_feed.png"> | |
<ShellContent ContentTemplate="{DataTemplate local:ItemsPage}" /> | |
</Tab> | |
<Tab Title="About" Icon="tab_about.png"> | |
<ShellContent ContentTemplate="{DataTemplate local:AboutPage}" /> | |
</Tab> | |
</TabBar> |
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
<h3>{{data}}</h3> | |
<input type="text" [(ngModel)]="data" /> |
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
import { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule } from '@angular/core'; | |
import { FormsModule } from '@angular/forms'; | |
import { HttpClientModule } from '@angular/common/http'; | |
import { RouterModule } from '@angular/router'; | |
import { AppComponent } from './app.component'; | |
import { NavMenuComponent } from './nav-menu/nav-menu.component'; | |
import { HomeComponent } from './home/home.component'; | |
import { CounterComponent } from './counter/counter.component'; |
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
<Entity name="Product"> | |
<data name="Id" type="int" form="no"></data> | |
<data name="Title" type="string"></data> | |
<data name="Price" type="money"></data> | |
<data name="Description" type="string"></data> | |
<data name="Quantity" type="int"></data> | |
<data name="CreatedBy" type="foriegnKey"></data> | |
</Entity> |
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
static void WritingAnObject() | |
{ | |
try | |
{ | |
// simple object put | |
PutObjectRequest request = new PutObjectRequest() | |
{ | |
ContentBody = "this is a test", | |
BucketName = bucketName, | |
Key = keyName |
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
static void CreateABucket() | |
{ | |
try | |
{ | |
PutBucketRequest request = new PutBucketRequest(); | |
request.BucketName = bucketName; | |
var result = client.PutBucket(request); | |
if (result.HttpStatusCode == HttpStatusCode.OK) | |
{ | |
Console.WriteLine("Bucket created"); |
NewerOlder