RudiVisser's Profile User Rating: -----

Reputation: 1004 Grandmaster
Group:
Mentors
Active Posts:
3,564 (1.76 per day)
Joined:
05-June 09
Profile Views:
65,915
Last Active:
User is offline Jun 23 2014 01:14 AM
Currently:
Offline

Previous Fields

Country:
GB
OS Preference:
Windows
Favorite Browser:
Opera
Favorite Processor:
Intel
Favorite Gaming Platform:
Playstation
Your Car:
Mercedes
Dream Kudos:
225
Expert In:
PHP, MySQL, HTML, CSS, C#

Latest Visitors

Icon   RudiVisser has not set their status

Posts I've Made

  1. In Topic: MVC , dropdown lsit

    Posted 15 May 2014

    What is your problem, what have you tried exactly?
  2. In Topic: Looking for an experienced developer.

    Posted 23 Apr 2014

    So you're looking for somebody to design the software for your company with no payment, in return for a 10% stake in a system that they built 100%?

    Basically.
  3. In Topic: parts of an n-tier application

    Posted 23 Apr 2014

    Entity Access Layer? ie. the models for Entity Framework, just as you have models for your business and data layer.

    However, I've never seen so much benefit in separating the two, nevermind 3, from one another. Especially when it comes to using POCOs as your data models, that's sortof the point in that they're multifunctional.

    Anyway, the file names will be the same as they are probably mapping to one another as they're essentially the same thing. It's hard to say without contents of said files.
  4. In Topic: Two Models into one View

    Posted 23 Apr 2014

    The best way to do this is probably to use a View Model to consolidate your two Models.

    That is, something like this:
    public class MyPageViewModel
    {
        public ModelX X { get; set; }
        public ModelY Y { get; set; }
    }
    


    In your view, you can post to your Ajax Actions by just referencing that model, like so:
    @using(Ajax.BeginForm(...)) {
        @Html.LabelFor(m => m.X.Property)
        @Html.LabelFor(m => m.X.Property)
    
        <input type="submit" />
    }
    


    .. and accepting the model in your action:
    public ActionResult MyAjaxMethod(ModelX model) {
        if (ModelState.IsValid) {
            ...
        }
    }
    
  5. In Topic: Redirect Login from multiple applications to a single application

    Posted 23 Apr 2014

    What went wrong with your approach?

    Obviously there are quite a few things to consider here when it comes to using the built in authorisation and authentication providers. What I would do is look to implement your own Authorisation provider that can read a token from a cookie that AppA provides.

    I actually had to handle this not so long ago with a WebAPI project. The WebAPI would handle all forms of identification and return a token to the client to use how it pleases, for all further authenticated requests it would pass back the token to the WebAPI to authenticate. That may be too complex for what you're trying to achieve.

    If you post your actual thinking behind this (ie. is it just for simplification or what?) then we may be able to help you further.

My Information

Member Title:
.. does not guess solutions
Age:
24 years old
Birthday:
November 20, 1990
Gender:
Location:
Manchester, UK
Full Name:
Rudi Visser
Years Programming:
8
Programming Languages:
C, C++, ASM, C#, PHP/MySQL, XHTML, CSS

Contact Information

E-mail:
Private
MSN:
MSN  devmsn@rudivisser.com
Website URL:
Website URL  http://www.rudiv.se/
Skype:
Skype  muppetalert
LinkedIn:
http://uk.linkedin.com/in/rudiv
Facebook:
http://www.facebook.com/puppetalert
Twitter:
rudi_visser
Xfire:
muppetalert

Comments

  • (2 Pages)
  • +
  • 1
  • 2
  1. Photo

    sexie gal Icon

    09 Mar 2012 - 11:34
    Why do we need temporarycodes
  2. Photo

    E_Geek Icon

    11 Sep 2011 - 12:50
    :O I'm waiting on my free professional design! My big bruv told me it would be done by the time I start uni, which is friday, but I have a sneaky suspicion he may have been lying, since he told me it would be done next weekend :|
  3. Photo

    calvinthedestroyer Icon

    06 Sep 2011 - 19:40
    $10 say's that's not you in your profile pic smooching some girl :P
  4. Photo

    e_i_pi Icon

    06 Sep 2011 - 00:11
    Congrats on the promo!
  5. Photo

    Dormilich Icon

    05 Sep 2011 - 04:28
    Congratulation to your promotion!
  6. Photo

    codeprada Icon

    02 Sep 2011 - 11:38
    Congratz on the promotion.It was well deserved.
  7. Photo

    Dormilich Icon

    12 Aug 2011 - 01:23
    for your session tutorial: http://www.dreamincode.net/code/snippet5498.htm
  8. Photo

    codeprada Icon

    05 Aug 2011 - 10:09
    Pretty good blog you got there ;)
  9. Photo

    EnvXOwner Icon

    22 Jul 2011 - 12:37
    No problem :)
  10. Photo

    EnvXOwner Icon

    22 Jul 2011 - 05:59
    Hey man, your site's awesome. I could suggest that you increase the line-height. In the recent news section the letters are touching each other.
  11. Photo

    gabehabe Icon

    28 Jun 2011 - 03:24
    LUV U
  12. Photo

    pwz2000 Icon

    25 Mar 2011 - 07:31
    I was looking for a coder who could finish a humor website in six months of time.
  13. Photo

    pwz2000 Icon

    25 Mar 2011 - 07:24
    I sent you a e-mail to your MSN id about freelance opportunity,
  14. Photo

    gabehabe Icon

    10 Mar 2011 - 09:28
    Ruuuuuuudiiiiiiiiii!!! <333333333
  15. Photo

    nick1200 Icon

    07 Nov 2010 - 09:40
    would you be able to code me a new pokemon rpg ? if so how much would i have to pay :)
  • (2 Pages)
  • +
  • 1
  • 2