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:562574
More Search Options
RSS Available
Matching Posts
Inherited Profiles
I read an article on MSDN (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/userprofiles.asp) that says you can create a profile class and then tell the Profile object to inherit from that class. All of the properties defined in the class are supposed to be saved automatically. But, the properties from an inherited profile will not save. Is there a trick to this? Web.Config <profile inherits="MyProfile"> ... </profile> MyProfile.vb Imports System
Posted to
Web Parts and Personalization
(Forum)
by
damon.armstrong
on 3/16/2005
Re: Configuration Management App. Block in .NET 2.0
If you add the following lines to the GetValueFromXml function (on line 178 of the XmlSerializableHashtable.vb file) then the appication *seems* to work: If value.GetType Is GetType(String) Then Return value End If
Posted to
Microsoft Application Blocks
(Forum)
by
damon.armstrong
on 1/23/2005
Configuration Management App. Block in .NET 2.0
Here's a question for a Microsoft Insider or a Application Block expert. I have a beta of .NET 2.0, so I loaded up the Configuration Management Application Block Hash Table Quick start. The conversion ran succesfully. There was one error in SQLHelper.vb of the Data Application Block. I changed line 772 from: Return ExecuteReader(CommandType.StoredProcedure, spName, commandParameters) to Return ExecuteReader(connection, CommandType.StoredProcedure, spName, commandParameters) Then I ran the Hash Application
Posted to
Microsoft Application Blocks
(Forum)
by
damon.armstrong
on 1/23/2005
Re: Error in the Data Access Application Block (v1)?
FYI, I'm referring the SQLHelper.vb file in the Application Block.
Posted to
Microsoft Application Blocks
(Forum)
by
damon.armstrong
on 1/23/2005
Error in the Data Access Application Block (v1)?
I was trying to compile the Data Access Application Block in .NET 2.0 when I came across an error. Take a look at the following code in the file: 766: 'if we receive parameter values, we need to figure out where they go 767: If Not (parameterValues Is Nothing) And parameterValues.Length > 0 Then 768 commandParameters = SqlHelperParameterCache.GetSpParameterSet(connection.ConnectionString, spName) 769: 770: AssignParameterValues(commandParameters, parameterValues) 771: 772: Return ExecuteReader
Posted to
Microsoft Application Blocks
(Forum)
by
damon.armstrong
on 1/23/2005
Re: whats the memo field for Sql Server 2000
It should be called "text"
Posted to
Getting Started
(Forum)
by
Damon.Armstrong
on 1/14/2005
Re: How to genereate a SHORT cipertext
Here's a fun function that will generate a strong crytographic set of bytes in an array Public Function CreateByteArray(ByVal Size As Integer) As Byte() 'Generate a cryptographic random number using the cryptographic service provider Dim rng As New RNGCryptoServiceProvider Dim buff(Size - 1) As Byte rng.GetBytes(buff) Return buff End Function Then you can call Convert.ToBase64String(CreateByteArray([size])) Unfortunately, the size portion of this refers to the Array. When you convert it to a Base64String
Posted to
Security
(Forum)
by
Damon.Armstrong
on 1/14/2005
Re: need HELP (User.IsInRole )
Put a break on the line that reads Dim astrRoles() As String = fat.UserData.Split("|") Make sure that the UserData property contains multiple roles and that "|" is actually the delimiting character.
Posted to
Security
(Forum)
by
Damon.Armstrong
on 1/13/2005
Re: How to genereate a SHORT cipertext
You could use the Rnd() function, which generates a random number, to help you generate a cipher string. It would look something like this: dim s as string for x as integer = 1 to HoweverLongYourStringNeedsToBe s &= Chr(Rnd() * 255) next Of course, you will have to tweak it because there are some characters that you just can't use for file names, and others that you just shouldn't use at all (like 1-10 are special, I think).
Posted to
Security
(Forum)
by
Damon.Armstrong
on 1/13/2005
Re: Forms authentication (Iframe issue)
Your problem is this, the page opening in the iFrame realizes that the session has expired and knows that the user is logged out, so it redirects the user to the login page. The page that contains the iFrame is still sitting there without a clue that the user is logged out and the session is gone. What you need is some way of informing the page that contains the iFrame that it needs to redirect to the login page. You could do this. Place JavaScript on your login page that will detect if login page
Posted to
Security
(Forum)
by
Damon.Armstrong
on 1/13/2005
Page 1 of 5 (46 items) 1
2
3
4
5
Next >
Channel 9:
Karsten Januszewski and Tim Aidlin: Introducing Incarnate
Channel 9:
Reactive Extensions API in depth: Retry
Channel 10:
iBing uBing: Bing iPhone App Arrives
WindowsClient:
Migrating an Outlook Client to .NET Framework 4 in Visual Studio 2010
Channel 10:
A Look Behind Mouse 2.0
WindowsClient:
Using Speech Synthesis in .NET 4 and Windows 7
Channel 10:
Office 2010 "5 Rules" Presentation
Channel 10:
30% off Expression Web 3 until Dec 28th
ASP.NET:
Live Preview jQuery Plugin
WindowsClient:
Remember JScript closures capture all variables in scope
TechNet Edge:
UAG reaches RTM
Channel 9:
Who, What, When, Where, Why and How of MIX10
Channel 10:
Berlin Wall in Silverlight
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 2, Installation
Silverlight:
Contributing to the SL HVP
Silverlight:
Best SF Books of All Time
Channel 9:
Reactive Extensions API in depth: Repeat
Channel 9:
Jeffrey Van Gogh: Testing Rx with Pex
Channel 9:
The Visual Studio Documentary: Dan Fernandez Full Length Interview
ASP.NET:
Search Engine Optimization (SEO) Toolkit
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online