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:358423
More Search Options
RSS Available
Matching Posts
Re: C# Inheritance and interfaces
Thanks. Nice article. So if you define a variable of the interface type, the advantage is you can assign that variable to any class that implement that interface. For example in your article: IRandomNumberGen Generator; Generator = new RandomNumberCoinFlip(); Response.Write(Generator.GetNextNumber() + "<br />"); Generator = new RandomNumberOuija(); Response.Write(Generator.GetNextNumber() + "<br />"); But if a one of the classes defines a new method, to acess that
Posted to
C#
(Forum)
by
n_m
on 10/13/2009
Re: C# Inheritance and interfaces
Thanks!
Posted to
C#
(Forum)
by
n_m
on 10/13/2009
C# Inheritance and interfaces
I have a question regarding inheritance and interfaces. I was reviewing some sample code for a data access layer, there is a interface called IDBManager, there is another class called DBManger that implements this interface. When using the DAL, the sample code would define a variable based on the interface type. What is the advantages for declaring a variable of type interface IDBManager versus just DBManager. I dont quite understand why you would do this, if you define any new methods or fields
Posted to
C#
(Forum)
by
n_m
on 10/12/2009
Filed under: <C#>
Re: best html to pdf converter tools?
I would recomment taking a look at asppdf. http://www.asppdf.com/ I recently got if for a generating reports in pdf form and it has worked great for me. I have not done a html to pdf conversion, but according to the website it is a supported function. I use other component software from the company and im very pleased with it. I really like how they have great documentation and sample codes, which really helped speed up development.
Posted to
Component Discussions
(Forum)
by
n_m
on 10/10/2008
Re: Login Control. Remember Me Not working
Thanks everyone. I just wanted to followup. After some more research, i found the solution. I noticed that the cookie's were being created, but for some reason the login page would just not redirect. Then i found the following example on some forum, i added to the page_load and now the rememberme checkbox works. If User.Identity.IsAuthenticated = True Then Response.Redirect(Login1.DestinationPageUrl) End If
Posted to
Security
(Forum)
by
n_m
on 10/9/2008
Re: Login Control. Remember Me Not working
Thanks.Ill try this. Another question. If the user closes the browser is the login cookie still be preserved? I would like to have it so users can still close the browser and still be able to be auto logged in within a certain amount of time. Thanks
Posted to
Security
(Forum)
by
n_m
on 9/26/2008
Login Control. Remember Me Not working
Hi, I created a login page using the login control. I am also using a cusomter membershipprovider, with a new validateuser function that i wrote. However the rememberme checkbox does not seem to work. Do i need to write code to handle if the rememberme checkbox was checked and redirect to the destinationpageurl? I was under the impression that this would work automatically. Any help would be appreciated. Thanks! N
Posted to
Security
(Forum)
by
n_m
on 9/25/2008
Re: Custom MembershipUser Sample in VB.net
Any help would be appreciated. Thanks
Posted to
Security
(Forum)
by
n_m
on 2/14/2006
Custom MembershipUser Sample in VB.net
Hi, I have been working on a custom membershipuser class. I have my customer membershipProvider setup, but wanted to expand the membershipuser class. Does anyone know of a sample code to get the membershipuser class going. I got some new properties added, but not sure how to get the base construction for membershipuser called and get those properties populated. thanks in advance
Posted to
Security
(Forum)
by
n_m
on 2/8/2006
VS.net 2005 sln file and web project locations
Hi, Im working with visual studio.net 2005, and i was wondering why by default the .sln files and web project code are kept in seperate locations. Is there a particular reason and advantage for this? Thanks NM
Posted to
Getting Started
(Forum)
by
n_m
on 1/13/2006
Page 1 of 2 (13 items) 1
2
Next >
ASP.NET:
Search Engine Optimization (SEO) Toolkit
ASP.NET:
How the IIS SEO Toolkit Saved My Butt
ASP.NET:
Using WCF RIA Services without Silverlight in Visual Studio 2010 for building 3 tier ASP.NET Applications
Channel 9:
Ping 41: Top stories of 2009, bing, windows 7, laptop hunters, azure
Channel 9:
endpoint.tv - Windows Server AppFabric in action monitoring and troubleshooting
Channel 10:
Windows Marketplace for Mobile Opens to 6.0, 6.1 Phones
Channel 9:
Rx API in depth: Hot and Cold observables
ASP.NET:
Back in Business
TechNet Edge:
Hacking Windows 7 Interview
WindowsClient:
Windows Client Developer Roundup for 12/14/2009
Channel 9:
TWC9: Silverlight Web cam apps, VS extensibility, Explorer shell extensions
ASP.NET:
Visual Studio Project Sample Loading Error: Assembly could not be loaded and will be ignored. Could not load file or assembly or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
WindowsClient:
Working with Windows 7 Taskbar Thumbnail Buttons with WPF 4
WindowsClient:
overflow:hidden -- a fix to a CSS problem
TechNet Edge:
Empowering your teams with SharePoint
TechNet Edge:
TechNet Radio: Expert presents: Creating and Executing a Comprehensive 2007 Office Deployment
ASP.NET:
ViewModel Pattern for Silverlight - Options for Hooking a View to its Model
Channel 9:
Rx API in depth: Concat, Catch and OnErrorResumeNext
Channel 10:
PowerPoint Twitter Tools Updated
Channel 10:
Windows Live Messenger Arrives on Nokia Phones
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online