• Stars
    star
    2
  • Language
    JavaScript
  • Created almost 5 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This project presents a Visual Studio solution including a simple demo ASP.Net Web API Service Application and a “Tester” Client (Windows Form Application) that allows the user to test the Web API with CRUD operations (GET, POST, PUT, DELETE). In addition to demonstrating standard CRUD capabilities, the Web API service implements a .Net Memory Cache (MemoryCache). The client “tester” application also allows the user to verify that the memory cache is implemented correctly and expiring per the set policy. Discussion of the memory cache implementation may help the reader with tips to understand, correctly implement, and verify the cache is expiring. Lastly, the project is shown in the demo section with a video and screen captures.

More Repositories

1

Mixed-Integer-Linear-Programming-Example-Power-Systems-Analysis-A

A Mixed-Integer-Linear-Programming (MILP) problem, formulation, and solution for a power systems generator biding strategy. The objective function is the sum of the unit price of the MW multiplied by the quantity to be accepted added to the other ranges and their respective products plus the no-load cost.
MATLAB
33
star
2

Power-Market-Operations-Final-Project-Unit-Commitment

Security-Constrained Unit Commitment Programming Project
HTML
10
star
3

FileManagerDemo

(File Manager – A Demo of a WCF Self-Hosted Service & Client "Tester" Windows Form Application Exchanging Files) This project presents a simple File Manager Service and Client Application demonstration. The File Manager is a self-hosted (service host) WCF application launched and managed with a simple console interface. The client “tester” has a simplified GUI user interface to quickly demo and test the service (Windows Form Application).
C#
5
star
4

Generation-Shift-Factors-Contingency-Analysis-Power-Flow-Study-AC-vs-DC-Methods

The project required the computation of the generation shift factors (GSF) based on a defined generator bus outage using the fast-decoupled XB version. The GSF values were used to approximate the post-contingency branch flows based on a pre-contingency branch flow and the generator output before the contingency. The AC power flows were compared with the DC method for the MW and MVA flows. Source code is provided in the same WinZip file for the functions calculating the generation shift factors and the approximated post-contingency branch flows.
MATLAB
5
star
5

GENCO-Investment-Strategies-by-Simulation-for-Demand-Side-Role-for-Investments-and-Capacity-Adequacy

This project will present an applied and game-like approach to simulating the load growth, investment decisions by two types of generation technologies, demand-price responsiveness, and reliability, of a test-case power system. The simulation begins as a 9-bus system with existing generation (3 generators) and transmission lines (8 lines). System topology can be viewed in a figure throughout the game with the yearly generation and load at each bus. In addition, dynamic color-coding is used to highlight transmission lines that exceed MVA ratings and highlight bus voltages that violate any limits. The winning objective of the player company (you) is to maximize his profit. Reliability can be tracked by viewing the N-1 generator and line contingencies every year, but this does not influence profits. There are two generation technologies used: coal and gas turbine. Each technology will have a similar competitor in the simulation. The competitor can bring down the market price and reduce the player’s profits significantly. The clock starts at T=0 in the investment game with a historical record of past prices and projected prices based on lack of investment. As time moves forward in yearly increments, the load, prices, investment costs, and other variables are adjusted to that of the player’s performance. The player has the opportunity to study various profitable and unprofitable investment alternatives each year of the simulation. If he invests at the right location, and in the right planning year, his company can make windfall profits. Competitors randomly participate in adding extra generation in random areas of the system based on the competition level settings. The challenge for the user is to study the effects of his investment decisions on market prices, reliability, and his profitability.
MATLAB
5
star
6

-Line-Outage-Distribution-Factors-LODF-based-on-a-user-given-branch-outage-number---Power-Flows-

The project required the computation of the Line Outage Distribution Factors (LODF) based on a user given branch outage number using the fast-decoupled XB version. The LODF values were used to approximate the post-contingency branch flows based on a pre-contingency branch flow and the base branch flow before the contingency. The AC power flows were compared with the DC method for the MW and MVA flows. Source code is provided in the same WinZip file for the functions calculating the LODF values and the approximated post-contingency branch flows.
MATLAB
5
star
7

VR-Unity-MyFirstRoom

My Room – A Demo Virtual Reality (VR) App – Google Cardboard – Gaze Selection System – Interactive UI, Locomotion, User Interactions, and more
C#
4
star
8

ChatDemo

This project presents a simple Chat Message Service and Client Application demonstration. The Chat Service is a self-hosted (service host) WCF application launched and managed with a simple console interface. The service prints to the console window the user activities (log on, log off) and what messages are sent to users. The client “tester” has a simplified GUI user interface to quickly demo and test the service (Windows Form Application). The GUI has features to log on, log off, send a message, and receive messages from other users on the chat service.
C#
4
star
9

WebAPIBasicAuthenticationDemo

This project presents a Visual Studio solution including a simple demo ASP.Net Web API Basic Authentication Service Application and a “Tester” Client (Windows Form Application) that allows the user to test the Web API with CRUD operations (GET, POST, PUT, DELETE) that service design requires authentication (except the Get). In addition to demonstrating standard CRUD capabilities, the Web API service implements a .Net Memory Cache (MemoryCache) and custom username and password validator. Passwords are stored securely using Password-Based Key Derivation Function PBKD cryptology. The client “tester” windows form application is not intended as a UX/UI demo but used to test and verify that the backend authentication service allows the user to register with a username and password and verify the Web API CRUD functions based on basic authentication scheme. Lastly, the project is shown in the demo section with a video and screen captures. Note: Every Web API Authentication service should use secure transport. For brevity, this demo project does not implement or discuss the complicated detail nature of SSL/TLS.
JavaScript
4
star
10

WCFStockServiceSingletonWithClientChannelFactory

This project presents a WCF Stock Service Library (StockServiceLib) that mimics a stock exchange. The service is implemented as a “singleton” and maintains persistent data between client calls and can handle multiple client sessions. The service is hosted via a console application (StockServiceHost). The client and service participate in a bi-directional/callback relationship. The client (StockClient) uses the ChannelFactory pattern as opposed to “Add Service Reference” with SVCUTIL. The client and service share a common assembly (SharedLib) that contains the key contract and data model information. Furthermore, a Utilities project is used by the client console application to facilitate user data entry and the complicated details of building and managing the WCF ChannelFactory connection implementation. The ProxyGen class inside the Utilities project abstracts the details of implementing and managing a generic ChannelFactory connection to a generic service for a client. Note: The Utilities project library was included as base code for my lab project to facilitate speedy completion; we were not expected to code this Utilities project ourselves due to complexity and time constraints. The remaining projects in the solution (SharedLib, StockClient, StockServiceHost, and StockServiceLib), I completed individually per requirements for the lab project.
C#
4
star
11

sample-angular-app

Quick step-by-step tutorial on how to create the sample default angular app deploy to GitHub Pages. The result of following these guided steps will be that your sample angular site is visible on GitHub like the screen capture shown in the README.
HTML
3
star
12

mslearn-dotnet-docker

This is a simple microservices demo with a frontend web app (razor) and backend web api (asp.net core). The frontend utilizes the Blazor WebAssembly script in the browser. The backend web api simply delivers a Product listing and serves images for those products. The frontend web app queries the backend web api for products, then displays each one.
C#
2
star
13

ContosoPizzaWebApiDemo

A simple web api demo with swagger documentation, custom error handling, unit tests, JsonPatch, and a HttpClient tester. Features tutorial-style YouTube videos for some topics.
C#
2
star
14

AdvancedConsoleApplicationIII

This is a very simple windows console application that I completed for a class assignment. It is shown here to illustrate my coding style, structure, and commenting. This example is considered Level 3 – Advanced. Objectives: Late Binding Reflection Attributes dynamic Custom Attributes
C#
2
star
15

Linear-Programming-Example-with-Power-Systems-Constraints-Bounds-Analysis-and-Solution

This is a simple Linear Programming LP Example with a generic power system, constraints, and determines optimal solution
MATLAB
2
star
16

myWebAPIDemo

My Web API Demo: This is a simple ASP.NET Web API that also demonstrates a RESTful api. It will calculate and return lucky lottery numbers based on either a default (api/values/) or custom HTTP Get Request (example: values?name=Kathleen&age=36). A RESTful API is an application program interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. A web API is an application programming interface (API) for either a web server or a web browser. ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. ASP.NET Web API is an ideal platform for building RESTful applications on the .NET Framework. Samples: ValuesController.cs Pictures: Web Application Screen Default Response Custom Response Planned Exception Handling Visual Studio Solution: myWebAPIDemo_VSS.zip
C#
2
star
17

Azure-EventGrid-Publisher-Subscriber-Azure-Functions-Demo

In this project, we will create an Event Grid Topic in Azure for a publish-subscribe demo. Our subscriber will be an Azure function that is triggered by an event published to the Event Grid Topic. We will create the Azure function app, subscribe to our Event Grid Topic, and then demo it in action. We will use Postman to set up a POST request to our Event Grid Topic public endpoint that has authentication, version parameter, and the correct JSON body format. After we send the request, we will take a look in the Azure portal to verify the activity and that our subscriber function received and processed the event.
Python
2
star
18

angular-io-example

This project is the result of the tutorial, which are essentials of Angular by walking through building an e-commerce site with a catalog, shopping cart, and check-out form.
TypeScript
2
star
19

Azure-App-Service-Web-App-Demo-Project

This tutorial azure cloud project demonstrates how to create and deploy a basic web app using the Azure portal or the CLI (command-line interface). We will use our azure account to creature a resource group, app service plan, and web app. Then we will configure a CI/CD pipeline (continuous integration/continuous deployment) that integrates with our GitHub project code repository. Our demo web app is a flask template and python web application. Watch the video tutorials and follow step-by-step instructions to learn how to create your own starter web app running on the Azure cloud using the Azure portal. A second bonus video and instructions are shown that demonstrate the quick start creation of a web app using the CLI (command-line interface).
JavaScript
2
star
20

article-cms-azure-demo-project

Deploy an Article CMS to Azure Cloud Developer - A simple Content Management System (CMS) for articles, where a user can log in, view published articles, and publish new articles.
Python
1
star
21

BMICalculatorWindowsForm

A Body Mass Index (BMI) Calculator Windows Form Application
C#
1
star
22

kathleenwest

Custom Profile
1
star
23

first-app

Angular.io Tutorial - Build Your First App
TypeScript
1
star
24

TreeParentChildTraverseRecursion

Tree Algorithm, Recursion, and Printing Example with Folder Parent-Child Relationships. Traverse a tree with recursion.
C#
1
star
25

MinimalWebApiPizzaStoreTutorialDemo

Quick steps and demo code to quickly create a minimal web api with asp.net core and swagger setup. This project code is the result of a Microsoft Learn tutorial to build a web API with minimal API, ASP.NET Core, and .NET.
C#
1
star
26

mws-restaurant-stage-1-kew

Udacity Mobile Web Specialist Restaurant Reviews App
JavaScript
1
star
27

MinimalWebApiEntityFrameworkCoreSQLite

A minimal ASP.NET Core web api project to showcase Entity Framework Core with both SQLite and in-memory database implementations. This basic web api features CRUD operations with Http Verb Operations (Get, Post, Put, and Delete). Features tutorial-style YouTube videos for some topics.
C#
1
star
28

HelloWorldMyWPFDemo

A simple "C# Windows Presentation Framework (WPF) | XAML | Windows 10 App" that many staff firms want to see submitted with the resume. Well I made the simple program with a twist. Catch the button if you can! It will laugh at you if you can't. And if you do catch it, it will show a Message Box that says the Hello World message and then show a Window Dialog that gives the user an option to do a party where cats dance. LOL. Not meant/ yet designed to be run on mobile devices/smaller screens.
C#
1
star
29

TemperatureConverter

This is a very simple console application that I completed for a class assignment. It is shown here to illustrate my coding style, structure, and commenting. This example is considered Level 1 – Easy. The application displays temperature conversion tables.
C#
1
star
30

AdvancedFormApplicationV

This is a very simple windows form application that I completed for a class assignment. It is shown here to illustrate my coding style, structure, and commenting. This example is considered Level 3 – Advanced. Objectives: Task Parallel Library TPL Parallel.ForEach ProgressBar Windows Forms Action delegate Cancelling Tasks CancellationTokenSource Calculating PI cross-thread synchronization recursion Tasks ContinueWith TaskContinuationOptions
C#
1
star
31

Connect-App-to-Azure-SQL-Server-Storage-Demo-Project

Let's have some fun and showcase our pets and their photos in a web application. This is a python web app that connects to both an Azure SQL Server Database and an Azure Blob Storage Container. Watch the tutorial video for step-by-step instructions on how to create the azure resources and utilize them in the web app for your own project.
Python
1
star
32

Azure-Virtual-Machine-Web-App-Demo-Project

This tutorial azure cloud project demonstrates how to install a basic web app on a virtual machine. We will use our azure account to creature a resource group and virtual machine. Then we will install and configure the virtual machine to run nginx web server and python. Our web app is a flask template and python web application that is uploaded to our virtual machine and then configured to run with nginx. Watch the video tutorials and follow step-by-step instructions to learn how to create your own starter web app running on an azure cloud virtual machine.
JavaScript
1
star
33

azure-microservices-functions-kubernetes-demo-project

This project builds an app called "Neighborly". Neighborly is a Python Flask-powered web application that allows neighbors to post advertisements for services and products they can offer. The Neighborly project is comprised of a front-end application that is built with the Python Flask micro framework. The application allows the user to view, create, edit, and delete the community advertisements. The application makes direct requests to the back-end API endpoints. These are endpoints that we will also build for the server-side of the application. Let's deploy an app called Neighborly, allowing neighbors to post advertisements for services and products they can offer. The app will use a blend of Cosmos DB, Azure Functions, Kubernetes, Event Hub, Event Grid Topic, and more.
Python
1
star
34

WCFAuthenticationDemo

This project presents a Visual Studio solution including a simple demo WCF Authentication Service Application and a “Tester” Client (Windows Form Application) that allows the user to test the user registration, login, logout, and service operations. In addition to demonstrating standard authentication capabilities, the WCF service implements a custom username and password validator pattern. Passwords are stored securely using Password-Based Key Derivation Function PBKD cryptology of which the implementation is discussed. A custom error handler ensures that exceptions are properly wrapped into WCF Faults and communicated to the client caller. Certificates are discussed along with how to implement a server certificate on a client machine for development testing of “integrity” and application trust. The project includes a demo certificate and script for generating self-signed dev certificates, which must be installed into the client certificate store for the client tester application to trust and access the demo service. The client “tester” windows form application is not intended as a UX/UI demo but used to test and verify that the backend authentication service registration, login, logout, service operations, and callbacks are working as expected and sending proper WCF fault messages. Lastly, the project is shown in the demo section with a video and screen captures.
C#
1
star
35

PartyOrganizerWindowsForm

1. Objectives The main objectives of this assignment are: • To learn using one-dimensional arrays. • To learn how to write and use properties to access values saved in the private fields of an object. In addition, exercise more with strings and also learn to use a ListBox for display of results. Keep the presentation of data (interaction with the user, input/output) from the logics behind data processing. 2. Description Apu (a user) is often asked to manage and organize parties. He would like to have a simple application that lists the names of the people to be invited to a party and also get an idea of the total cost based on an estimated cost per guest. We use a form object (MainForm) for the GUI and a class Party to contain the logics pertaining to party arrangements. For saving the names of the guests, use a one dimensional array of strings in the Party class. MainForm declares a variable of the Party class as its field. We refer to this object as party (with a small p). MainForm should handle all the interactions (input/output) between the user and the application, and it should not contain logics that is (or can be) a part of the Party class’ responsibility. Every logic concerning the party, except processing of input and display of output, should be coded in the Party class.
C#
1
star