Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:707604
More Search Options
RSS Available
Matching Posts
TempData works with RedirectToAction but not RedirectToRoute
Anyone know why I can hold the TempData for the next action using RedirectToAction but if I try and use RedirectToRoute it is null? Thanks!
Posted to
ASP.NET MVC
(Forum)
by
MikeBosch
on 4/11/2009
Re: OutputCaching and LoginUserControl - still showing logged in
Thanks! I will look into this. However, it is surprising that there's no out-of-the-box solution for this. It seems that it would be a very common problem. If one person logs in, goes to a cached page either 1. they won't see the logout link (instead seeing a link to log in) or 2. someone else who is not logged-in in some other part of the world will see a "My Account | Logout" link. Guess I'll just remove the caching from my controller :-(
Posted to
ASP.NET MVC
(Forum)
by
MikeBosch
on 3/17/2009
OutputCaching and LoginUserControl - still showing logged in
I have enabled the OutputCache attribute on a couple of my controller methods. I am also using the Login partial view on the header of my pages to show the log in status. If I logout, the pages that I'm using the OutputCache on still show me as logged in. Anyway of dealing with this inconsistency?
Posted to
ASP.NET MVC
(Forum)
by
MikeBosch
on 3/16/2009
Filed under: caching
Re: validateRequest appears to be kicking in in MVC RC1 despite settings
So whats the point of this in the web.config:
Posted to
ASP.NET MVC
(Forum)
by
MikeBosch
on 1/30/2009
Re: Poll: How many people were affected by the change to use Relative URLs, or the regression in RouteURl?
BOOM! Bye bye all my links. I use RouteLink extensively because I read somewhere that it was better for performance. Unfortunately, performance is no longer a factor since I can't leave the home page. :-(
Posted to
ASP.NET MVC
(Forum)
by
MikeBosch
on 1/29/2009
Re: Set a view as E-Mail body
Not really answering your question, but for scenarios where I'm sending emails I have an IEmailGateway which using the MailDefinition class to create my templated emails.
Posted to
ASP.NET MVC
(Forum)
by
MikeBosch
on 1/26/2009
Re: New to MVC, and I am expanding on Mike Bosch's treeview example.
Hi there, I had thought of this when deciding if I would have one category table or two category tables. I decided to have just one category table with a ParentID field. For your scenario, you could create a common interface like ICategoryEntity and just use a IEnumerable<ICategoryEntity> instead of the concrete classes. I just the single table approach because it gives me more flexibilty to go down to n-levels of the heirarchy.
Posted to
ASP.NET MVC
(Forum)
by
MikeBosch
on 1/26/2009
[^o)] How to do this with RenderPartial?
Is it possible to do something like this? I'm trying to pass values into the partial view. I know I could instatiate a new ViewDataDictionary, but I think it would be cleaner to do it like this: <% Html.RenderPartial("SummaryControl",new{property1="hello",property2=100}); %> How would I be able to access those properties from the viewusercontrol? I'd expect that it would be available like this: ViewData["property1"] ViewData["property2"]
Posted to
ASP.NET MVC
(Forum)
by
MikeBosch
on 1/7/2009
Re: Mapping more than one query string parameter to a pretty url
I handled something similiar to this by creating new routes and adding constraints. You can actual add constraints like: {order="toprated|worst|best"} This could be placed before the other route and it would match that route. But beware, this will break if you have a valid parameter that actually starts with those keys. Like "Best Burgers, Inc." or whatever.
Posted to
ASP.NET MVC
(Forum)
by
MikeBosch
on 1/6/2009
Re: How to redirect to login page if session expires? -ASP.NET MVC
Is there a way to remove forum posts that aren't related to ASP.NET MVC like the 3 prior attempts at answering this question?
Posted to
ASP.NET MVC
(Forum)
by
MikeBosch
on 12/30/2008
Page 1 of 13 (127 items) 1
2
3
4
5
Next >
...
Last ยป
ASP.NET:
How important is medium trust to you?
WindowsClient:
Microsoft Web Platform & You
WindowsClient:
New Book: Developing for Microsoft Surface
Channel 9:
BugCamSmash in Action!
Channel 9:
Virtual Earth Videomap Movies
TechNet Edge:
AD RMS Certificates and Licensing on the Client and the Server
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 10 of 13 [C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 10 of 13]
Channel 10:
Bing Launches 2nd Homepage Photo Contest
Channel 10:
Bing4Free Lets You Use Bing.com Images for Desktop Wallpaper
Channel 10:
Bing Updates: Streetside Views, Photosynth, and "Mapplications"
Channel 10:
Bing for Windows Mobile Updated
WindowsClient:
New WPF Showcase: Bling Tweets
WindowsClient:
Tale of two tweets - VS beta - is it busy 70% of the time or is it brilliantly fast?
TechNet Edge:
Forefront TMG URL Filtering and MRS
Mix Online:
Using the HTML5 Video and Audio Tag with Gestalt
WindowsClient:
Subclassing Shape (or more accurately, Path)
WindowsClient:
Having trouble deleting files? Try this
Channel 9:
Nick Baker: Xbox Architecture
TechNet Edge:
Thrive Live! Behavioral Interviewing: A behavioral answer is always the correct answer
ASP.NET:
PDC and Tech-Ed Europe Slides and Code
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online