Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
G

Ger Hayden

@Ger Hayden
About
Posts
573
Topics
192
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • CAN bus and .Net
    G Ger Hayden

    Hi Joan, Its for my Model Railway. I'm also waiting to hear from my colleagues in MERG on this. I already have the CANUSB board and a couple of modules that are not doing their thing. I want to be able to at least monitor them and maybe even dictate to them as I learn more.

    Ger

    The Lounge csharp help

  • CAN bus and .Net
    G Ger Hayden

    Could any of you recommend a good library and examples to interface CAN with .Net - so far Google is kicking up Kvaser and Pcan, but I suspect there is better out there. Ideally I would like to be able to troubleshoot boards

    Ger

    The Lounge csharp help

  • Considering Ireland for a holiday this year?
    G Ger Hayden

    Between Brexit and limited continental travel holiday options, I have advice for some UK members considering visiting Ireland, that's the island just past the Isle of Man which may help with navigations while you are with us. We have two M1 Motorways! The one in the north goes west to avoid the south, while it southern counterpart goes north to avoid the price of alcohol in those parts and never the twain shall meet.

    Ger

    The Lounge help question

  • Phonespyware misuse
    G Ger Hayden

    I saw from this mornings mail out yet another statement of the obvious regarding phone spyware - this time MSpy. There may be others on the list like Spyera or spyfone but I got bored reading it. "Its to allow parents / employers monitor authorized devices but really its for spying on your partner". No one ever talks about these things being used for theft. Consider this, you are on your expensive new phone in a built up area and some low-life snatches it and cycles off. But as soon as you report the loss to the police, your luck is in - some honest soul has found it and returned it still in pristine condition. What you don't realize is that since it was snatched unlocked, our low-life was able to get spyware onto it then hand it in to a police station and now just has to sit back, monitor it, capture your bank details, home details and anything else they wish... Same probably goes for cheap phone deals from online auction sites.

    Ger

    The Lounge

  • So you've won your seat in the House of Commons...
    G Ger Hayden

    Deputy is the Irish coming out in me. It's an alternative term for our members of parliament, officially a Teachta Daila or TD. We would use it where the British might use Right Honourable or Honourable Gentleman - not sure which, perhaps both

    Ger

    The Lounge question

  • To The admins. Please look at the General Indian Topic
    G Ger Hayden

    You mean its not flat? My neighbour keeps telling me it is...

    Ger

    Spam and Abuse Watch collaboration lounge

  • So you've won your seat in the House of Commons...
    G Ger Hayden

    ORDERRRRRR

    Ger

    The Lounge question

  • So you've won your seat in the House of Commons...
    G Ger Hayden

    I notice when I watch TV scenes from the British Commons a large number of deputies standing. Is it a case that there are not enough actual seats for everyone wins one? Or is this phenomonon just to get a head-start on the rush to the bar afterwards?

    Ger

    The Lounge question

  • Speculative question on Identity Server
    G Ger Hayden

    I havent googled this yet or done any other research, but I will toss it in here because someone may have a quick solution besides LMGTFY. I have a password reset link which when the user click it will go to Identity server but either to a reset password page, or signal to the login page to render in set password mode. I'm following the published combined quickstart. The question is, does a feature like that exist or do I need to consider how to craft it myself?

    Ger

    Web Development question sysadmin tutorial

  • Transaction scope and web apis
    G Ger Hayden

    This is the rollback I was referring to (from the CP article):

    using (var scope = new TransactionScope())
    {
    //either 1 of following lines will use
    Transaction.Current.Rollback();
    scope.Dispose();
    //if you comment the following line transaction will
    //automatically be rolled back
    //scope.Complete();
    }

    Ger

    Web Development csharp asp-net json help

  • Transaction scope and web apis
    G Ger Hayden

    EF Core's own transaction handling looks like it is doing the job in early testing.

    Ger

    Web Development csharp asp-net json help

  • Transaction scope and web apis
    G Ger Hayden

    That pretty much sums it up. Somehow I got it into my head that if I did not have a scope.complete, then I had to have a scope.dispose to ensure that everything got cleaned up. If I had left it out I would probably have achieved the effect I wanted. All About Transaction Scope here on CP has both a .Rollback and a .Dispose as capable of rollback in section 20. If I had read this instead of one of the shorter articles I would have seen that I had a choice. Equally it looks like I would have got an automatic dispose (and rollback) just by throwing an exception as needed. Good to know.

    Ger

    Web Development csharp asp-net json help

  • Transaction scope and web apis
    G Ger Hayden

    One of my API controllers is hitting two databases each on its own context, and I do not want any tables updated until I am satisfied that it is safe. With that in mind I wrapped the code in a C# transaction scope but when I reached a point where I had to fire scope.dispose, the API call crashed out with a code 500 and any previously executed inserts were not rolled back. I have successfully applied entity framework core transaction protection to the code block so it is not an issue, but I am curious to know if anyone has tried and succeeded or failed in the same thing. A quick look online did not show up anything.

    Ger

    Web Development csharp asp-net json help

  • Internal error creating new question
    G Ger Hayden

    Got it this time

    Ger

    Site Bugs / Suggestions help question

  • Internal error creating new question
    G Ger Hayden

    For the past 20 minutes, Ive been trying to post a new question but I keep getting a message "Internal error creating a new item". Is there an issue? I've tried both on chrome and edge

    Ger

    Site Bugs / Suggestions help question

  • today in my company mail...
    G Ger Hayden

    Offer 50K for their services as a security consultant because their integrity and concern for you is so impressive Send a convincing mock up of the funds transfer when asked When they wonder why it never arrived, tell them the bank got suspicious and they need to send something small like 100 in the opposite direction to prove the contact is legitimate Wait and see.

    Ger

    The Lounge learning database sysadmin security help

  • Misadventures with IdentityServer4
    G Ger Hayden

    As suspected it my code was at fault, what I did not expect was that the only significance of changing equipment was that the last thing I did before swapping out the old machine was incorrect and undetected! There were problems debugging due to the machine change the upshot of which is that I can now deploy an ASP.NET Core app to my local IIS. No promises, but if I can, I will aim to put together a cheat sheet for the Tips/Tricks board for hooking into Identity Server 4.

    Ger

    The Lounge asp-net csharp dotnet sysadmin windows-admin

  • Am I alone in my exasperation with IdentityServer4?
    G Ger Hayden

    I really like what it offers and it is not a difficult concept to harness. It is beyond belief that it has been so problematic. I had intended promoting it to my employer when we introduced api add ons in the spring but held back due to not having a working example of how I did it.

    Ger

    The Lounge help json question discussion learning

  • Am I alone in my exasperation with IdentityServer4?
    G Ger Hayden

    Seven months ago - yes that long ago, I began experimenting with IdentityServer for my personal learning and development. So far I am learning the limits of my tolerance and developing a strong desire to throw my toys out of the pram. I will try formulate a coherent plea for help on the relevant discussion board next week. I know its a case of PICNIC (Problem in chair not in computer) because the corresponding quickstart works with no intervention, but despite all the resources that I can find on line, I cannot get my API to authenticate since I had to change laptops earlier this month. I had been aping the quickstart on the previous machine and now I want to be able to set my own address, names etc. This is not the forum for technical specifics but I would like to know what sentiment is out there based on using IdentityServer4.

    Ger

    The Lounge help json question discussion learning

  • Safe Storage of Secrets in .NET
    G Ger Hayden

    Afzaal Ahmad Zeeshan wrote:

    I am not sure why you didn't read the documentation for this tool, Microsoft had already made it pretty much clear that this tool is not for "securely storing your credentials", rather "storing your secure credentials". There is a huge difference,

    Chances are I missed it when reading it, although I'm not sure whoose documentation I read on the subject so it might not even have been mentioned. Either way it was lost on me.

    Afzaal Ahmad Zeeshan wrote:

    They are merely encrypted, anyone who has access to your machine—since this data is in your machine—has access to that database,

    This is why I move away from database storage in the first place.

    Afzaal Ahmad Zeeshan wrote:

    For example, on Microsoft Azure you should use Azure KeyVault

    And this is the real value in your response. :thumbsup:

    Ger

    ASP.NET csharp asp-net database dotnet windows-admin
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups