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:666744
More Search Options
RSS Available
Matching Posts
Re: Overriding Authorize attribute
But all actions require authorization, just there are two different roles
Posted to
ASP.NET MVC
(Forum)
by
radco
on 12/13/2009
Current action and controller
Hi, is there a way to find out, which action and which controller is actually executing? Can I read it if I have a input parameter of HttpContext? Thanks
Posted to
ASP.NET MVC
(Forum)
by
radco
on 12/13/2009
Context of attribute
Hi if I override AuthorizeCore of AuthorizeAttribute, how can I find out if this attribute is attached to controller (class) or action (method)? If it is possible I want to ask also how to find out name of that class or method? Thanks
Posted to
ASP.NET MVC
(Forum)
by
radco
on 12/13/2009
Re: Overriding Authorize attribute
Thanks for attempts, but I want something bit different. I want to restrict access on controller level, but for some actions I want to specify another restrictions (it means, that I just don`t want that restriction on controller level to apply). I think I can achieve it in this way. I create a custom class that derive from AuthorizeAttribute and I override AuthorizeCore method. There I check if this attribute is attached to controller. If true, then I get action method name from RouteData and I use
Posted to
ASP.NET MVC
(Forum)
by
radco
on 12/13/2009
Overloading methods in controller
Hi, I want "Index" method on controller, but I want to enable paging. Here is code from my controller public virtual ActionResult Index() { return Index(1, 20); } public virtual ActionResult Index(int from, int to) { var projekty = (from p in DataContext.projekts orderby p.nazov select p).Skip(from - 1).Take(to - from); return View(projekty); } How should I write routes to global.asax to process theese methods. Whatever I try, I get an exception "ambigious". Thanks x
Posted to
ASP.NET MVC
(Forum)
by
radco
on 12/9/2009
Automated web tests
Hi can you advise me any good tools or frameworks for automated web tests? Ideal framework is integrated into Visual Studio, has tools for recording of tests, abbility to customize test steps using .NET code (C#, VB.NET), documentation includes How-Do-I screencasts. The best I have found looks to be from ArtOfTest. Any other suggestions? Thanks
Posted to
Getting Started
(Forum)
by
radco
on 9/22/2009
Re: Automated web tests
I know about this, so something else??
Posted to
Getting Started
(Forum)
by
radco
on 9/22/2009
Exceptions and StackTrace
Hi, I used to catch unexpected exceptions and record them to database for later analysis. I recorded Message, Type and StackTrace of exceptions. Everything worked fine while everything was in one project. Then I decided to split functionality and business classes to separate dll and to reference it in web project. Unhandled exceptions are still captured, but StackTrace contains only data to place where call of method on class from that dll is done. It doesn`t go deeper to tell me, in which method
Posted to
Getting Started
(Forum)
by
radco
on 8/7/2009
How can I identify which version of Silverlight is installed in browser?
Hi, I know how to find out if browser supports silverlight (a boolean value). But how can I identify which version is the latest? Or list of all supported? Thanks
Posted to
ASP.NET AJAX UI
(Forum)
by
radco
on 4/6/2009
Re: How can I detect in MVC application if browser supports Silverlight
Can`t I do it server side?
Posted to
ASP.NET MVC
(Forum)
by
radco
on 3/31/2009
Page 1 of 13 (124 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
Developing an installer for your Surface application
ASP.NET:
Visual Studio 2010 and .NET 4 Update
WindowsClient:
Microsoft’s product placements in The Big Bang Theory
Channel 9:
Channel 9 Live at PDC09: Martin Cron
Channel 9:
Channel 9 Live at PDC09: Erik Meijer and Thomas Lewis
WindowsClient:
Download Data Services Update for .NET 3.5 SP1
Silverlight:
Extending the SMF for the HVP
Silverlight:
Extending the SMF for the HVP
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 12 of 13
Channel 10:
Bing Maps Update: Map Embeds and Draggable Routes
WindowsClient:
New WPF Showcase: WEB Touch
ASP.NET:
ASP.NET MVC 2 RC Released
WindowsClient:
Very exciting Microsoft Pivot from Live Labs
WindowsClient:
XAML for UI & .rc files
TechNet Edge:
DNS Security (DNSSec) Overview
Silverlight:
Silverlight 4 demos from my PDC Keynote now available
Channel 9:
Channel 9 Live at PDC09: Dave Campbell
Channel 9:
Channel 9 Live at PDC09: Yousef Khalidi
Channel 9:
Twitter App for Zune Launches
WindowsClient:
Incarnate
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online