Search

You searched for the word(s): userid:616556

Matching Posts

  • Re: MVC: Oh, I wish I had a crystal ball....

    [quote user="theozco"]With the current implementation of of the ModelBinders, yes- they are tied to the Form/Request. My ramblings were aiming about abstracting this to a higher level where the thought is "We have inputs from somewhere that need to translate in to our models and validate them in the process." Yes, in ASP.NET we have Request.Params that we're translating- however just the same, I can have WCF [DataMethod]'s that translates inputs in to my Models. ...I guess
    Posted to ASP.NET MVC (Forum) by theozco on 10/17/2008
  • Re: MVC: Oh, I wish I had a crystal ball....

    Thanks for your thoughts... [quote user="bradleylandis"] Model Binders Aren't the model binders inherently tied to the System.Web.* namespace because they depend on the Form/Request infrastructure. I think of WinForms as a totally different beast when it comes to capturing input and validation and it already has a binding framework. As for WCF, I could be ignorant here, but as far as I know WCF isn't a UI framework and therefore you shouldn't have to worry about validating input
    Posted to ASP.NET MVC (Forum) by theozco on 10/13/2008
  • Re: Generate javascript from App_GlobalResources for localization support

    I wrote a very complex one for MySpace. Many of the developers were asking for it-- so you're not alone here and it isn't a silly question. However, as I said, its a complex solution. Basically, I created a static method that would lazy load a dictionary and save it in the context.Items. Then I used a ControlAdapter to hijack the rendering of the <head> tag of every page. If it found resource strings in the context.Items dictionary it used the JavascriptSerializer to create a json object
    Posted to ASP.NET MVC (Forum) by theozco on 10/13/2008
  • Re: MVC preview 5 with VS 2008 SP1

    I'm running 2008 with preview 5 with great success. ...as expected- there are SOME issues with the preview code- however, it functions just fine for the majority of situations.
    Posted to ASP.NET MVC (Forum) by theozco on 10/13/2008
  • MVC: Oh, I wish I had a crystal ball....

    Previews, Previews, and more Previews. Love 'em… but it is hard to see the big roadmap sometimes. We've been furiously pumping out new business logic and the code to expose it via our new friend: the ASP.NET MVC framework. Keeping up with the previews is a lot of work on its own… but I think that's a good thing! (it shows how furious the MVC team is working). Read the blogs… any tech docs I can find… the forums… and only god knows how many hours I've logged in reflector. I have MANY
    Posted to ASP.NET MVC (Forum) by theozco on 10/13/2008
    Filed under: ModelBinders, Roadmap, Abstractions, FormCollection
  • Will there be a light(er)weight ViewPage?

    For those that don't know, ViewPage inherits from our old friend: System.Web.UI.Page. The Page class is quite the mound of code!... with the obsolete things, async framework, ClientScript, postbacks framework,... the list goes on. My point here is that it doesn't seem that the System.Web.UI.Page class should be involved with MVC in the future. My guess is that the MVC team did this because it made it easier and faster to get MVC up and running initially. ... but will this inheritance chain
    Posted to ASP.NET MVC (Forum) by theozco on 8/14/2008
    Filed under: page, System.Web.UI.Page, viewpage, inheritance
  • Re: Controller offering download (from COM) AND redirect?

    Yeah- using Response.Write would be considered part of the view-- so you're right to feel dirty. So, I'm guessing you feel dirty creating a ViewPage that does the Response.Write in Page_Load because you don't actually need a page. If you want to feel a little less dirty-- You can render just a ViewUserControl on its own. BUUutt.... If you want to be really lean, use this as your action method: public ActionResult Index() { return new SimpleResponseActionResult(); } And then create a class
    Posted to ASP.NET MVC (Forum) by theozco on 8/14/2008
  • Re: AspCompat=true does not work with MVC

    OY! I finally hacked it together... well for my purpose anyhow. It is ugly... but it works. Basically, I just wanted to run a handler that will dish out a dynamic image that is generated with WPF (which requires STA). I found Jeff Prosise's Wicked Code article: Running ASMX Web Services on STA Threads which helped a lot -- but I want to use the MVC pattern so I can do the cool testing and wire it up to my cool routing. However, the way MVC is set up under the hood (see my first post) adds several
    Posted to ASP.NET MVC (Forum) by theozco on 8/8/2008
    Filed under: MVC, session state, web service, tempdata, TempDataDictionary
  • AspCompat=true does not work with MVC

    I couldn't find any info on this-- so I guess it is time for me to contribute once again.... AspCompat=true does not... and cannot work under MVC. Here's my findings: The RenderView() method calls the System.Web.UI.Page.ProcessRequest() method directly-- never checking if it is AspCompat=true. It can't just simply check it in RenderView() however. To properly setup the threading, we need to go back further in the process-- back to the MvcRouteModule. When the module finds a route, that
    Posted to ASP.NET MVC (Forum) by theozco on 8/7/2008
    Filed under: MVC, STA, AspCompat, MTA
  • Re: Windows 2003 Event log ASP.Net 1315. What does that mean?

    I wish you had some feedback on this. My application log is flooded with them. I had to reinstall Windows 2003 on my server. When I got my website back up, the flood gates opened! I create an encrypted AuthTicket and save it to the User's cookies. Every time they request a page, the ticket is decrypted to get their credentials. The best I can figure is that all my user's tickets are invalid now. When they try to log in, some of the users are getting duplicate Cookies. It seems that if the cookie
    Posted to DotNetNuke (Forum) by theozco on 1/2/2006
Page 1 of 2 (17 items) 1 2 Next >