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

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 

Recently uploaded (20)

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 

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)); }