Hi,
How easy would it be to write a dumb LINQ provider that can just use my class definitions (which don't have any object references as properties) and give me the translated SQL. It can assume the name of the properties and the columns to be same as well as the names of the classes and the underlying tables. Can you please give me som...
Media Browser has a provider model, this is basically a chain of classes that get called in a particular order for each entity.
So for example we have:
providers = new List<IMetadataProvider>();
providers.Add(new ImageFromMediaLocationProvider());
providers.Add(new ImageByNameProvider());
providers.Add...
I create an new text file, rename it to test.udl and double click on the file. This brings up the OLE DB connection string dialog box. The first tab shows a list of providers installed on my machine. I need a MySQL Connection string, but I do not have a MySql provider in the list. So I download MySql ADO.NET Connector from the internet a...
I'm writing a C# .NET module and I would like to use the provider pattern.
If my code is running on a web server, I have access to System.Web.Configuration and can call ProvidersHelper to load an appropriate provider as determined by the web.config data.
If my code is running in a stand-alone environment, I won't have access to this...
I'm writing a custom memberhsip provider based on the source for the SQL provider and I tried first making the SQL Provider a separate project. Yet, the web app wouldn't recognize it unless I put all the source in an APP_Code folder in my web app.
Is this how you implement a custom provider? I thought I could simply reference the provid...
I have no use for the ProviderUserKey in the MembershipUser object, as my roles database has it's own ID's.
If I'm using C#, how do I call the membershipuser constructor so that it creates the user without this key?
What are the implications of not providing this key to the provider? Does the ProviderUserKey become part of the Principa...
I am migrating a MonoRail application to ASP.NET MVC 1.0. In my original application I wrote a custom cache provider (a distributed cache provider using memcached). In MonoRail this task was very easy because the framework used interfaces and there is ICacheProvider that looks like this:
public interface ICacheProvider : IProvider, IMRS...
Hey All,
I am currently designing a Membership/Profile scheme for a new project I am working on and I was hoping to get some input from others.
The project is a ASP.NET web application and due to the short time frame, I am trying to use any and all built in .NET framework components I can. The site will probably entertain < 5000 users...
how do i setup my web.config to use Forms authentication, Set The Membership provider to ActiveDirectoryMembershipProvider and use the built-in login control. so that I can log into my web application using a valid active directory username and password???
...
Apple really has bad documentation about how the provider connects and communicates to their service. I am confused about the protocol. If anyone out there could provide a C# sample of how this is don, it would be greatly appreciated.
...
I'm designing a web app which will be used on an intranet so Windows authentication mode is ideal. However, part of the app would need the ability to get a list of users (to pick users for assignments. Membership.GetAllUsers() doesn't apply (on its own) with windows-authentication. I can't use ActiveDirectoryMembershipProvider because...
I'm currently building a custom ServerSyncProvider
I've already overrided the GetServerInfo, GetSchema and GetChanges methods, but aparently I'm not getting any session parameters on the server side, like @SyncClientIdHash or @SyncLastReceivedAnchor, that should be kept on the client (I haven't done anything alteration to my SqlCeClientS...
How do you construct a DbConnection based on a provider name?
Sample provider names
System.Data.SqlClient
System.Data.OleDb
System.Data.Odbc
FirebirdSql.Data.FirebirdClient
i have connection strings stored in my IIS server's web.config file:
<connectionStrings>
<add name="development"
connectionString="Provider = IBMDA400...
Hey Folks,
I'm trying to utilize CAS to perform SSO on the same domain name. however i can't really understand CAS. does CAS provides user management or i have to implement it myself ? can i integrate ASP.NET membership provider into CAS as the athentication provider ?
Thanks !
...
I want to write javascript to save to a profile provider that is NOT the default provider specified in web.config:
<profile defaultProvider="SqlProfileProvider">
<providers>
<clear />
<add name="SQLiteProfileProvider" applicationName="Gallery Server Pro" connectionStringName="SQLiteDbConnection" type="GalleryServerPro.Data.SQLite.S...
Hello
Just been introduced to the ASP.NET Provider Model as a potential data-access technology. My own idea is to use LINQ repositories, but want to keep an open mind.
Any thoughts?
Thanks
...
I am working with the SQLMemebershipProvider and using Profiles. I have a custom class called UserProfile that inherits from the ProfileBase class and I use this to set custom properties like "FullName". I am wanting to loop through all the users in the database and get access to their profile properties. On each iteration I am calling P...
I can't make myGeneration tool to work correctly.
This is the connection string that I use:
Provider=OraOLEDB.Oracle.1;Password=pass123;User ID=user1;Data Source=oradb1src;Persist Security Info=True
And when I click on Test connection I get:
[System.Data.OleDb.OleDbException] - ORA-12154: TNS:could not resolve service name
[orad...
Hey everyone,
I have several sitemap providers(default, admin, etc) and run into a problem when I am using the admin provider. The root node always shows the home page of the default provider instead of the admin provider. Any ideas why and how this can be fixed?
<siteMap defaultProvider="default" enabled="true">
<providers>
<clear/...
I am facing a problem where I have to integrate with a custom HttpModule where the principal and identity are set on the current thread so that HttpContext.Current.User contains these. However I get the feeling that the eventhandler they used (PostAcquireRequestState) is way too late.
Which is the best event to handle before the initial...