Git Product home page Git Product logo

kchindev / flexi-fizzbuzzbazz-web Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 81.84 MB

A Web Forms app written in C# using Visual Studio 2015 and hosted on Microsoft Azure.

Home Page: https://flexifizzbuzzbazz.azurewebsites.net/

C# 3.39% CSS 0.23% ASP 1.89% HTML 0.61% JavaScript 93.87%
javascript csharp webforms webapp bootstrap azure interface fizzbuzzbazz fizz buzz fizzbuzz flexi-fizzbuzzbazz asp lambda-expressions c-sharp

flexi-fizzbuzzbazz-web's Introduction

Flexi-FizzBuzzBazz

Description

Flexi-FizzBuzzBazz is a web app that generates a list of items representing the consecutive sequence of integers from Start to End. When the integer is a multiple of Fizz, the string "Fizz" is added instead. Likewise, for multiples of Buzz, "Buzz" is added. For multiples of both Fizz and Buzz, "FizzBuzz" is added.

If the optional Bazz value is given, then "FizzBuzz" becomes "FizzBuzzBazz" for items that meet the optional condition.

The web page automatically scales for mobile display, and offers both mobile and desktop experience.

Language and Tools

Flexi-FizzBuzzBazz is a Web Forms app written in C# using Visual Studio 2015 and hosted on Microsoft Azure https://flexifizzbuzzbazz.azurewebsites.net/ to explore the following:

  • Bootstrap Jumbotron
  • CSS
  • Javascript
  • C#
  • Web Forms
  • Azure

C# and Web Forms specific items such as

  • asp:CompareValidator and asp:RequiredFieldValidator for user input validation
  • C# Interface

Code hightlights

  • Default.aspx
    • User input validation using RequiredFieldValidator, CompareValidator, RequiredFieldValidator
    • Javascript function OnRunButtonPressed() for handling button press
  • Default.aspx.cs
    • Illustrates the use of C# Predicate and lambda expression. Given a selected “Bazz” option, the Predicate returns a True or False value depending on the outcome of the associated lambda expression, for instance x => x < bazzValue will result in True when x is less than the given value of Bazz. For example, if x is 4 and Bazz value is 6, then we’d expect a True, whereas if x is 10 while Bazz is 6, then the result is False.
  • GoFizzBuzz.cs
    • C# Interface usage IFizzBuzzBazz
    • FizzBuzzBazz logic implementation

References for publishing to Microsoft Azure

Sample screenshot

flex-fizzbuzzbazz screenshot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.