Giter Site home page Giter Site logo

dustinmoris / dustedcodes Goto Github PK

View Code? Open in Web Editor NEW
77.0 10.0 20.0 19.25 MB

My personal website - an Open Source ASP.NET Core Blog built with Giraffe.

Home Page: https://dusted.codes

License: Apache License 2.0

CSS 25.04% PowerShell 4.73% F# 70.03% Dockerfile 0.20%
asp-net-core giraffe fsharp blog

dustedcodes's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿ˜€ My name is Dustin...
  • โŒจ๏ธ I code in C#, F# and Go
  • ๐Ÿ‘Œ A little bit of JavaScript and frontend languages too
  • ๐Ÿš€ I maintain a few OSS projects which you can see below...
  • ๐Ÿ’ป I also love blogging on โžก๏ธ dusted.codes โฌ…๏ธ
  • โ˜• I'm massively addicted to coffee
  • ๐Ÿฎ And stopped eating meat in 2๏ธโƒฃ0๏ธโƒฃ1๏ธโƒฃ8๏ธโƒฃ
  • ๐Ÿ  But I still eat the occasional fish
  • ๐Ÿ… My Chinese star sign is tiger ๐Ÿฏ
  • ๐ŸŒ And I love our beautiful planet and wish we'd treat it better
  • ๐Ÿ’บ This was a list of completely random stuff, just like this seat
  • ๐Ÿ“ซ You can reach me via my blog

Some of the web stuff I build:

dustedcodes's People

Contributors

dustinmoris avatar thomasardal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dustedcodes's Issues

URL pattern suggestion

I've based my backend app on some of the code I've found in your solution, and I wanted to share a couple of improvements that Dave Shaw and gsomix on the F# Slack helped me with. I liked what you were doing with PrintfFormat in the UrlPaths module, but I didn't like that I couldn't use it with sprintf to remove the path duplication in the Url module. The following code fixes that.

module UrlPaths =
    // The type aliases are both more readable, but also allows the format to work with both
    // routef and sprintf
    type StringPath = PrintfFormat<string -> string, unit, string, string, string>
    type StringPath2 = PrintfFormat<string -> string -> string, unit, string, string, string * string>
    
    let ``/api/foo`` = "/api/mil-to-mil/cost-categories"
    
    let ``/api/foo/%s`` : StringPath = "/api/mil-to-mil/cost-categories/%s"

module Url =
    let create (baseUrl : string) (route : string) =
        route.TrimStart [| '/' |]
        |> sprintf "%s/%s" baseUrl

    let ``/api/foo/%s`` baseUrl fooId = create baseUrl (sprintf UrlPaths.``/api/foo/%s`` fooId)

Email notification for subscribers

Would be good to implement an email notification for followers who want to subscribe.

Nice to have would be if someone could subscribe to certain topics only (maybe tags?).

An error occurred๏ผ

default

Another question:
I created a new ASP.NET MVC5 project with VS2015, and its folder structure is much different with yours. Where is connectionStrings setting in your project?

I am new to ASP.NET.
Thank you!

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.