Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 24 18:06
    StevenLiekens commented #59
  • Mar 24 18:05
    StevenLiekens closed #59
  • Mar 24 18:05
    StevenLiekens commented #59
  • Mar 24 17:47
    StevenLiekens closed #58
  • Mar 24 17:47
    StevenLiekens commented #58
  • Mar 19 13:02
    Friesinator edited #59
  • Mar 19 13:01
    Friesinator opened #59
  • Mar 18 12:38
    StevenLiekens commented #58
  • Mar 15 15:19
    GHOSCHT commented #58
  • Mar 14 22:01
    Seeker1437 commented #58
  • Mar 14 20:08
    GHOSCHT commented #58
  • Mar 12 15:40
    StevenLiekens commented #58
  • Mar 10 15:46
    GHOSCHT opened #58
  • Apr 15 2018 16:43

    Ruhrpottpatriot on ServiceClient

    Remove superfluous compression … Add simple caching to Core proj… Move files into different folde… and 8 more (compare)

  • Apr 10 2018 21:09

    Ruhrpottpatriot on ServiceClient

    Add fluent api to create HttpRe… Fix Stylecop errors Remove dead code and 3 more (compare)

  • Mar 29 2018 13:11

    Ruhrpottpatriot on NetCore2.0

    Remove disabled and superseded … Delete unused leftover code fro… Move V1.Guild test to appropria… and 8 more (compare)

  • Mar 29 2018 12:17

    Ruhrpottpatriot on NetCore2.0

    Update .gitignore to exclude St… Add Api builder class (compare)

  • Feb 01 2018 09:33

    Ruhrpottpatriot on master

    Refactorize ServiceClient.GetHt… Merge pull request #57 from Kor… (compare)

  • Feb 01 2018 09:33
    Ruhrpottpatriot closed #57
  • Dec 27 2017 17:37
    Korjam opened #57
returns
[
{
id: "summer",
url: "https://static.staticwars.com/quaggans/summer.jpg"
},
{
id: "aloha",
url: "https://static.staticwars.com/quaggans/aloha.jpg"
}
]
if you want to write safe code, it's easier with a dictionary
object result;
if (dictionary.TryGetValue("foo", out result))
{
    // result != null
}
else
{
    // result == null
}
it's very relevant to what we're trying to do
Steven Liekens
@StevenLiekens
turns out it's possible to make PCLs in the new project system
but it's very tricky
you have to use the full name of the PCL profile in the frameworks section of project.json
and explicitly list each assembly that you want to use
".NETPortable,Version=v4.6,Profile=Profile151": {
      "frameworkAssemblies": {
        "mscorlib": "",
        "System": "",
        "System.Core": "",
        "System.Runtime": "",
        "System.Linq": "",
        "System.Collections": ""
      }
    }
which is nuts because how can you know which assemblies you need?
Robert Logiewa
@Ruhrpottpatriot
This message was deleted
Robert Logiewa
@Ruhrpottpatriot
Because PCL is a mess. In my eyes it should die fast and painful
you have a fuckton of profiles which you could target -- in theory -- but end up not using
the new PlatformStandard is way better and ASP.NET5 handles versioning and references much better, too

sorry I don't even know what DbGeography is used for

It's a type for storing coordinates in a geodetic system inside a database.
see https://msdn.microsoft.com/en-gb/library/system.data.spatial.dbgeography%28v=vs.110%29.aspx

Steven Liekens
@StevenLiekens
PCLs have their place
And they're not going away
They simply renamed them
not entirely true, but almost true
the .NET platform standard are the new PCLs
Robert Logiewa
@Ruhrpottpatriot
My bad: Didn't mean Portable Class Libraries per se, but the system whcih indicated for what targeting framework they are intended
In my free university time I played around with MEF2 a bit. And while it's better than MEF1 in many regards I still can't wrap my head around it just yet. But I'll get there
Steven Liekens
@StevenLiekens
oh yeah the framework monikers?
the portable-net45-win-something-something stuff?
tbh it's still the most flexible solution even if it's ugly and there are way too many profiles
Robert Logiewa
@Ruhrpottpatriot
I think we'll move away from frameworks in the future and move more to a package based system.
ZedTheYeti
@ZedTheYeti
Hello! I was wondering if anyone was working on implementing the V2 WvW API. If not I've been working with it in another project and would be willing to give it a go.
Robert Logiewa
@Ruhrpottpatriot
You are always welcome to implement the WvW Api and send us a pull request!
Currently I'm workling on a repository restructure, but seeing as WvW is a tad more complex it'll probably stay in the current for for a bit.
Steven Liekens
@StevenLiekens
@Ruhrpottpatriot it would be better if you did that in public so we can see what's happening
Robert Logiewa
@Ruhrpottpatriot
I'm still experimenting with converters. There's some things that I need to experiment with. I'll upload some things this weekend though
Since we dropped ServiceManger, we need another converter on top of everything we have.
Steven Liekens
@StevenLiekens
an actual converter or an object mapper?
Robert Logiewa
@Ruhrpottpatriot
A bit of botth. Currently I'm having a HttpResponseConverter (for a lack of better name), which extracts the content and headers. Then an injjected converter takes over and converts the data to actual objects we use. I'm just not sure how I should handle bulk and single responses.
Steven Liekens
@StevenLiekens
are you still nesting converters?
Robert Logiewa
@Ruhrpottpatriot
If anything falls like I want it to, we don't need Bulk-, Reponse-, and PageResponse converter anymore
Only the data contract converters are needed
at least that is my goal
I sucessfully removed pages but that is more a result of restructuring the repositories.
Steven Liekens
@StevenLiekens
but how will you know what collection type to deserialize as
Robert Logiewa
@Ruhrpottpatriot
That is the problem I'm, facing right now.
Steven Liekens
@StevenLiekens
I think you can get rid of converters that know about HTTP metadata, but I don't think you can get rid of collection converters
but you can make them generic and pluggable
Robert Logiewa
@Ruhrpottpatriot
Probably
I wanted to build a flid interface for that but gave up on that
there is no way to make it generic