Esta es la lista de instalaciones recomendadas para el curso de React Native, si encuentran enlaces adicionales o cambios en esta hoja, pueden hacerlos.
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
$configSection = Get-IISConfigSection -SectionPath "system.applicationHost/sites" | |
$state = Get-IISConfigCollection $configSection | Get-IISConfigCollectionElement -ConfigAttribute @{"Name"="Default Web Site"} | Get-IISConfigAttributeValue -AttributeName "State" | |
if($state -eq "Started") | |
{ | |
Write-Host "Default Web Site esta iniciado" -ForegroundColor Green | |
}else | |
{ | |
Write-Host "Default Web Site no esta iniciado" -ForegroundColor Red | |
} |
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
$goodmodules = @( | |
"Web-Server", | |
"Web-WebServer", | |
"Web-Common-Http", | |
"Web-Default-Doc", | |
"Web-Default-Doc" | |
) | |
$badmodules = @( | |
"Web-DAV-Publishing", |
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
Write-Host "Instalacion IIS Server Script V1" | |
Import-Module servermanager | |
Remove-WindowsFeature Web-ASP, Web-CGI,Web-Ftp-Server | |
Add-WindowsFeature Web-WebServer, Web-Common-Http, Web-Asp-Net45, Web-Static-Content |
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
@echo off | |
REM Install IIS-WebServer | |
dism /online /get-featureinfo /featurename:IIS-WebServer | find "Deshabilitado" > nul | |
if %ERRORLEVEL% == 0 ( | |
echo "IIS Web Server no esta instalado. Instalando..." | |
dism /online /enable-feature /featurename:IIS-WebServer /all | |
) | |
REM Install IIS-ASPNET45 |
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
@echo off | |
dism /online /get-featureinfo /featurename:IIS-WebServer | find "Deshabilitado" > nul | |
if %ERRORLEVEL% == 0 ( | |
echo "IIS Web Server no esta instalado. Deberia ser instalado." | |
dism /online /enable-feature /featurename:IIS-WebServer /all | |
) |
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
public class Bootstrapper | |
{ | |
private IUnityContainer unityContainer; | |
public Bootstrapper() | |
{ | |
unityContainer = new UnityContainer(); | |
unityContainer.RegisterType<IPasswordCipher, Pbkdf2PasswordCipher>(new ContainerControlledLifetimeManager()); | |
unityContainer.RegisterType<IPasswordCipherFactory, Pbkdf2PasswordCipherFactory>(new ContainerControlledLifetimeManager()); | |
var cipherPassword = unityContainer.Resolve<IPasswordCipher>(); | |
var cipherPasswordFactory = unityContainer.Resolve<IPasswordCipherFactory>(); |