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
R

Ray Cassick

@Ray Cassick
About
Posts
3.7k
Topics
374
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Multiple SilverLight apps
    R Ray Cassick

    Hmmm.. Thanks for the info. Looks like I have a bunch of reading to do :) Just relay odd that I don't ever really seem to see any videos on the web about doing this type of stuff. Maybe that's a hint to me to do something...


    LinkedIn[^] | Blog[^] | Twitter[^]

    WPF

  • Multiple SilverLight apps
    R Ray Cassick

    I will have to play around and give it a whack this weekend. Thanks.


    LinkedIn[^] | Blog[^] | Twitter[^]

    WPF

  • Why I am hating Hotmail today
    R Ray Cassick

    Tried.. even added them as a contact that I trust, but I am still getting 'protected'.


    LinkedIn[^] | Blog[^] | Twitter[^]

    The Lounge

  • Why I am hating Hotmail today
    R Ray Cassick

    Hmmm... You know... actually... Games. I have to admit that not many games tick me off. I used to use all the old ones like Duke Nukem and a bunch of others that sadly now I simply can't run because they are so old that the CPU is far too fast. Really makes me want to just put together an older PC and load some of the older stuff for memories and some classic killer time. One I used to play all the time was one that I can't remember her name now.. name.. what the heck was it.. You used to be able to move her around in the forest and fight animals and climb around on mountains and stuff.. Man, what the heck was that name... I used to have some great utilities too... WAY back the great tools to allow you to copy files between folders and all those neat apps, before they tried to get cool and shinny and snappy looking... Ah, the good old days...


    LinkedIn[^] | Blog[^] | Twitter[^]

    The Lounge

  • Why I am hating Hotmail today
    R Ray Cassick

    I am really getting tired of their attempt to 'protect me' from stuff... I sit in on some online presentations from a company called Northwest Cadence, and every time they send me a confirmation Hotmail 'protects' me from them and puts the email as some type of guarded message that I have to click extra just so that I can read the freaking screen. Grrrr... I can't seem to have any place to update them either so I can't seem to get Hotmail to understand that 'I' trust them. What a pain. Really starting to wish that I could just opt to turn everything they have as an 'option' either on or off. Oddly enough... I am starting to get used to Google Chrome, but I am sure that I rill run into something about them that also annoys me soon enough :)


    LinkedIn[^] | Blog[^] | Twitter[^]

    The Lounge

  • Do people search any more?
    R Ray Cassick

    No... no one searches anymore... Sucks, but it is true... and yeah, I get your comments on Google too. They are really starting to get my goat lately. Just pulling up a list of results is not only forcing the actual site URL down to a latter page but you also get that freaking picture of the site now when you hover over a link. Its really starting to get annoying. I also need to understand why I need to keep trying to kill the GoogleToolbarNotifier and the other things that it wants to have running in the background all the time. Why can't I just use their freaking toolbar when I want to and then when I go to their site have them tell me THEN that I have an older version and may want to upgrade. Man...


    LinkedIn[^] | Blog[^] | Twitter[^]

    The Lounge

  • Multiple SilverLight apps
    R Ray Cassick

    I just can't seem to locate anything that gives me definitive stuff on being able to host multiple individual SilverLight applications on one web page. I am looking to be able to create a few different individual SilverLight apps and place then on different areas of the page so the user can interact with them individually. Just seem to be having a hard way to show how this is done. Any good examples anyone is aware of?


    LinkedIn[^] | Blog[^] | Twitter[^]

    WPF

  • Login Form
    R Ray Cassick

    Seems odd too.. have not noticed that recently... You could try just setting the width of the container it is in and then setting the width of each thing that goes into the grid space to be 100% of that. Might help keep things more consistent.


    LinkedIn[^] | Blog[^] | Twitter[^]

    Web Development

  • Oddness that I never noticed before
    R Ray Cassick

    Working around in some XAML lately and have come across some odd stuff in the way commented code seems to be handled, or rather actually, not handled. Note: Apparently writing XAML code in the editor is a PITA to get it formatted looking well so you may have to look at my examples a bit... Just being able to add some typical comments inside some basic XAML looks like so:

    So now, I want to comment out my code as a whole and I try to just wrap my start and end tag inside of its own set of XML comment tags and I get:

      -->
    

    Error = Comments cannot contain two adjacent hyphens '--', Two adjacent hyphens '--' must be followed by a close angle bracket character '>' to terminate the comment. This however is just fine apparently:

    It just seems really odd that the editor seems to have such an issue with the commenting stuff when you are using multiple comment lines:

    Web Development

  • How to get a list of all the APIs exposed by a web service?
    R Ray Cassick

    It seems to me that once you hit that service using the tool it should be providing you with a list of all the available web enabled services that you can access.


    LinkedIn[^] | Blog[^] | Twitter[^]

    C#

  • Debug.WriteLine
    R Ray Cassick

    Decided to just bite the bullet and use the 'Reset all settings' option in the 'Import and Export Settings Wizard'. Seems to have resolved the issue. I now have my stuff back written to the Output window now...


    LinkedIn[^] | Blog[^] | Twitter[^]

    C#

  • Debug.WriteLine
    R Ray Cassick

    Looks good to me... I even changed my setting over to release, ran it and then went back to debug and reran it thinking maybe there was a corrupted configuration or something... No luck...


    LinkedIn[^] | Blog[^] | Twitter[^]

    C#

  • Debug.WriteLine
    R Ray Cassick

    Ok, I have just about had enough... Two systems, one laptop one desktop. Built the same small test app on each one. Just a button that when clicked writes the following: Debug.WriteLine("Test"); The laptop writes the 'Test' out tothe debug window just fine... the desktop doe snot. Ready to really throw a fit here... Any ideas before I toss things out the window? Aaaaaaaaaaaaaaaaaaa


    LinkedIn[^] | Blog[^] | Twitter[^]

    C#

  • Bad websites lately...
    R Ray Cassick

    Don't think so... I can go to the actual CAPTCHA web site using the same browser I always use and use their demo test tool and it works fine there. I have a sneaky suspicion that a ton of sites are just 'doing it wrong'.


    LinkedIn[^] | Blog[^] | Twitter[^]

    The Lounge

  • Bad websites lately...
    R Ray Cassick

    Just asking a question out there... Am I the only one that seems to be having a ton of issues with web sites that require you to enter in the CAPTCHA stuff? In the last month I have tried to sign up for at least 4-5 web sites that require this and after I get all the way down tot he bottom of the form I see the message asking me to 'Enter in the code as shown in the image below to validate that I am a person and not an automated system' and but there is no CAPTCHA UI shown on the screen at all. Not even the CAPTCHA 'stuff' with just the letters missing, it is like the entire div on the =age that houses the interface is simply not there.


    LinkedIn[^] | Blog[^] | Twitter[^]

    The Lounge

  • Taking the fall
    R Ray Cassick

    Actually, by simply getting up again you prove that you HAVE gotten stronger :)


    LinkedIn[^] | Blog[^] | Twitter[^]

    The Lounge

  • Voting Functionality -- Incoming Traffic
    R Ray Cassick

    I am getting a bit confused here about what it is that you are REALLY trying to get to... I am sure that your system could probably just do a numeric increment (IE: username1@..., username2@..., etc...) but that is not going to guarantee that someone has those addresses registered, or even wants you know know about them or use them. I would rather see that you just stick yo your initial requirements really. Your original requirements were to allow people to only vote once. YOU cannot be responsible for people that have multiple email addresses setup (like I do - in reality almost 12 in total for various reasons) nor do I think it is your responsibility to care really. If someone signs up like that whats the big deal? I would think that making assumptions bassed upon some personally designed algorithm could lead you down a slippery path of ticked off customers more than anything in the long run. Do some basic checking (IE: If they are dumb enough to sigh up using different user names but then use the exact same user name and password, or actual name, or addresses, etc...) and remove them, but the others, whats the big deal?


    LinkedIn[^] | Blog[^] | Twitter[^]

    Design and Architecture

  • Async Exception with WCF - Silverlight
    R Ray Cassick

    I would start by running a trace on the system using wireshark to capture the entire transactions, both working and not working, then once you get an error, start by doing a side-by-side and seeing what the REAL differences in the messaging are. Also, could you be at a traffic level that is maybe limiting your available ports at certain load times? Any other exceptions being caught? Is the messaging reliable enough to ensure that your packets are really not getting corrupted or altered in route? If this is a REAL issue for you it may just be time to reach out to a support path like MS or a local vendor. But I would start by actually doing the full side by side using wireshark first.


    LinkedIn[^] | Blog[^] | Twitter[^]

    WCF and WF

  • When to Define a Custom Exception
    R Ray Cassick

    My decision is to define a custom exception when the need to do so is... well... exceptional :) Really though… If you have an exception definition that clearly fits an existing model then use it, why reinvent the wheel at all? If you are creating a new failure state, usually most likely based upon things like a domain specific business rule, then you define a new exception of your own design. BUT you have to keep in mind that quite often even doing this can cause issues because as we all know business rules change. This means that you may want to be slightly less specific and more generalized by defining a business rule exception and allowing it to express the rule broken, and the why it was considered broken enough to trigger the exception. I would like to know what books you say are specifically stating that new exceptions should always be defined instead of using the Dotnet ones. I would have to have a conversation with that author :) I am not even sure I see the value in writing all custom exceptions when creating a whole new code library of your new library is something that sits on top of the Dotnet framework. If you are writing something that is completely disconnected at all form the Dotnet stuff then yeah, you have to create your own exceptions to throw, but that makes no sense in this context really since your question was more related to being told to not use Dotnet exceptions :). If you did want to keep all the exceptions specific to your application layer then there is nothing from stopping you from writing all your own custom exception code, but I would still recommend that you consider catching the Dotnet specific stuff and then just re throwing your own as a general application side exception and then include the Dotnet exception in that object. Seems a bit messy but I guess it is doable and will not require too much writing on your part. Just remember that every additional line of code you have to write can possibly introduce a new error (and thus CAUSE an exception :) ) so I like to keep them down to a minimum. One other argument I would make for maintaining the existing exceptions provided by the framework is that anytime they change you need to ensure that your code changes also. This means that if you have wrapped all of the Dotnet exceptions in your code, any time the framework changes you have to review all those changes to see what effects they have on your code. Not that you may not have to do the same if the base libraries change their exceptions and you have to catch th

    .NET (Core and Framework)

  • Voting Functionality -- Incoming Traffic
    R Ray Cassick

    ??? Ummm... Voting... require them to log in using a username and password and then store what they already voted for. DO NOT restrict them based upon IP address because that will just lead down a slippery slope of recycled addresses provided by ISPs. Now the other question.. Why are you even asking… if you look around there are tons of pre done sites that you can leverage for things like this. Why redesign your own? How can you be SURE of the expected incoming traffic?


    LinkedIn[^] | Blog[^] | Twitter[^]

    Design and Architecture
  • Login

  • Don't have an account? Register

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