10 Ekim 2016 Pazartesi

Windows Server 2012 R2 Core NIC Teaming Configration


This article explain how to configure NIC Teaming on Windows Server 2012 R2 Core.  As you know Core installation it's not included GUI to manage your server but also this kind of installed Windows server more performed  from Full GUI installed one. Because that windows not working unnecessary task or progress.

NIC Teaming also so imported configuration for production environment. NIC teaming, also know as load balancing and failover(LBFO), also multiple network adapter on computer to be placed into a team.

To configure NIC Teaming on Windows Core, first you need to display or found network adapters on server. Type powershell on command prompt to switch powershell and type Get-NetAdapter command.



Get-NetAdapter powershell command display us current network adapters on server. In my example Ethernet and Ethernet 2 are two networks adapters on my virtual test environment.  Next step, we must disable DHCP interface on networks adapters and set manually IP address to adapters. Because NIC Teaming is not good configuration with DHCP. To disable DHCP interface with set-NetIpInterface key.

Get-NetAdapter Ethernet | Set-NetIPInterface -dhcp disabled




Notice that When we are using Set-NetIPInterface give network adapter 2 name in " ".

Second Step is set new IP address to network adapters with;

Get-NetAdapter Ethernet | new-netIPAddressIPAdress 192.168.0.101 –DefaultGateway 192.168.0.1 –PrefixLength 24


Do same thinks to "Ethernet 2"


Third step set DNS IP address to network adapters. To do this we are using Set-DnsClientServerAddress powershell command.



Finally, create a NIC Teaming with New-Netlbfoteam powershell command.













27 Eylül 2016 Salı

Create an AngularJS and Bootstrap project with Visual Studio

I'm using Visual Studio enterprise 2015. You can use any current version of Visual Studio to do this. Now lest's choose New Project from Start Page and create a new ASP.NET Web Application from Web templates section.

Give the name as SampleAngularForm


I'll call this project as SampleAngularForm  and I'll just create an empty template for now.


Now, right-click on on the project and select Manage NuGet Packages.click browse section and I'll type AngularJS. Install AngularJS.Core package.


NuGet Packages Manager install all required AngularJS files to our project. Place type again bootstrap on Nuget Packages Manager bar, select and install Bootstrap NuGet Package to our project.



NuGet Packages Manager also install bootstrap files that required for our project.



NuGet Packages installation is completed now. You can see Angular.min.js, bootstrap.min.js and bootstrap.min.css files on our sample project. We are ready to develop our sample project. all necessary files installed on project. Now right-click to sample project and Add--> HTML Page give to name as index.html  This index.html file is the main html page our Single Page Application (SPA).

Drag and Drop bootstrap.min.js from Content folder, bootstrap.min.js and angular.min.js file from scripts folder to head section on index.html file. index.html file must bu like this ;

 <!DOCTYPE html>  
 <html>  
 <head>  
   <title></title>  
      <meta charset="utf-8" />  
   <link href="Content/bootstrap.min.css" rel="stylesheet" />  
   <script src="scripts/bootstrap.min.js"></script>  
   <script src="scripts/angular.min.js"></script>  
 </head>  
 <body>  
 </body>  
 </html>  

You can watch on youtube all how you can setup AngularJs and Bootstrap with Visual Studio.