SlideShare a Scribd company logo
1 of 31
http://vic.ms
vitorcia@microsoft.com
var stringDeConexao =
"Server=tcp:u06ud2z4qy.database.windows.net;Database=meubancodedados; User
ID=vitor@u06ud2z4qy;Password=Pa$$w0rd;Trusted_Connection=False;
Encrypt=True;MultipleActiveResultSets=True;";

using (var conexao = new SqlConnection(stringDeConexao))
{
    conexao.Open();
    using (var comando = conexao.CreateCommand())
    {
      comando.CommandText = "select count(*) from TabelaX";
      var resultado = comando.ExecuteScalar();
    }
}
http://<conta>.blob.core.windows.net/<container>/<nomeDoBlob>



                                                                Pages/
              Conta         Container           Blob
                                                                Blocks

                                              img01.jpg

                              imagens                           Block/Page

                                              img02.jpg

              conta
                                                                Block/Page


                               videos          vid1.avi
var stringDeConexao =
"DefaultEndpointsProtocol=https;AccountName=techedvc;AccountKey=iqFj1tz09TW
hIqfBls++q/cSUNTsklL0Yehxx525LQQb8Cy4IvvIpdsfg+/DMcm+3NHOkA1hS0InGy2A7iug==
";
var nomeDoContainer = "Arquivos";
var nomeDoArquivo = "Pasta1/Pasta2/MeuArquivo.txt";
var contaDeStorage = CloudStorageAccount.Parse(stringDeConexao);
var clienteDoBlob = contaDeStorage.CreateCloudBlobClient();
var container = new CloudBlobContainer(nomeDoContainer.ToLower(),
clienteDoBlob);

container.CreateIfNotExist();

var blobTexto = container.GetBlobReference(nomeDoArquivo.ToLower());
blobTexto.UploadText("Conteudo do arquivo");
Memória



 Rede



 Disco
<dataCacheClients>
  <dataCacheClient name="default" maxConnectionsToServer="1">
    <hosts>
      <host name="techedvc.cache.windows.net" cachePort="22233" />
    </hosts>
    <securityProperties mode="Message">
      <messageSecurity
authorizationInfo="YWNzOmh0dHBzOi8vdGVjaGVkdmMtY2FjaGUuYWNjZXNzY29
udHJvbC53aW5kb3dzLm5ldC9XUkFQdjAuOS8mb3duZXImbWc1ZDUrV1dUSEV1aGlOa
UhHQ1VmTHU5a2pqMmxEbC9GMXNlT1lXMVpSND0maHRcDovL3RlY2hlZHZjLmNhY2hl
LndpbmRvd3MubmV0">
      </messageSecurity>
    </securityProperties>
  </dataCacheClient>
</dataCacheClients>
<configuration>
  <system.web>
    <sessionState mode="Custom"
customProvider="DistributedSessionProvider"
                                compressionEnabled="false">
      <providers>
        <add name="DistributedSessionProvider"
type="Microsoft.Web.DistributedCache.DistributedCacheSessio
nStateStoreProvider,Microsoft.Web.DistributedCache"
cacheName="default" applicationName="Contoso"
useBlobMode="false"/>
      </providers>
    </sessionState>
  </system.web>
</configuration>
var cacheFactory = new DataCacheFactory();
var meuCache = cacheFactory.GetDefaultCache();

var chave = "DataAtual";
var objetoCacheado = meuCache.Get(chave);

if (objetoCacheado != null)
{
    var valor = (DateTime)objetoCacheado;
}
else
{
    var valor = DateTime.Now.Date;

    meuCache.Put(chave, valor, TimeSpan.FromSeconds(15));
}
Windows Azure 2/8 - Recursos básicos do Windows Azure
Windows Azure 2/8 - Recursos básicos do Windows Azure

More Related Content

Viewers also liked

Advanced cloud services development (PaaS)
Advanced cloud services development (PaaS)Advanced cloud services development (PaaS)
Advanced cloud services development (PaaS)Vitor Ciaramella
 
The road to Smarter Computing by Gary Barnett
The road to Smarter Computing by Gary BarnettThe road to Smarter Computing by Gary Barnett
The road to Smarter Computing by Gary BarnettKarl Roche
 
Birth of a Trend - cycle chic
Birth of a Trend - cycle chicBirth of a Trend - cycle chic
Birth of a Trend - cycle chicKarl Roche
 
Optimized Systems: Matching technologies for business success.
Optimized Systems: Matching technologies for business success.Optimized Systems: Matching technologies for business success.
Optimized Systems: Matching technologies for business success.Karl Roche
 
Windows Azure 5/8 - Recursos adicionais do Windows Azure
Windows Azure 5/8 - Recursos adicionais do Windows AzureWindows Azure 5/8 - Recursos adicionais do Windows Azure
Windows Azure 5/8 - Recursos adicionais do Windows AzureVitor Ciaramella
 
The inside of Nespresso capsules
The inside of Nespresso capsulesThe inside of Nespresso capsules
The inside of Nespresso capsuleslarskflem
 
El Lince, animal en peligro
El Lince, animal en peligroEl Lince, animal en peligro
El Lince, animal en peligromichael.gonzalez
 

Viewers also liked (11)

Advanced cloud services development (PaaS)
Advanced cloud services development (PaaS)Advanced cloud services development (PaaS)
Advanced cloud services development (PaaS)
 
The road to Smarter Computing by Gary Barnett
The road to Smarter Computing by Gary BarnettThe road to Smarter Computing by Gary Barnett
The road to Smarter Computing by Gary Barnett
 
Skaul Outline
Skaul OutlineSkaul Outline
Skaul Outline
 
Birth of a Trend - cycle chic
Birth of a Trend - cycle chicBirth of a Trend - cycle chic
Birth of a Trend - cycle chic
 
Optimized Systems: Matching technologies for business success.
Optimized Systems: Matching technologies for business success.Optimized Systems: Matching technologies for business success.
Optimized Systems: Matching technologies for business success.
 
Windows Azure 5/8 - Recursos adicionais do Windows Azure
Windows Azure 5/8 - Recursos adicionais do Windows AzureWindows Azure 5/8 - Recursos adicionais do Windows Azure
Windows Azure 5/8 - Recursos adicionais do Windows Azure
 
The inside of Nespresso capsules
The inside of Nespresso capsulesThe inside of Nespresso capsules
The inside of Nespresso capsules
 
El lince
El linceEl lince
El lince
 
student
studentstudent
student
 
Start
StartStart
Start
 
El Lince, animal en peligro
El Lince, animal en peligroEl Lince, animal en peligro
El Lince, animal en peligro
 

Similar to Windows Azure 2/8 - Recursos básicos do Windows Azure

Azure Table Storage: The Good, the Bad, the Ugly (15 min. lightning talk)
Azure Table Storage: The Good, the Bad, the Ugly (15 min. lightning talk)Azure Table Storage: The Good, the Bad, the Ugly (15 min. lightning talk)
Azure Table Storage: The Good, the Bad, the Ugly (15 min. lightning talk)Sirar Salih
 
Azure Table Storage: The Good, the Bad, the Ugly (full talk)
Azure Table Storage: The Good, the Bad, the Ugly (full talk)Azure Table Storage: The Good, the Bad, the Ugly (full talk)
Azure Table Storage: The Good, the Bad, the Ugly (full talk)Sirar Salih
 
Eclipse Development with Microsoft Azure
Eclipse Development with Microsoft Azure Eclipse Development with Microsoft Azure
Eclipse Development with Microsoft Azure Brian Benz
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAAiman Hud
 
Talk about html5 security
Talk about html5 securityTalk about html5 security
Talk about html5 securityHuang Toby
 
HTML5, The Open Web, and what it means for you - MDN Hack Day, Sao Paulo
HTML5, The Open Web, and what it means for you - MDN Hack Day, Sao PauloHTML5, The Open Web, and what it means for you - MDN Hack Day, Sao Paulo
HTML5, The Open Web, and what it means for you - MDN Hack Day, Sao PauloRobert Nyman
 
.NET Fest 2017. Михаил Щербаков. Механизмы предотвращения атак в ASP.NET Core
.NET Fest 2017. Михаил Щербаков. Механизмы предотвращения атак в ASP.NET Core.NET Fest 2017. Михаил Щербаков. Механизмы предотвращения атак в ASP.NET Core
.NET Fest 2017. Михаил Щербаков. Механизмы предотвращения атак в ASP.NET CoreNETFest
 
Client-side JavaScript
Client-side JavaScriptClient-side JavaScript
Client-side JavaScriptLilia Sfaxi
 
13-IntroJavascript.pptx
13-IntroJavascript.pptx13-IntroJavascript.pptx
13-IntroJavascript.pptxsuchita74
 
13-IntroJavascript.pptx
13-IntroJavascript.pptx13-IntroJavascript.pptx
13-IntroJavascript.pptxssuserd695d1
 
13-IntroJavascript.pptx
13-IntroJavascript.pptx13-IntroJavascript.pptx
13-IntroJavascript.pptxShilpaBhojne
 
HTML5 & The Open Web - at Nackademin
HTML5 & The Open Web -  at NackademinHTML5 & The Open Web -  at Nackademin
HTML5 & The Open Web - at NackademinRobert Nyman
 
Single page webapps & javascript-testing
Single page webapps & javascript-testingSingle page webapps & javascript-testing
Single page webapps & javascript-testingsmontanari
 
Hdv309 - Real World Sandboxed Solutions
Hdv309 - Real World Sandboxed SolutionsHdv309 - Real World Sandboxed Solutions
Hdv309 - Real World Sandboxed Solutionswoutervugt
 
WebSockets Jump Start
WebSockets Jump StartWebSockets Jump Start
WebSockets Jump StartHaim Michael
 
Basic Unit Testing with Mockito
Basic Unit Testing with MockitoBasic Unit Testing with Mockito
Basic Unit Testing with MockitoAlexander De Leon
 
Video WebChat Conference Tool
Video WebChat Conference ToolVideo WebChat Conference Tool
Video WebChat Conference ToolSergiu Gordienco
 
Devoxx 2014-webComponents
Devoxx 2014-webComponentsDevoxx 2014-webComponents
Devoxx 2014-webComponentsCyril Balit
 

Similar to Windows Azure 2/8 - Recursos básicos do Windows Azure (20)

Azure Table Storage: The Good, the Bad, the Ugly (15 min. lightning talk)
Azure Table Storage: The Good, the Bad, the Ugly (15 min. lightning talk)Azure Table Storage: The Good, the Bad, the Ugly (15 min. lightning talk)
Azure Table Storage: The Good, the Bad, the Ugly (15 min. lightning talk)
 
Azure Table Storage: The Good, the Bad, the Ugly (full talk)
Azure Table Storage: The Good, the Bad, the Ugly (full talk)Azure Table Storage: The Good, the Bad, the Ugly (full talk)
Azure Table Storage: The Good, the Bad, the Ugly (full talk)
 
Eclipse Development with Microsoft Azure
Eclipse Development with Microsoft Azure Eclipse Development with Microsoft Azure
Eclipse Development with Microsoft Azure
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
Talk about html5 security
Talk about html5 securityTalk about html5 security
Talk about html5 security
 
HTML5, The Open Web, and what it means for you - MDN Hack Day, Sao Paulo
HTML5, The Open Web, and what it means for you - MDN Hack Day, Sao PauloHTML5, The Open Web, and what it means for you - MDN Hack Day, Sao Paulo
HTML5, The Open Web, and what it means for you - MDN Hack Day, Sao Paulo
 
.NET Fest 2017. Михаил Щербаков. Механизмы предотвращения атак в ASP.NET Core
.NET Fest 2017. Михаил Щербаков. Механизмы предотвращения атак в ASP.NET Core.NET Fest 2017. Михаил Щербаков. Механизмы предотвращения атак в ASP.NET Core
.NET Fest 2017. Михаил Щербаков. Механизмы предотвращения атак в ASP.NET Core
 
Client-side JavaScript
Client-side JavaScriptClient-side JavaScript
Client-side JavaScript
 
13-IntroJavascript.pptx
13-IntroJavascript.pptx13-IntroJavascript.pptx
13-IntroJavascript.pptx
 
13-IntroJavascript.pptx
13-IntroJavascript.pptx13-IntroJavascript.pptx
13-IntroJavascript.pptx
 
13-IntroJavascript.pptx
13-IntroJavascript.pptx13-IntroJavascript.pptx
13-IntroJavascript.pptx
 
HTML5 & The Open Web - at Nackademin
HTML5 & The Open Web -  at NackademinHTML5 & The Open Web -  at Nackademin
HTML5 & The Open Web - at Nackademin
 
Blockly
BlocklyBlockly
Blockly
 
Single page webapps & javascript-testing
Single page webapps & javascript-testingSingle page webapps & javascript-testing
Single page webapps & javascript-testing
 
Hdv309 - Real World Sandboxed Solutions
Hdv309 - Real World Sandboxed SolutionsHdv309 - Real World Sandboxed Solutions
Hdv309 - Real World Sandboxed Solutions
 
WebSockets Jump Start
WebSockets Jump StartWebSockets Jump Start
WebSockets Jump Start
 
Basic Unit Testing with Mockito
Basic Unit Testing with MockitoBasic Unit Testing with Mockito
Basic Unit Testing with Mockito
 
Video WebChat Conference Tool
Video WebChat Conference ToolVideo WebChat Conference Tool
Video WebChat Conference Tool
 
Yammer Api SDK
Yammer Api SDKYammer Api SDK
Yammer Api SDK
 
Devoxx 2014-webComponents
Devoxx 2014-webComponentsDevoxx 2014-webComponents
Devoxx 2014-webComponents
 

More from Vitor Ciaramella

Business Process Management (BPM) CBOK - Microsoft - Vitor Ciaramella
Business Process Management (BPM) CBOK - Microsoft - Vitor CiaramellaBusiness Process Management (BPM) CBOK - Microsoft - Vitor Ciaramella
Business Process Management (BPM) CBOK - Microsoft - Vitor CiaramellaVitor Ciaramella
 
Oportunidades de negócio na Plataforma Microsoft
Oportunidades de negócio na Plataforma MicrosoftOportunidades de negócio na Plataforma Microsoft
Oportunidades de negócio na Plataforma MicrosoftVitor Ciaramella
 
Microsoft research e inovação
Microsoft research e inovaçãoMicrosoft research e inovação
Microsoft research e inovaçãoVitor Ciaramella
 
Windows Azure 8/8 - Como continuar aprendendo
Windows Azure 8/8 - Como continuar aprendendoWindows Azure 8/8 - Como continuar aprendendo
Windows Azure 8/8 - Como continuar aprendendoVitor Ciaramella
 
Windows Azure 7/8 - Benefícios da Parceria Microsoft
Windows Azure 7/8 - Benefícios da Parceria MicrosoftWindows Azure 7/8 - Benefícios da Parceria Microsoft
Windows Azure 7/8 - Benefícios da Parceria MicrosoftVitor Ciaramella
 
Windows Azure 1/8 - Visão geral do Windows Azure
Windows Azure 1/8 - Visão geral do Windows AzureWindows Azure 1/8 - Visão geral do Windows Azure
Windows Azure 1/8 - Visão geral do Windows AzureVitor Ciaramella
 
Windows Azure 0/8 - Treinamento de Windows Azure
Windows Azure 0/8 - Treinamento de Windows AzureWindows Azure 0/8 - Treinamento de Windows Azure
Windows Azure 0/8 - Treinamento de Windows AzureVitor Ciaramella
 

More from Vitor Ciaramella (7)

Business Process Management (BPM) CBOK - Microsoft - Vitor Ciaramella
Business Process Management (BPM) CBOK - Microsoft - Vitor CiaramellaBusiness Process Management (BPM) CBOK - Microsoft - Vitor Ciaramella
Business Process Management (BPM) CBOK - Microsoft - Vitor Ciaramella
 
Oportunidades de negócio na Plataforma Microsoft
Oportunidades de negócio na Plataforma MicrosoftOportunidades de negócio na Plataforma Microsoft
Oportunidades de negócio na Plataforma Microsoft
 
Microsoft research e inovação
Microsoft research e inovaçãoMicrosoft research e inovação
Microsoft research e inovação
 
Windows Azure 8/8 - Como continuar aprendendo
Windows Azure 8/8 - Como continuar aprendendoWindows Azure 8/8 - Como continuar aprendendo
Windows Azure 8/8 - Como continuar aprendendo
 
Windows Azure 7/8 - Benefícios da Parceria Microsoft
Windows Azure 7/8 - Benefícios da Parceria MicrosoftWindows Azure 7/8 - Benefícios da Parceria Microsoft
Windows Azure 7/8 - Benefícios da Parceria Microsoft
 
Windows Azure 1/8 - Visão geral do Windows Azure
Windows Azure 1/8 - Visão geral do Windows AzureWindows Azure 1/8 - Visão geral do Windows Azure
Windows Azure 1/8 - Visão geral do Windows Azure
 
Windows Azure 0/8 - Treinamento de Windows Azure
Windows Azure 0/8 - Treinamento de Windows AzureWindows Azure 0/8 - Treinamento de Windows Azure
Windows Azure 0/8 - Treinamento de Windows Azure
 

Recently uploaded

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 

Recently uploaded (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

Windows Azure 2/8 - Recursos básicos do Windows Azure

  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14. var stringDeConexao = "Server=tcp:u06ud2z4qy.database.windows.net;Database=meubancodedados; User ID=vitor@u06ud2z4qy;Password=Pa$$w0rd;Trusted_Connection=False; Encrypt=True;MultipleActiveResultSets=True;"; using (var conexao = new SqlConnection(stringDeConexao)) { conexao.Open(); using (var comando = conexao.CreateCommand()) { comando.CommandText = "select count(*) from TabelaX"; var resultado = comando.ExecuteScalar(); } }
  • 15.
  • 16.
  • 17.
  • 18.
  • 19. http://<conta>.blob.core.windows.net/<container>/<nomeDoBlob> Pages/ Conta Container Blob Blocks img01.jpg imagens Block/Page img02.jpg conta Block/Page videos vid1.avi
  • 20.
  • 21. var stringDeConexao = "DefaultEndpointsProtocol=https;AccountName=techedvc;AccountKey=iqFj1tz09TW hIqfBls++q/cSUNTsklL0Yehxx525LQQb8Cy4IvvIpdsfg+/DMcm+3NHOkA1hS0InGy2A7iug== "; var nomeDoContainer = "Arquivos"; var nomeDoArquivo = "Pasta1/Pasta2/MeuArquivo.txt"; var contaDeStorage = CloudStorageAccount.Parse(stringDeConexao); var clienteDoBlob = contaDeStorage.CreateCloudBlobClient(); var container = new CloudBlobContainer(nomeDoContainer.ToLower(), clienteDoBlob); container.CreateIfNotExist(); var blobTexto = container.GetBlobReference(nomeDoArquivo.ToLower()); blobTexto.UploadText("Conteudo do arquivo");
  • 22.
  • 23.
  • 24.
  • 26.
  • 27. <dataCacheClients> <dataCacheClient name="default" maxConnectionsToServer="1"> <hosts> <host name="techedvc.cache.windows.net" cachePort="22233" /> </hosts> <securityProperties mode="Message"> <messageSecurity authorizationInfo="YWNzOmh0dHBzOi8vdGVjaGVkdmMtY2FjaGUuYWNjZXNzY29 udHJvbC53aW5kb3dzLm5ldC9XUkFQdjAuOS8mb3duZXImbWc1ZDUrV1dUSEV1aGlOa UhHQ1VmTHU5a2pqMmxEbC9GMXNlT1lXMVpSND0maHRcDovL3RlY2hlZHZjLmNhY2hl LndpbmRvd3MubmV0"> </messageSecurity> </securityProperties> </dataCacheClient> </dataCacheClients>
  • 28. <configuration> <system.web> <sessionState mode="Custom" customProvider="DistributedSessionProvider" compressionEnabled="false"> <providers> <add name="DistributedSessionProvider" type="Microsoft.Web.DistributedCache.DistributedCacheSessio nStateStoreProvider,Microsoft.Web.DistributedCache" cacheName="default" applicationName="Contoso" useBlobMode="false"/> </providers> </sessionState> </system.web> </configuration>
  • 29. var cacheFactory = new DataCacheFactory(); var meuCache = cacheFactory.GetDefaultCache(); var chave = "DataAtual"; var objetoCacheado = meuCache.Get(chave); if (objetoCacheado != null) { var valor = (DateTime)objetoCacheado; } else { var valor = DateTime.Now.Date; meuCache.Put(chave, valor, TimeSpan.FromSeconds(15)); }