Code Monkey home page Code Monkey logo

jamesmoonit / jamesmoonitprofile Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 23.44 MB

This is my personal profile using a combination of skills I have learned over the years combined into one .NET Core website. Feel free to use code snippits from this site to assist in your web development.

Home Page: http://jamesmoonit.azurewebsites.net/

HTML 34.90% C# 2.18% CSS 12.06% JavaScript 50.86%
css html javascript jquery mvc-core rivescript csharp

jamesmoonitprofile's Introduction

This is a combination of the majority of my web skills in the form of a Personal Profile. This is intended to be see by employers seeking my skills in Web and Application Development, as well as Full-Stack Development and UX/UI Development. The plan was to keep this private, but as Rivescript doesn't have any support for MVC or Core architecture, I thought to make this public and searchable under the "rivescript" tag for any developers.

Languages used:

  • HTML
  • CSS
  • Javascript
  • jQuery
  • Rivescript
  • C#
  • Json5

Skills used:

  • Azure Development and Deployment
  • .NET Core Development
  • MVC Web Development
  • Web Design
  • HCI Analysis
  • Photoshop

Major Hurdles:

  • Deploying Rivescript bot in a C# .Net Core Environment
  • Hosting for as little as possible through GitHub Actions and Azure Web App Service.
  • Developing API (private) for storing comments, along with local backup incase for any reason it goes down.

Removed features:

  • Self-hosting on local machine
    • This caused lots of issues for the server I use for hosting as I use the machine for more than web hosting.
  • Storing comments on sqlserver db
    • This was to also be hosted on the same local server.
  • Implement 3rd party Rivescript C# Library
    • The library caused problems with Azure. The original code my the rivescript bot was based on Java and I configured my site to accept javascript Rivescript inside a .NET Core evironment rather than rebuilding in C#.
  • Hosting an Azure Static Web App for free
    • On top of having a crazy long domain that is hard to share, Static Web Apps cannot handle .Net MVC Core architecture. Despite attempts to learn Blazor and migrate the code, it proved to be to much of a task in comparison to paying a very small amount to deploy to azure and host files on GitHub.

P.S. A profanity filter has been manually added to the bottom of bigbrain.rive. Should you wish to not read the profain words entered into the file, I suggest not reading beyond line 354. I cannot hide this one section in github so YOU HAVE BEEN WARNED!

If anyone is curious about setting up Rivescript in a similar environment, I would recommend this approach as the Javascript method is better supported. In terms of how its done, you need to tell your 'Startup.cs' how to read the file as by default, it will not be able to interpret it and ignore it in the Build process. You can fix this by adding this to your startup file:

var provider = new FileExtensionContentTypeProvider();
provider.Mappings[".rive"] = "text/rive";
app.UseStaticFiles(new StaticFileOptions
{
    ContentTypeProvider = provider
});

You can also view this in my own startup.cs file. Hope this helps because I was not aware of how to fix this and there is no documentation for this method that I could find.

jamesmoonitprofile's People

Contributors

dependabot[bot] avatar jamesmoonit avatar

Watchers

 avatar

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.