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:616110
More Search Options
RSS Available
Matching Posts
Re: PrincipalPermissionAttribute not enforced
Hi: I figured out the problem. The class also has a PrincipalPermissionAttribute applied to it. When I remove it, the one on the method works as expected. In the 1.1 .NET Framework, the attribute was applied to the method even if there was the attribute on the class. Now I'm going to check to see if it is a known bug,
Posted to
Security
(Forum)
by
RobC04
on 10/21/2005
PrincipalPermissionAttribute not enforced
Hello: I have a method in a class library with the following declaration: <PrincipalPermissionAttribute(SecurityAction.Demand, Role:= "xxxx" )> _ Public Shared Function NewCarrier( ByVal planYear As Integer ) As Carrier Role "xxxx" is a fictitious one that nobody belongs to. I wanted the check to fail. When the method is called from my asp page, it executes successfully. We implemented a custom principal object which is set to the thread's CurrentPrincipal in global.asax before it reaches this
Posted to
Security
(Forum)
by
RobC04
on 10/20/2005
Cassini has intermittant serialization exception when accessing serializable object in Session.
Get intermittent SerializationException during page request when using Cassini during website project development. I believe this is because we create a custom principal object and store it in Session upon authentication. This is then retrieved from Session in Application_AcquireRequestState. Although all the code executes without error, we intermittantly get an instead of the requested page. I think this may be related to bug FDBK29269 eventhough we are not doing any remoting like they were in that
Posted to
Getting Started
(Forum)
by
RobC04
on 9/2/2005
Re: Web Setup & precompiled project
Thank you very much for your reply, although I wish the answer was different! I will see if MSBuild makes this any easier. Thanks again, Rob
Posted to
Configuration and Deployment
(Forum)
by
RobC04
on 7/15/2005
Re: Web Setup & precompiled project
Hi, I have the same issue as mentioned in this post, but I don't believe Qing's post fully addresses it. If you precompile to a temporary directory and try to include those dlls, you have to do so manually. This means as a new web page (if batch compilation mode isn't used) or new folder (if batch compilation mode is used) is added to the project you must manually go back and edit the setup project. This is error prone and inconvenient. The web setup project should contain an option to include the
Posted to
Configuration and Deployment
(Forum)
by
RobC04
on 7/14/2005
Re: Using Web Setup project to deploy precompiled web site
Hi, I still haven't been able to solve my problem of automatically including the websites precompiled dlls in a web setup project. Am I missing something? How come there is no "Primary Output" option in the "Add Project Output Group" for a website project? I have seen it mentioned in other posts / websites, but it doesn't appear in my beta 2 version of Visual Studio 2005. Maybe it existed in 2003. This seems like a common requirement. Thanks again for any assistence you can give. Rob
Posted to
Getting Started
(Forum)
by
RobC04
on 7/12/2005
Re: Using Web Setup project to deploy precompiled web site
Hi, Thanks for the reply. Ok, that does fix the changing name problem. Do you know of a way to avoid having to add each precompiled dll to the setup projet, such as doing it by wildcard or specifying all dlls in a folder? It would be nice if setup projects allowed you to specify build output for an asp.net project to use the precompiled dlls. Thanks again for your help, Rob
Posted to
Getting Started
(Forum)
by
RobC04
on 7/11/2005
Using Web Setup project to deploy precompiled web site
Hello: I am trying to deploy a precompiled web site using a web setup project. I only wish to include the precompiled dlls, not any content files. I create a Web Setup Project. I do not include the content files for the website. I COULD manually add files to the file system editor by browsing to the folder that contains the precompiled dlls and add each dll. This would not be an ideal solution for two reasons: - Each time a new page gets created, one would have to manually go back and add its precomiled
Posted to
Getting Started
(Forum)
by
RobC04
on 7/11/2005
Page 1 of 1 (8 items)
ASP.NET:
PDC09: ASP.NET MVC 2: Ninjas Still on Fire Black Belt Tips
ASP.NET:
Hanselminutes Podcast 188: ASP.NET MVC 2 Beta with Phil Haack
ASP.NET:
Hanselminutes Podcast 186: .NET Debugging 101 with Tess Ferrandez
TechNet Edge:
WinRE and free stuff with Sean Kearney
WindowsClient:
XslCompiledTransform and large template elements
WindowsClient:
The Future of Client App Dev : WPF and Silverlight Convergence
Channel 9:
PDC09 GeekFest Party
Channel 10:
How to Use "Play to" and "Remote Media Streaming" in Windows 7
Channel 9:
The Visual Studio Documentary: Jeff Hadfield Full Length Interview
TechNet Edge:
Managing Your Entire World - Tech Focus November 2009 Part 3
Channel 9:
The Access Show: Managing Access Databases with SharePoint
Channel 10:
Show Us Your Tech - Mark Pendergrast Edition
TechNet Edge:
Mark Russinovich interview at TechEd EMEA 09
TechNet Edge:
IT Manager Podcast #31: Talking About Virtualization
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 1: Introduction
WindowsClient:
MSXML XHTML DTDs - making the web better
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 10:
Ebay Launches IE8 Webslice for Holiday Shopping
Channel 10:
New Windows Smartphone Includes Built-in PowerPoint Projector
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online