Steps to host the application on PCF cloud foundry

Prerequisite: Install the cloud foundry cli on you system. URL: https://docs.cloudfoundry.org/cf-cli/install-go-cli.html open PowerShell and verify cloud foundry cli with “cf -v” To host the application on PCF: Step1: First login to PCF with cf login –sso you will get the list of org available for you. Select the org in which you want to deploy…

Continue reading

Handle multiple button post

razor: 1 2 3 4 5 <code><form action="" method="post"> <strong> <input type="submit" value="Save" name="action:Save" />  <input type="submit" value="Send" name="action:Send" /></strong> </form> </code> <code><form action=”” method=”post”> <strong> <input type=”submit” value=”Save” name=”action:Save” /> <input type=”submit” value=”Send” name=”action:Send” /></strong> </form> </code> and controller: 1 2 3 4 5 6 7 8 <code>    [HttpPost]     <strong>[MultipleButton(Name =…

Continue reading

Design Patterns: Abstract Factory

What is it This week we’re going to be taking a look at the abstract factory pattern, which allows us to create families of related products to be used together within their implementation. The pattern automatically enforces this behaviour of using only related products together, which allows multiple families of products to be switched between easily….

Continue reading

Load balancing in Azure

Load balancers manage how network traffic is distributed across an application. Load balancers are essential in keeping your application resilient to individual component failures and to ensure your application is available to process requests. For applications that don’t have service discovery built in, load balancing is required for both availability sets and availability zones. Azure…

Continue reading